Created
April 30, 2018 15:12
-
-
Save fasaxc/2d49b103f2f7285bd1ac5cf77f055889 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
| $ kubectl get po -o yaml -n kube-system calico-node-c5d6k | |
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| annotations: | |
| scheduler.alpha.kubernetes.io/critical-pod: "" | |
| creationTimestamp: 2018-04-30T15:07:40Z | |
| generateName: calico-node- | |
| labels: | |
| controller-revision-hash: "1035364446" | |
| k8s-app: calico-node | |
| pod-template-generation: "1" | |
| name: calico-node-c5d6k | |
| namespace: kube-system | |
| ownerReferences: | |
| - apiVersion: apps/v1 | |
| blockOwnerDeletion: true | |
| controller: true | |
| kind: DaemonSet | |
| name: calico-node | |
| uid: 36fce3b5-4c88-11e8-9b41-42010a800011 | |
| resourceVersion: "1233" | |
| selfLink: /api/v1/namespaces/kube-system/pods/calico-node-c5d6k | |
| uid: 3a167faf-4c88-11e8-9b41-42010a800011 | |
| spec: | |
| containers: | |
| - env: | |
| - name: DATASTORE_TYPE | |
| value: kubernetes | |
| - name: FELIX_LOGSEVERITYSCREEN | |
| value: info | |
| - name: CLUSTER_TYPE | |
| value: k8s,bgp | |
| - name: CALICO_DISABLE_FILE_LOGGING | |
| value: "true" | |
| - name: FELIX_DEFAULTENDPOINTTOHOSTACTION | |
| value: ACCEPT | |
| - name: FELIX_IPV6SUPPORT | |
| value: "false" | |
| - name: FELIX_IPINIPMTU | |
| value: "1440" | |
| - name: WAIT_FOR_DATASTORE | |
| value: "true" | |
| - name: CALICO_IPV4POOL_CIDR | |
| value: 192.168.0.0/16 | |
| - name: CALICO_IPV4POOL_IPIP | |
| value: Always | |
| - name: FELIX_IPINIPENABLED | |
| value: "true" | |
| - name: FELIX_TYPHAK8SSERVICENAME | |
| valueFrom: | |
| configMapKeyRef: | |
| key: typha_service_name | |
| name: calico-config | |
| - name: NODENAME | |
| valueFrom: | |
| fieldRef: | |
| apiVersion: v1 | |
| fieldPath: spec.nodeName | |
| - name: IP | |
| value: autodetect | |
| - name: FELIX_HEALTHENABLED | |
| value: "true" | |
| image: quay.io/calico/node:v3.1.1 | |
| imagePullPolicy: IfNotPresent | |
| livenessProbe: | |
| failureThreshold: 6 | |
| httpGet: | |
| path: /liveness | |
| port: 9099 | |
| scheme: HTTP | |
| initialDelaySeconds: 10 | |
| periodSeconds: 10 | |
| successThreshold: 1 | |
| timeoutSeconds: 1 | |
| name: calico-node | |
| readinessProbe: | |
| failureThreshold: 3 | |
| httpGet: | |
| path: /readiness | |
| port: 9099 | |
| scheme: HTTP | |
| periodSeconds: 10 | |
| successThreshold: 1 | |
| timeoutSeconds: 1 | |
| resources: | |
| requests: | |
| cpu: 250m | |
| securityContext: | |
| privileged: true | |
| terminationMessagePath: /dev/termination-log | |
| terminationMessagePolicy: File | |
| volumeMounts: | |
| - mountPath: /lib/modules | |
| name: lib-modules | |
| readOnly: true | |
| - mountPath: /var/run/calico | |
| name: var-run-calico | |
| - mountPath: /var/lib/calico | |
| name: var-lib-calico | |
| - mountPath: /var/run/secrets/kubernetes.io/serviceaccount | |
| name: calico-node-token-5n4vp | |
| readOnly: true | |
| - command: | |
| - /install-cni.sh | |
| env: | |
| - name: CNI_CONF_NAME | |
| value: 10-calico.conflist | |
| - name: CNI_NETWORK_CONFIG | |
| valueFrom: | |
| configMapKeyRef: | |
| key: cni_network_config | |
| name: calico-config | |
| - name: KUBERNETES_NODE_NAME | |
| valueFrom: | |
| fieldRef: | |
| apiVersion: v1 | |
| fieldPath: spec.nodeName | |
| image: quay.io/calico/cni:v3.1.1 | |
| imagePullPolicy: IfNotPresent | |
| name: install-cni | |
| resources: {} | |
| terminationMessagePath: /dev/termination-log | |
| terminationMessagePolicy: File | |
| volumeMounts: | |
| - mountPath: /host/opt/cni/bin | |
| name: cni-bin-dir | |
| - mountPath: /host/etc/cni/net.d | |
| name: cni-net-dir | |
| - mountPath: /var/run/secrets/kubernetes.io/serviceaccount | |
| name: calico-node-token-5n4vp | |
| readOnly: true | |
| dnsPolicy: ClusterFirst | |
| hostNetwork: true | |
| nodeName: smc-kubeadm-node-2 | |
| restartPolicy: Always | |
| schedulerName: default-scheduler | |
| securityContext: {} | |
| serviceAccount: calico-node | |
| serviceAccountName: calico-node | |
| terminationGracePeriodSeconds: 0 | |
| tolerations: | |
| - effect: NoSchedule | |
| operator: Exists | |
| - key: CriticalAddonsOnly | |
| operator: Exists | |
| - effect: NoExecute | |
| operator: Exists | |
| - effect: NoExecute | |
| key: node.kubernetes.io/not-ready | |
| operator: Exists | |
| - effect: NoExecute | |
| key: node.kubernetes.io/unreachable | |
| operator: Exists | |
| - effect: NoSchedule | |
| key: node.kubernetes.io/disk-pressure | |
| operator: Exists | |
| - effect: NoSchedule | |
| key: node.kubernetes.io/memory-pressure | |
| operator: Exists | |
| volumes: | |
| - hostPath: | |
| path: /lib/modules | |
| type: "" | |
| name: lib-modules | |
| - hostPath: | |
| path: /var/run/calico | |
| type: "" | |
| name: var-run-calico | |
| - hostPath: | |
| path: /var/lib/calico | |
| type: "" | |
| name: var-lib-calico | |
| - hostPath: | |
| path: /opt/cni/bin | |
| type: "" | |
| name: cni-bin-dir | |
| - hostPath: | |
| path: /etc/cni/net.d | |
| type: "" | |
| name: cni-net-dir | |
| - name: calico-node-token-5n4vp | |
| secret: | |
| defaultMode: 420 | |
| secretName: calico-node-token-5n4vp | |
| status: | |
| conditions: | |
| - lastProbeTime: null | |
| lastTransitionTime: 2018-04-30T15:07:40Z | |
| status: "True" | |
| type: Initialized | |
| - lastProbeTime: null | |
| lastTransitionTime: 2018-04-30T15:08:49Z | |
| status: "True" | |
| type: Ready | |
| - lastProbeTime: null | |
| lastTransitionTime: 2018-04-30T15:07:40Z | |
| status: "True" | |
| type: PodScheduled | |
| containerStatuses: | |
| - containerID: docker://bda4e86b27f21d2edba49ada24d2912fdb817ccac3a133e679e076eb725e0ac9 | |
| image: quay.io/calico/node:v3.1.1 | |
| imageID: docker-pullable://quay.io/calico/node@sha256:19fdccdd4a90c4eb0301b280b50389a56e737e2349828d06c7ab397311638d29 | |
| lastState: {} | |
| name: calico-node | |
| ready: true | |
| restartCount: 0 | |
| state: | |
| running: | |
| startedAt: 2018-04-30T15:07:50Z | |
| - containerID: docker://5664a55713738376e0c2eb1ba0d9dc58afd5fdd138f226343c9c66b07522c271 | |
| image: quay.io/calico/cni:v3.1.1 | |
| imageID: docker-pullable://quay.io/calico/cni@sha256:dc345458d136ad9b4d01864705895e26692d2356de5c96197abff0030bf033eb | |
| lastState: {} | |
| name: install-cni | |
| ready: true | |
| restartCount: 0 | |
| state: | |
| running: | |
| startedAt: 2018-04-30T15:07:55Z | |
| hostIP: 10.128.0.27 | |
| phase: Running | |
| podIP: 10.128.0.27 | |
| qosClass: Burstable | |
| startTime: 2018-04-30T15:07:40Z |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment