k8s/cluster.yaml

17 lines
471 B
YAML

kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
name: kind-node
nodes:
- role: control-plane
kubeadmConfigPatches:
- |
kind: ClusterConfiguration
apiServer:
extraArgs:
enable-admission-plugins: NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook
apiserver-cert-extra-sans=49.232.141.51
- role: worker
- role: worker
networking:
apiServerAddress: "10.0.24.14"
apiServerPort: 6443