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.
Stuff you wanna know:
- Each feature gate is designed for enabling/disabling a specific feature.
- Each Kubernetes component lets you enable or disable a set of feature gates that are relevant to that component.
- You can use the
-h
flag to see a full set of feature gates for all components. - To set feature gates for a component, such as kubelet, use the
--feature-gates
flag assigned to a list of feature pairs. - A feature can be in Alpha, Beta or GA stage.
More stuff:
- Docs – Feature gates
- Feature stages
- Feature gates (Google Kubernetes Engine)
- Understanding feature gates (Red Hat OpenShift)