In Kubernetes , is there a particular way I can check if a specific feature-gate is enabled/disabled. Say, I want to check if MountPropagation feature is enabled in my cluster. How do I do that.
Overview. Feature gates are a set of key=value pairs that describe Kubernetes features. You can turn these features on or off using the --feature-gates command line flag on each Kubernetes component.
You basically need to add the — feature-gate argument to every component of Kubernetes with the list of features you wish to enable. Namely kubelet, kube-apiserver, kube-controller-manager and kube-scheduler.
Feature gates are a set of key-value pairs that describe Kubernetes features. Feature gates in GKE are treated as internal implementation details and cannot be modified. Kubernetes features can be in a stage of General Availability (GA), beta or alpha.
Enabling feature sets using the web console To enable feature sets: In the OpenShift Container Platform web console, switch to the Administration → Custom Resource Definitions page. On the Custom Resource Definitions page, click FeatureGate.
Check official documents for default value, and run ps aux | grep apiserver | grep feature-gates
on master
to check if you turn on/off that feature.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With