-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Seccomp profile in queue-proxy incompatible with gvisor #13471
Comments
@daraghlowe I'm assuming you're dropping the |
I'm sorta inclined to roll this change back. Operators can enforce a |
/triage accepted |
We run the Knative control plane on a non gvisor node pool so we didn't have any issues upgrading. Our Knative services run on a gvisor node pool however so we only saw the problem with the queue-proxy container. |
@dprotaso |
I created a PR to address a) I think b) would be covered by Evan's PR #13398 |
I wonder if we should remove the default profile in our control plane release yamls as well. If someone is running the Knative control plane in gVisor or an earlier OpenShift release it will fail to upgrade. I think the sensible thing is to wait till our k8s min version supports 1.25 to introduce these defaults. I'm assuming that's when they have an effect. Though in the gVisor situation it'll never work so maybe we encourage folks adopt the operator that can toggle this on and off. Or they do their own post processing of our yamls. |
Thanks for the fix @dprotaso |
EDIT: The comment is just same with Dave's #13471 (comment) 😅 I think release yaml should have the consistency. |
Created a new issue |
From: #13512 (comment)
|
@daraghlowe can you clarify what version of GKE you're using? |
@kevinGC We're using 1.24.4-gke.800 at the moment in the project we ran into this issue. |
Looks like knative rolled this back, but anyways per the GKE bug tracker |
Great stuff, thanks @kevinGC |
What version of Knative?
1.8.0
Expected Behavior
Pods should be able to start on GKE nodes running gvisor.
Actual Behavior
Gvisor refuses to allow the pods to start as a seccomp profile has been set, the following error is shown in events which refuses to allow the pod to start:
Seccomp is not supported
#13376 added the config below to queue-proxy containers by default, however gvisor won't allow any profile or even a blank profile to be set.
Maybe this could be configurable in a config map whether it gets added to the queue proxy?
Steps to Reproduce the Problem
Create a Knative service running on node running gvisor on a cluster running Knative 1.8.0.
The text was updated successfully, but these errors were encountered: