Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kata-fc + knative #6

Closed
wilsonianb opened this issue Aug 26, 2019 · 6 comments
Closed

kata-fc + knative #6

wilsonianb opened this issue Aug 26, 2019 · 6 comments

Comments

@wilsonianb
Copy link
Owner

c8s API can configure registered Knative services to use Kata containers, preferably Kata w/ Firecracker

kata-containers/documentation#351

@wilsonianb
Copy link
Owner Author

wilsonianb commented Aug 26, 2019

knative api doesn't let you specify RuntimeClassName (or DNSPolicy or AutomountServiceAccountToken)
https://github.com/knative/serving/blob/d2ea625894c4fc9fba2caeca88792f87e020408b/pkg/apis/serving/fieldmask.go#L151-L177

@wilsonianb
Copy link
Owner Author

wilsonianb commented Aug 27, 2019

firecracker's devicemapper requirement would probably need k3s to use firecracker-containerd, which recently added the support for launching multiple containers in a vm: firecracker-microvm/firecracker-containerd#74

both kata-qemu and kata-nemu appear to work with knative but are expected to have slower start up times.
gvisor would have better start up times, but higher network throughput costs and doesn't have a ready to use daemonset for installing on a k8s cluster.

@wilsonianb
Copy link
Owner Author

@wilsonianb
Copy link
Owner Author

wilsonianb commented Sep 3, 2019

https://asciinema.org/a/219790

Kata configured in CRIO+K8S, utilizing both QEMU and Firecracker

@wilsonianb
Copy link
Owner Author

@wilsonianb
Copy link
Owner Author

Need 1.3.0 to happen here (for k3s)?
https://github.com/rancher/containerd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant