mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
accelerators: remove Accelerators from feature gates
This commit is contained in:
parent
2bf111a619
commit
e864ce38a7
@ -631,9 +631,9 @@ def configure_kubelet(dns, ingress_ip):
|
|||||||
|
|
||||||
if is_state('kubernetes-worker.gpu.enabled'):
|
if is_state('kubernetes-worker.gpu.enabled'):
|
||||||
hookenv.log('Adding '
|
hookenv.log('Adding '
|
||||||
'--feature-gates=Accelerators=true,DevicePlugins=true '
|
'--feature-gates=DevicePlugins=true '
|
||||||
'to kubelet')
|
'to kubelet')
|
||||||
kubelet_opts['feature-gates'] = 'Accelerators=true,DevicePlugins=true'
|
kubelet_opts['feature-gates'] = 'DevicePlugins=true'
|
||||||
|
|
||||||
configure_kubernetes_service('kubelet', kubelet_opts, 'kubelet-extra-args')
|
configure_kubernetes_service('kubelet', kubelet_opts, 'kubelet-extra-args')
|
||||||
|
|
||||||
|
@ -120,10 +120,6 @@ fi
|
|||||||
# Optional: set feature gates
|
# Optional: set feature gates
|
||||||
FEATURE_GATES="${KUBE_FEATURE_GATES:-ExperimentalCriticalPodAnnotation=true}"
|
FEATURE_GATES="${KUBE_FEATURE_GATES:-ExperimentalCriticalPodAnnotation=true}"
|
||||||
|
|
||||||
if [[ ! -z "${NODE_ACCELERATORS}" ]]; then
|
|
||||||
FEATURE_GATES="${FEATURE_GATES},Accelerators=true"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Enable a simple "AdvancedAuditing" setup for testing.
|
# Enable a simple "AdvancedAuditing" setup for testing.
|
||||||
ENABLE_APISERVER_ADVANCED_AUDIT="${ENABLE_APISERVER_ADVANCED_AUDIT:-false}"
|
ENABLE_APISERVER_ADVANCED_AUDIT="${ENABLE_APISERVER_ADVANCED_AUDIT:-false}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user