CoreDNS 自动扩容配置

2019-12-08  本文已影响0人  chenj23986526

修改 ConfigMap 中的 dns-autoscaler

kubectl edit configmap dns-autoscaler --namespace=kube-system

修改key:linear

公式

replicas = max( ceil( cores × 1/coresPerReplica ) , ceil( nodes × 1/nodesPerReplica ) )

上一篇 下一篇

猜你喜欢

热点阅读