Created
November 9, 2017 10:25
-
-
Save jakexks/6d2ebb328b3ca14b35c22c3255f25fea to your computer and use it in GitHub Desktop.
kube-scheduler.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
creationTimestamp: null | |
labels: | |
k8s-app: kube-scheduler | |
name: kube-scheduler | |
namespace: kube-system | |
spec: | |
containers: | |
- command: | |
- /bin/sh | |
- -c | |
- /usr/local/bin/kube-scheduler --leader-elect=true --v=2 --kubeconfig=/srv/kubernetes/configs/kube-scheduler --feature-gates=AllAlpha=true | |
2>&1 | |
image: gcr.io/google_containers/hyperkube:v1.8.2 | |
livenessProbe: | |
httpGet: | |
host: 127.0.0.1 | |
path: /healthz | |
port: 10251 | |
initialDelaySeconds: 15 | |
timeoutSeconds: 15 | |
name: kube-scheduler | |
resources: | |
requests: | |
cpu: 100m | |
volumeMounts: | |
- mountPath: /etc/ssl | |
name: etcssl | |
readOnly: true | |
- mountPath: /srv/kubernetes | |
name: srvkube | |
readOnly: true | |
- mountPath: /usr/share/ca-certificates | |
name: cacerts | |
readOnly: true | |
hostNetwork: true | |
volumes: | |
- hostPath: | |
path: /etc/ssl | |
name: etcssl | |
- hostPath: | |
path: /srv/kubernetes | |
name: srvkube | |
- hostPath: | |
path: /usr/share/ca-certificates | |
name: cacerts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment