Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save developer-guy/072e34006b149e504b4059d568b2a699 to your computer and use it in GitHub Desktop.
Save developer-guy/072e34006b149e504b4059d568b2a699 to your computer and use it in GitHub Desktop.
KinD with enable specific AdmissionControllers and multi-node
apiVersion: kind.sigs.k8s.io/v1alpha3
kind: Cluster
nodes:
- role: control-plane
- role: worker
- role: worker
- role: worker
kubeadmConfigPatches:
- |
apiVersion: kubeadm.k8s.io/v1beta1
kind: ClusterConfiguration
metadata:
name: config
apiServer:
extraArgs:
enable-admission-plugins: "AlwaysPullImages,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment