Created
April 8, 2019 19:50
-
-
Save dreampuf/7dfff34e93526db2e088de1195c7fac5 to your computer and use it in GitHub Desktop.
How to enable admission-pulgins in kubernetes of docker-desktop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install docker and kubernetes first | |
# Helpful link: https://www.docker.com/products/docker-desktop | |
# Then you need to get into the virtual machine by (it may change in the future, but the path should be similar) | |
screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty | |
# Change the line in /etc/kubernetes/manifests/kube-apiserver.yaml | |
# - --enable-admission-plugins=Initializers,NodeRestriction | |
# to | |
# - --enable-admission-plugins=Initializers,NodeRestriction,ValidatingAdmissionWebhook,MutatingAdmissionWebhook | |
# Restart kubernetes by restart everything and enjoy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment