Merge pull request #31419 from ingvagabund/multiple-schedulers-fix-secure-port

Configure multiple schedulers: switch to the secure ports
pull/31591/head
Kubernetes Prow Robot 2022-02-01 08:40:10 -08:00 committed by GitHub
commit 5313a873f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,6 @@ roleRef:
name: system:volume-scheduler name: system:volume-scheduler
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
--- ---
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
@ -44,7 +43,6 @@ data:
- schedulerName: my-scheduler - schedulerName: my-scheduler
leaderElection: leaderElection:
leaderElect: false leaderElect: false
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
@ -76,13 +74,15 @@ spec:
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /healthz path: /healthz
port: 10251 port: 10259
scheme: HTTPS
initialDelaySeconds: 15 initialDelaySeconds: 15
name: kube-second-scheduler name: kube-second-scheduler
readinessProbe: readinessProbe:
httpGet: httpGet:
path: /healthz path: /healthz
port: 10251 port: 10259
scheme: HTTPS
resources: resources:
requests: requests:
cpu: '0.1' cpu: '0.1'