fix:kube-scheduler healthz/metrics listening setting

pull/1006/head
gjmzj 2021-04-08 20:10:56 +08:00
parent 1b07f1b26e
commit 421dd0b3b3
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ apiVersion: kubescheduler.config.k8s.io/v1beta1
kind: KubeSchedulerConfiguration kind: KubeSchedulerConfiguration
clientConnection: clientConnection:
kubeconfig: "/etc/kubernetes/kube-scheduler.kubeconfig" kubeconfig: "/etc/kubernetes/kube-scheduler.kubeconfig"
healthzBindAddress: {{ inventory_hostname }}:10251 healthzBindAddress: 0.0.0.0:10251
leaderElection: leaderElection:
leaderElect: true leaderElect: true
metricsBindAddress: {{ inventory_hostname }}:10251 metricsBindAddress: 0.0.0.0:10251