k8s/cluster.yaml

17 lines
471 B
YAML
Raw Permalink Normal View History

2024-09-30 16:57:42 +08:00
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