Created
July 20, 2017 16:26
-
-
Save ericchiang/3c67a2b9ebce6c3153a30b352361d9f5 to your computer and use it in GitHub Desktop.
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: | |
annotations: | |
scheduler.alpha.kubernetes.io/critical-pod: "" | |
creationTimestamp: null | |
labels: | |
component: etcd | |
tier: control-plane | |
name: etcd | |
namespace: kube-system | |
spec: | |
containers: | |
- command: | |
- etcd | |
- --listen-client-urls=http://127.0.0.1:2379 | |
- --advertise-client-urls=http://127.0.0.1:2379 | |
- --data-dir=/var/lib/etcd | |
image: gcr.io/google_containers/etcd-amd64:3.0.17 | |
livenessProbe: | |
failureThreshold: 8 | |
httpGet: | |
host: 127.0.0.1 | |
path: /health | |
port: 2379 | |
scheme: HTTP | |
initialDelaySeconds: 15 | |
timeoutSeconds: 15 | |
name: etcd | |
resources: {} | |
volumeMounts: | |
- mountPath: /etc/ssl/certs | |
name: certs | |
- mountPath: /var/lib/etcd | |
name: etcd | |
- mountPath: /etc/kubernetes | |
name: k8s | |
readOnly: true | |
hostNetwork: true | |
securityContext: | |
seLinuxOptions: | |
type: spc_t | |
volumes: | |
- hostPath: | |
path: /etc/ssl/certs | |
name: certs | |
- hostPath: | |
path: /var/lib/etcd | |
name: etcd | |
- hostPath: | |
path: /etc/kubernetes | |
name: k8s | |
status: {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment