Created
November 4, 2020 16:27
-
-
Save csrwng/5bcceaa9eb7a23955c6bf9622358c729 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
| kind: Pod | |
| apiVersion: v1 | |
| metadata: | |
| annotations: | |
| etcd.version: 3.2.13 | |
| k8s.v1.cni.cncf.io/network-status: |- | |
| [{ | |
| "name": "openshift-sdn", | |
| "interface": "eth0", | |
| "ips": [ | |
| "10.131.0.24" | |
| ], | |
| "default": true, | |
| "dns": {} | |
| }] | |
| k8s.v1.cni.cncf.io/networks-status: |- | |
| [{ | |
| "name": "openshift-sdn", | |
| "interface": "eth0", | |
| "ips": [ | |
| "10.131.0.24" | |
| ], | |
| "default": true, | |
| "dns": {} | |
| }] | |
| openshift.io/scc: restricted | |
| selfLink: /api/v1/namespaces/hi02/pods/etcd-c6q65ft5bw | |
| resourceVersion: '12365538' | |
| name: etcd-c6q65ft5bw | |
| uid: 1341dc31-2900-47b1-a54c-7941ad44e2f9 | |
| creationTimestamp: '2020-11-04T16:21:28Z' | |
| managedFields: | |
| - manager: etcd-operator | |
| operation: Update | |
| apiVersion: v1 | |
| time: '2020-11-04T16:21:28Z' | |
| fieldsType: FieldsV1 | |
| fieldsV1: | |
| 'f:metadata': | |
| 'f:annotations': | |
| .: {} | |
| 'f:etcd.version': {} | |
| 'f:labels': | |
| .: {} | |
| 'f:app': {} | |
| 'f:etcd_cluster': {} | |
| 'f:etcd_node': {} | |
| 'f:ownerReferences': | |
| .: {} | |
| 'k:{"uid":"924e3abc-ef3b-4bfb-9e0b-79015ce03508"}': | |
| .: {} | |
| 'f:apiVersion': {} | |
| 'f:controller': {} | |
| 'f:kind': {} | |
| 'f:name': {} | |
| 'f:uid': {} | |
| 'f:spec': | |
| 'f:volumes': | |
| .: {} | |
| 'k:{"name":"etcd-client-tls"}': | |
| .: {} | |
| 'f:name': {} | |
| 'f:secret': | |
| .: {} | |
| 'f:defaultMode': {} | |
| 'f:secretName': {} | |
| 'k:{"name":"etcd-data"}': | |
| .: {} | |
| 'f:emptyDir': {} | |
| 'f:name': {} | |
| 'k:{"name":"member-peer-tls"}': | |
| .: {} | |
| 'f:name': {} | |
| 'f:secret': | |
| .: {} | |
| 'f:defaultMode': {} | |
| 'f:secretName': {} | |
| 'k:{"name":"member-server-tls"}': | |
| .: {} | |
| 'f:name': {} | |
| 'f:secret': | |
| .: {} | |
| 'f:defaultMode': {} | |
| 'f:secretName': {} | |
| 'f:containers': | |
| 'k:{"name":"etcd"}': | |
| 'f:image': {} | |
| 'f:volumeMounts': | |
| .: {} | |
| 'k:{"mountPath":"/etc/etcdtls/member/peer-tls"}': | |
| .: {} | |
| 'f:mountPath': {} | |
| 'f:name': {} | |
| 'k:{"mountPath":"/etc/etcdtls/member/server-tls"}': | |
| .: {} | |
| 'f:mountPath': {} | |
| 'f:name': {} | |
| 'k:{"mountPath":"/etc/etcdtls/operator/etcd-tls"}': | |
| .: {} | |
| 'f:mountPath': {} | |
| 'f:name': {} | |
| 'k:{"mountPath":"/var/etcd"}': | |
| .: {} | |
| 'f:mountPath': {} | |
| 'f:name': {} | |
| 'f:terminationMessagePolicy': {} | |
| .: {} | |
| 'f:resources': {} | |
| 'f:command': {} | |
| 'f:livenessProbe': | |
| .: {} | |
| 'f:exec': | |
| .: {} | |
| 'f:command': {} | |
| 'f:failureThreshold': {} | |
| 'f:initialDelaySeconds': {} | |
| 'f:periodSeconds': {} | |
| 'f:successThreshold': {} | |
| 'f:timeoutSeconds': {} | |
| 'f:readinessProbe': | |
| .: {} | |
| 'f:exec': | |
| .: {} | |
| 'f:command': {} | |
| 'f:failureThreshold': {} | |
| 'f:initialDelaySeconds': {} | |
| 'f:periodSeconds': {} | |
| 'f:successThreshold': {} | |
| 'f:timeoutSeconds': {} | |
| 'f:terminationMessagePath': {} | |
| 'f:imagePullPolicy': {} | |
| 'f:ports': | |
| .: {} | |
| 'k:{"containerPort":2379,"protocol":"TCP"}': | |
| .: {} | |
| 'f:containerPort': {} | |
| 'f:name': {} | |
| 'f:protocol': {} | |
| 'k:{"containerPort":2380,"protocol":"TCP"}': | |
| .: {} | |
| 'f:containerPort': {} | |
| 'f:name': {} | |
| 'f:protocol': {} | |
| 'f:name': {} | |
| 'f:hostname': {} | |
| 'f:dnsPolicy': {} | |
| 'f:automountServiceAccountToken': {} | |
| 'f:restartPolicy': {} | |
| 'f:subdomain': {} | |
| 'f:schedulerName': {} | |
| 'f:terminationGracePeriodSeconds': {} | |
| 'f:initContainers': | |
| .: {} | |
| 'k:{"name":"check-dns"}': | |
| .: {} | |
| 'f:command': {} | |
| 'f:image': {} | |
| 'f:imagePullPolicy': {} | |
| 'f:name': {} | |
| 'f:resources': {} | |
| 'f:terminationMessagePath': {} | |
| 'f:terminationMessagePolicy': {} | |
| 'f:enableServiceLinks': {} | |
| 'f:securityContext': {} | |
| - manager: multus | |
| operation: Update | |
| apiVersion: v1 | |
| time: '2020-11-04T16:21:30Z' | |
| fieldsType: FieldsV1 | |
| fieldsV1: | |
| 'f:metadata': | |
| 'f:annotations': | |
| 'f:k8s.v1.cni.cncf.io/network-status': {} | |
| 'f:k8s.v1.cni.cncf.io/networks-status': {} | |
| - manager: kubelet | |
| operation: Update | |
| apiVersion: v1 | |
| time: '2020-11-04T16:21:34Z' | |
| fieldsType: FieldsV1 | |
| fieldsV1: | |
| 'f:status': | |
| 'f:conditions': | |
| 'k:{"type":"ContainersReady"}': | |
| .: {} | |
| 'f:lastProbeTime': {} | |
| 'f:lastTransitionTime': {} | |
| 'f:status': {} | |
| 'f:type': {} | |
| 'k:{"type":"Initialized"}': | |
| .: {} | |
| 'f:lastProbeTime': {} | |
| 'f:lastTransitionTime': {} | |
| 'f:status': {} | |
| 'f:type': {} | |
| 'k:{"type":"Ready"}': | |
| .: {} | |
| 'f:lastProbeTime': {} | |
| 'f:lastTransitionTime': {} | |
| 'f:status': {} | |
| 'f:type': {} | |
| 'f:containerStatuses': {} | |
| 'f:hostIP': {} | |
| 'f:initContainerStatuses': {} | |
| 'f:phase': {} | |
| 'f:podIP': {} | |
| 'f:podIPs': | |
| .: {} | |
| 'k:{"ip":"10.131.0.24"}': | |
| .: {} | |
| 'f:ip': {} | |
| 'f:startTime': {} | |
| namespace: hi02 | |
| ownerReferences: | |
| - apiVersion: etcd.database.coreos.com/v1beta2 | |
| kind: EtcdCluster | |
| name: etcd | |
| uid: 924e3abc-ef3b-4bfb-9e0b-79015ce03508 | |
| controller: true | |
| labels: | |
| app: etcd | |
| etcd_cluster: etcd | |
| etcd_node: etcd-c6q65ft5bw | |
| spec: | |
| restartPolicy: Never | |
| initContainers: | |
| - name: check-dns | |
| image: 'busybox:1.28.0-glibc' | |
| command: | |
| - /bin/sh | |
| - '-c' | |
| - "\n\t\t\t\t\tTIMEOUT_READY=0\n\t\t\t\t\twhile ( ! nslookup etcd-c6q65ft5bw.etcd.hi02.svc )\n\t\t\t\t\tdo\n\t\t\t\t\t\t# If TIMEOUT_READY is 0 we should never time out and exit \n\t\t\t\t\t\tTIMEOUT_READY=$(( TIMEOUT_READY-1 ))\n if [ $TIMEOUT_READY -eq 0 ];\n\t\t\t\t then\n\t\t\t\t echo \"Timed out waiting for DNS entry\"\n\t\t\t\t exit 1\n\t\t\t\t fi\n\t\t\t\t\t\tsleep 1\n\t\t\t\t\tdone" | |
| resources: {} | |
| terminationMessagePath: /dev/termination-log | |
| terminationMessagePolicy: File | |
| imagePullPolicy: IfNotPresent | |
| securityContext: | |
| capabilities: | |
| drop: | |
| - KILL | |
| - MKNOD | |
| - SETGID | |
| - SETUID | |
| runAsUser: 1000570000 | |
| serviceAccountName: default | |
| imagePullSecrets: | |
| - name: pull-secret | |
| - name: default-dockercfg-wtwth | |
| priority: 0 | |
| subdomain: etcd | |
| schedulerName: default-scheduler | |
| enableServiceLinks: true | |
| terminationGracePeriodSeconds: 30 | |
| nodeName: ip-10-0-163-178.ec2.internal | |
| securityContext: | |
| seLinuxOptions: | |
| level: 's0:c24,c9' | |
| fsGroup: 1000570000 | |
| containers: | |
| - resources: {} | |
| readinessProbe: | |
| exec: | |
| command: | |
| - /bin/sh | |
| - '-ec' | |
| - >- | |
| ETCDCTL_API=3 etcdctl --endpoints=https://localhost:2379 | |
| --cert=/etc/etcdtls/operator/etcd-tls/etcd-client.crt | |
| --key=/etc/etcdtls/operator/etcd-tls/etcd-client.key | |
| --cacert=/etc/etcdtls/operator/etcd-tls/etcd-client-ca.crt | |
| endpoint status | |
| initialDelaySeconds: 1 | |
| timeoutSeconds: 5 | |
| periodSeconds: 5 | |
| successThreshold: 1 | |
| failureThreshold: 3 | |
| terminationMessagePath: /dev/termination-log | |
| name: etcd | |
| command: | |
| - /usr/local/bin/etcd | |
| - '--data-dir=/var/etcd/data' | |
| - '--name=etcd-c6q65ft5bw' | |
| - >- | |
| --initial-advertise-peer-urls=https://etcd-c6q65ft5bw.etcd.hi02.svc:2380 | |
| - '--listen-peer-urls=https://0.0.0.0:2380' | |
| - '--listen-client-urls=https://0.0.0.0:2379' | |
| - '--advertise-client-urls=https://etcd-c6q65ft5bw.etcd.hi02.svc:2379' | |
| - >- | |
| --initial-cluster=etcd-c6q65ft5bw=https://etcd-c6q65ft5bw.etcd.hi02.svc:2380 | |
| - '--initial-cluster-state=new' | |
| - '--peer-client-cert-auth=true' | |
| - '--peer-trusted-ca-file=/etc/etcdtls/member/peer-tls/peer-ca.crt' | |
| - '--peer-cert-file=/etc/etcdtls/member/peer-tls/peer.crt' | |
| - '--peer-key-file=/etc/etcdtls/member/peer-tls/peer.key' | |
| - '--client-cert-auth=true' | |
| - '--trusted-ca-file=/etc/etcdtls/member/server-tls/server-ca.crt' | |
| - '--cert-file=/etc/etcdtls/member/server-tls/server.crt' | |
| - '--key-file=/etc/etcdtls/member/server-tls/server.key' | |
| - '--initial-cluster-token=ea854090-7989-4a72-a314-9c0842ed4cbf' | |
| livenessProbe: | |
| exec: | |
| command: | |
| - /bin/sh | |
| - '-ec' | |
| - >- | |
| ETCDCTL_API=3 etcdctl --endpoints=https://localhost:2379 | |
| --cert=/etc/etcdtls/operator/etcd-tls/etcd-client.crt | |
| --key=/etc/etcdtls/operator/etcd-tls/etcd-client.key | |
| --cacert=/etc/etcdtls/operator/etcd-tls/etcd-client-ca.crt | |
| endpoint status | |
| initialDelaySeconds: 10 | |
| timeoutSeconds: 10 | |
| periodSeconds: 60 | |
| successThreshold: 1 | |
| failureThreshold: 3 | |
| securityContext: | |
| capabilities: | |
| drop: | |
| - KILL | |
| - MKNOD | |
| - SETGID | |
| - SETUID | |
| runAsUser: 1000570000 | |
| ports: | |
| - name: server | |
| containerPort: 2380 | |
| protocol: TCP | |
| - name: client | |
| containerPort: 2379 | |
| protocol: TCP | |
| imagePullPolicy: IfNotPresent | |
| volumeMounts: | |
| - name: etcd-data | |
| mountPath: /var/etcd | |
| - name: member-peer-tls | |
| mountPath: /etc/etcdtls/member/peer-tls | |
| - name: member-server-tls | |
| mountPath: /etc/etcdtls/member/server-tls | |
| - name: etcd-client-tls | |
| mountPath: /etc/etcdtls/operator/etcd-tls | |
| terminationMessagePolicy: File | |
| image: 'quay.io/coreos/etcd:v3.2.13' | |
| hostname: etcd-c6q65ft5bw | |
| automountServiceAccountToken: false | |
| serviceAccount: default | |
| volumes: | |
| - name: member-peer-tls | |
| secret: | |
| secretName: etcd-peer-tls | |
| defaultMode: 420 | |
| - name: member-server-tls | |
| secret: | |
| secretName: etcd-server-tls | |
| defaultMode: 420 | |
| - name: etcd-client-tls | |
| secret: | |
| secretName: etcd-client-tls | |
| defaultMode: 420 | |
| - name: etcd-data | |
| emptyDir: {} | |
| dnsPolicy: ClusterFirst | |
| tolerations: | |
| - key: node.kubernetes.io/not-ready | |
| operator: Exists | |
| effect: NoExecute | |
| tolerationSeconds: 300 | |
| - key: node.kubernetes.io/unreachable | |
| operator: Exists | |
| effect: NoExecute | |
| tolerationSeconds: 300 | |
| status: | |
| containerStatuses: | |
| - restartCount: 0 | |
| started: true | |
| ready: true | |
| name: etcd | |
| state: | |
| running: | |
| startedAt: '2020-11-04T16:21:33Z' | |
| imageID: >- | |
| quay.io/coreos/etcd@sha256:e372648462335719b21c5410d5a064a470953a73d59b587611a75f6dfe0d6fba | |
| image: 'quay.io/coreos/etcd:v3.2.13' | |
| lastState: {} | |
| containerID: 'cri-o://89c51b7a063007dbaf50e9fa1e84282b27709ef178fbe2d5a9f7ec30ffeb3c43' | |
| qosClass: BestEffort | |
| podIPs: | |
| - ip: 10.131.0.24 | |
| podIP: 10.131.0.24 | |
| hostIP: 10.0.163.178 | |
| startTime: '2020-11-04T16:21:28Z' | |
| initContainerStatuses: | |
| - name: check-dns | |
| state: | |
| terminated: | |
| exitCode: 0 | |
| reason: Completed | |
| startedAt: '2020-11-04T16:21:30Z' | |
| finishedAt: '2020-11-04T16:21:32Z' | |
| containerID: >- | |
| cri-o://d7c5e70c58e1e96d0654a0793ad0681172d63549d98074b218c93d53044c24d5 | |
| lastState: {} | |
| ready: true | |
| restartCount: 0 | |
| image: 'docker.io/library/busybox:1.28.0-glibc' | |
| imageID: >- | |
| docker.io/library/busybox@sha256:0b55a30394294ab23b9afd58fab94e61a923f5834fba7ddbae7f8e0c11ba85e6 | |
| containerID: 'cri-o://d7c5e70c58e1e96d0654a0793ad0681172d63549d98074b218c93d53044c24d5' | |
| conditions: | |
| - type: Initialized | |
| status: 'True' | |
| lastProbeTime: null | |
| lastTransitionTime: '2020-11-04T16:21:32Z' | |
| - type: Ready | |
| status: 'True' | |
| lastProbeTime: null | |
| lastTransitionTime: '2020-11-04T16:21:34Z' | |
| - type: ContainersReady | |
| status: 'True' | |
| lastProbeTime: null | |
| lastTransitionTime: '2020-11-04T16:21:34Z' | |
| - type: PodScheduled | |
| status: 'True' | |
| lastProbeTime: null | |
| lastTransitionTime: '2020-11-04T16:21:28Z' | |
| phase: Running |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment