45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
kind: Cluster
|
|
apiVersion: kind.x-k8s.io/v1alpha4
|
|
name: sso-kustom-example
|
|
nodes:
|
|
- role: control-plane
|
|
image: kindest/node:v1.27.2
|
|
kubeadmConfigPatches:
|
|
- |
|
|
kind: InitConfiguration
|
|
nodeRegistration:
|
|
kubeletExtraArgs:
|
|
node-labels: "ingress-ready=true"
|
|
extraPortMappings:
|
|
- containerPort: 80
|
|
hostPort: 80
|
|
listenAddress: "0.0.0.0" # Optional, defaults to "0.0.0.0"
|
|
- containerPort: 443
|
|
hostPort: 443
|
|
listenAddress: "0.0.0.0" # Optional, defaults to "0.0.0.0"
|
|
labels:
|
|
ingress-ready: true
|
|
- role: worker
|
|
image: kindest/node:v1.27.2
|
|
kubeadmConfigPatches:
|
|
- |
|
|
kind: JoinConfiguration
|
|
nodeRegistration:
|
|
kubeletExtraArgs:
|
|
system-reserved: memory=2Gi
|
|
- role: worker
|
|
image: kindest/node:v1.27.2
|
|
kubeadmConfigPatches:
|
|
- |
|
|
kind: JoinConfiguration
|
|
nodeRegistration:
|
|
kubeletExtraArgs:
|
|
system-reserved: memory=2Gi
|
|
- role: worker
|
|
image: kindest/node:v1.27.2
|
|
kubeadmConfigPatches:
|
|
- |
|
|
kind: JoinConfiguration
|
|
nodeRegistration:
|
|
kubeletExtraArgs:
|
|
system-reserved: memory=2Gi |