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