Skip to content

Instantly share code, notes, and snippets.

@jakexks
Created November 9, 2017 10:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jakexks/6d2ebb328b3ca14b35c22c3255f25fea to your computer and use it in GitHub Desktop.
Save jakexks/6d2ebb328b3ca14b35c22c3255f25fea to your computer and use it in GitHub Desktop.
kube-scheduler.yaml
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