kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch19/kind/kiamol-ch19-config.yaml

11 lines
278 B
YAML

kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
kubeadmConfigPatches:
- |
kind: InitConfiguration
nodeRegistration:
kubeletExtraArgs:
eviction-hard: "memory.available<40%"
eviction-pressure-transition-period: "30s"