Check the feature is enabled /disabled in kubernetes

5/21/2018

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.

-- ambikanair
daemon
kubernetes
mount
volume

2 Answers

5/21/2018

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.

-- ccshih
Source: StackOverflow

5/21/2018

Kubernetes Mount propagation allows sharing volumes mounted by a Container with other Containers in the same Pod, or even with other Pods on the same node.

The Kubernetes API does not provide information about feature gates enabled by the command line. It is hard to get these parameters - the only way is to grep list of the executed process (ps aux) or dig in the /proc filesystem.

-- d0bry
Source: StackOverflow