Comments (11)
You probably want https://knative.dev/docs/serving/configuration/feature-flags/#kubernetes-node-selector?
from serving.
hi @ReToCode , thx a lot. I was actually refering to this url. Is there anything else I have to do?
from serving.
No that should work. Are you sure you set kubernetes.podspec-nodeselector
at the correct place (not in the _example section)?
from serving.
I didnot know I should edit Config Map before. Pretty stupid. Let me try and I willclose the issue. Thanks a lot!
# Indicates whether Kubernetes nodeSelector support is enabled
#
# WARNING: Cannot safely be disabled once enabled.
# See: https://knative.dev/docs/serving/feature-flags/#kubernetes-node-selector
kubernetes.podspec-nodeselector: "disabled"
from serving.
I failed to edit this.
beatles@kmaster:~$ sudo kubectl edit configmap config-features -n knative-serving
error: configmaps "config-features" could not be patched: admission webhook "config.webhook.serving.knative.dev" denied the request: validation failed: the update modifies a key in "_example" which is probably not what you want. Instead, copy the respective setting to the top-level of the ConfigMap, directly below "data"
You can run `kubectl replace -f /tmp/kubectl-edit-3003085152.yaml` to try this update again.
from serving.
I failed to edit this.
No that should work. Are you sure you set kubernetes.podspec-nodeselector at the correct place (not in the _example section)?
oh! I didn't notice it before!
from serving.
kubernetes.podspec-nodeselector: enabled
kind: ConfigMap
metadata:
annotations:
knative.dev/example-checksum: f2fc138e
kubectl.kubernetes.io/last-applied-configuration: |
yes I should put it in the right place and beatles@kmaster:~$ sudo kubectl edit configmap config-features -n knative-serving configmap/config-features edited
from serving.
Yes. It totally worked now. I am so excited! Thanks!
from serving.
@ReToCode Was this changed recently? I have a cluster in which I installed knative a few months back and in its config-map config-features
, I have this set-
kubernetes.podspec-nodeselector: enabled
kubernetes.podspec-volumes-emptydir: enabled
However, when I installed knative today in a new cluster (same knative version), the config-map does not have those fields.
from serving.
@shauryagoel someone must have edited the config map by default we don't set anything
from serving.
That seems improbable to me, but, I use kserve (which uses knative), and maybe that is modifying some things. I will check there.
from serving.
Related Issues (20)
- knative-serving v1.10.6 webhook pods failing due to "server key missing" missing error HOT 3
- Clean up certmanager conformance tests HOT 1
- Istio periodic tests are failing HOT 8
- Serving https tests are flaky HOT 1
- Only one pod will be created when send multiple requests
- Istio prow job is running with a wrong flag (mesh vs. no-mesh) HOT 1
- TestTLSCertificateRotation is flakey HOT 13
- The Condition of SKS with type name "ActivatorEndpointsPopulated" is not marked accurate, ignoring the scenario of no activator endpoints HOT 2
- [flaky] test/e2e/systeminternaltls.TestTLSCertificateRotation HOT 2
- [flaky] kubetest2.Up HOT 2
- [flaky] test/conformance/api/v1.TestProjectedSecretVolume HOT 2
- Unable to fetch image "ghcr.io/knative/helloworld-go:latest" HOT 7
- Multiple Domains with Wildcard Certs HOT 4
- Pass env variable into queue-proxy container HOT 2
- revision_request_latencies_bucket duration time of queue-proxy HOT 1
- Allow specifying different issuers for different Services
- Properly Handle Pods with schedulingGates HOT 7
- How to add initial delay for Activator Probing time HOT 6
- Support for Resource Claims and DRA HOT 1
- Revision get active before replicas are ready
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serving.