-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
nodeSelector: validation failed: must not set the field(s): spec.template.spec.nodeSelector #15190
Comments
hi @ReToCode , thx a lot. I was actually refering to this url. Is there anything else I have to do? |
No that should work. Are you sure you set |
I didnot know I should edit Config Map before. Pretty stupid. Let me try and I willclose the issue. Thanks a lot!
|
I failed to edit this.
|
oh! I didn't notice it before! |
yes I should put it in the right place and |
Yes. It totally worked now. I am so excited! Thanks! |
@ReToCode Was this changed recently? I have a cluster in which I installed knative a few months back and in its config-map
However, when I installed knative today in a new cluster (same knative version), the config-map does not have those fields. |
@shauryagoel someone must have edited the config map by default we don't set anything |
That seems improbable to me, but, I use kserve (which uses knative), and maybe that is modifying some things. I will check there. |
hi, I really need you guys help. I need to use nodeSelector to place my service on specific node following https://knative.dev/docs/serving/configuration/feature-flags/#kubernetes-host-aliases. But it failed with following error messages.
My yaml file
The text was updated successfully, but these errors were encountered: