k8s资源预留
https://kubernetes.io/zh-cn/docs/tasks/administer-cluster/reserve-compute-resources/
vim /var/lib/kubelet/config.yaml
enforceNodeAllocatable:
- pods
kubeReserved: # 配置 kube 资源预留cpu: 500mmemory: 1Giephemeral-storage: 1Gi
systemReserved: # 配置系统资源预留memory: 1Gi
evictionHard: # 配置硬驱逐阈值memory.available: "300Mi"nodefs.available: "10%"