标签:mamicode kong select Once ati monit mic moni inf
1、给node打上label
kubectl label nodes cn-hongkong.i-j6c5pm0b59y9kaos565o apptype=monitoring
2、查看结果
kubectl get nodes --show-labels
3、应用配置该标签
nodeSelector: apptype: monitoring
参考:https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
标签:mamicode kong select Once ati monit mic moni inf
原文地址:https://www.cnblogs.com/Dev0ps/p/11314421.html