Created
July 23, 2018 16:53
-
-
Save ravisantoshgudimetla/abb9c2d869aa54141c1b1a0a8e782859 to your computer and use it in GitHub Desktop.
Static pod description of kube-scheduler after broken from controller.
This file contains 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: | |
annotations: | |
scheduler.alpha.kubernetes.io/critical-pod: '' | |
labels: | |
openshift.io/component: scheduler | |
openshift.io/control-plane: 'true' | |
name: master-scheduler | |
namespace: kube-system | |
spec: | |
containers: | |
- args: | |
- "#!/bin/bash\nset -euo pipefail\nif [[ -f /etc/origin/master/master.env ]];\ | |
\ then\n set -o allexport\n source /etc/origin/master/master.env\nfi\nexec\ | |
\ openshift start master scheduler --config=/etc/origin/master/master-config.yaml\ | |
\ --loglevel=${DEBUG_LOGLEVEL:-10}\n" | |
command: | |
- /bin/bash | |
- -c | |
image: docker.io/ravig/origin-control-plane:latest | |
name: scheduler | |
securityContext: | |
privileged: true | |
volumeMounts: | |
- mountPath: /etc/origin/master/ | |
name: master-config | |
- mountPath: /etc/origin/cloudprovider/ | |
name: master-cloud-provider | |
- mountPath: /etc/containers/registries.d/ | |
name: signature-import | |
hostNetwork: true | |
restartPolicy: Always | |
volumes: | |
- hostPath: | |
path: /etc/origin/master/ | |
name: master-config | |
- hostPath: | |
path: /etc/origin/cloudprovider | |
name: master-cloud-provider | |
- hostPath: | |
path: /etc/containers/registries.d | |
name: signature-import |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment