Open linzhengen opened 3 years ago
https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-autoscaler
Command: /cluster-proportional-autoscaler --namespace=kube-system --configmap=kube-dns-autoscaler --target=Deployment/kube-dns --default-params={"linear":{"coresPerReplica":256,"nodesPerReplica":16,"preventSinglePointFailure":true,"includeUnschedulableNodes":true}} --logtostderr=true --v=2
coresPerReplicaとnodesPerReplicaはチューニングが必要なのかな、チューニングする際に、直接kubectl editを使うのか。。。
https://kubernetes.io/docs/tasks/administer-cluster/dns-horizontal-autoscaling/#tuning-autoscaling-parameters
replicas = max( ceil( cores × 1/coresPerReplica ) , ceil( nodes × 1/nodesPerReplica ) )
Doc
https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-autoscaler
kube-dns-autoscalerのCommand
coresPerReplicaとnodesPerReplicaはチューニングが必要なのかな、チューニングする際に、直接kubectl editを使うのか。。。
計算式
https://kubernetes.io/docs/tasks/administer-cluster/dns-horizontal-autoscaling/#tuning-autoscaling-parameters
kube-dnsに4つコンテナが入っている、EKSのcore-dnsと違う