kind: Pod apiVersion: v1 metadata: name: master-controllers namespace: kube-system labels: openshift.io/control-plane: "true" openshift.io/component: controllers annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: restartPolicy: Always hostNetwork: true containers: - name: controllers image: docker.io/openshift/origin:v3.11.0 command: ["/bin/bash", "-c"] args: - | #!/bin/bash set -euo pipefail if [[ -f /etc/origin/master/master.env ]]; then set -o allexport source /etc/origin/master/master.env fi exec openshift start master controllers --config=/etc/origin/master/master-config.yaml --listen=https://0.0.0.0:8444 --loglevel=${DEBUG_LOGLEVEL:-2} 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 livenessProbe: httpGet: scheme: HTTPS port: 8444 path: healthz # second controllers container would be started here # scheduler container started here volumes: - name: master-config hostPath: path: /etc/origin/master/ - name: master-cloud-provider hostPath: path: /etc/origin/cloudprovider - hostPath: path: /etc/containers/registries.d name: signature-import