Reputation: 12110
How can I check which admission controllers are enabled by default on the cluster using some command like kubectl.
Upvotes: 1
Views: 1476
Reputation: 81
You can try using the following command Kubectl cluster-info dump | grep -i admission
Upvotes: 3
Reputation: 18403
There is no subcommand to list the enable admission controller with kubectl.
Nevertheless, you can get this information from kube-apiserver admission controller enabled-by-default
kube-apiserver -h | grep enable-admission-plugins
for k8s 1.16
Upvotes: 1