Created
September 24, 2020 09:00
-
-
Save arthurzenika/2c675f3c0d2b1ab012f5db9ef588d64f to your computer and use it in GitHub Desktop.
kubectl get pod/certinfo-647757965d-nm4df -n openfaas-fn -o yaml
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: | |
| kubernetes.io/limit-ranger: 'LimitRanger plugin set: cpu, memory request for container | |
| certinfo; cpu, memory limit for container certinfo' | |
| prometheus.io.scrape: "false" | |
| creationTimestamp: "2020-09-24T08:56:34Z" | |
| generateName: certinfo-647757965d- | |
| labels: | |
| faas_function: certinfo | |
| pod-template-hash: 647757965d | |
| managedFields: | |
| - apiVersion: v1 | |
| fieldsType: FieldsV1 | |
| fieldsV1: | |
| f:metadata: | |
| f:annotations: | |
| .: {} | |
| f:prometheus.io.scrape: {} | |
| f:generateName: {} | |
| f:labels: | |
| .: {} | |
| f:faas_function: {} | |
| f:pod-template-hash: {} | |
| f:ownerReferences: | |
| .: {} | |
| k:{"uid":"4db095b5-4968-4c18-ae9d-87b4473a8962"}: | |
| .: {} | |
| f:apiVersion: {} | |
| f:blockOwnerDeletion: {} | |
| f:controller: {} | |
| f:kind: {} | |
| f:name: {} | |
| f:uid: {} | |
| f:spec: | |
| f:containers: | |
| k:{"name":"certinfo"}: | |
| .: {} | |
| f:image: {} | |
| f:imagePullPolicy: {} | |
| f:livenessProbe: | |
| .: {} | |
| f:failureThreshold: {} | |
| f:httpGet: | |
| .: {} | |
| f:path: {} | |
| f:port: {} | |
| f:scheme: {} | |
| f:initialDelaySeconds: {} | |
| f:periodSeconds: {} | |
| f:successThreshold: {} | |
| f:timeoutSeconds: {} | |
| f:name: {} | |
| f:ports: | |
| .: {} | |
| k:{"containerPort":8080,"protocol":"TCP"}: | |
| .: {} | |
| f:containerPort: {} | |
| f:protocol: {} | |
| f:readinessProbe: | |
| .: {} | |
| f:failureThreshold: {} | |
| f:httpGet: | |
| .: {} | |
| f:path: {} | |
| f:port: {} | |
| f:scheme: {} | |
| f:initialDelaySeconds: {} | |
| f:periodSeconds: {} | |
| f:successThreshold: {} | |
| f:timeoutSeconds: {} | |
| f:resources: {} | |
| f:securityContext: | |
| .: {} | |
| f:readOnlyRootFilesystem: {} | |
| f:terminationMessagePath: {} | |
| f:terminationMessagePolicy: {} | |
| f:dnsPolicy: {} | |
| f:enableServiceLinks: {} | |
| f:restartPolicy: {} | |
| f:schedulerName: {} | |
| f:securityContext: {} | |
| f:terminationGracePeriodSeconds: {} | |
| manager: kube-controller-manager | |
| operation: Update | |
| time: "2020-09-24T08:56:34Z" | |
| - apiVersion: v1 | |
| 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:phase: {} | |
| f:podIP: {} | |
| f:podIPs: | |
| .: {} | |
| k:{"ip":"10.42.181.157"}: | |
| .: {} | |
| f:ip: {} | |
| f:startTime: {} | |
| manager: kubelet | |
| operation: Update | |
| time: "2020-09-24T08:56:42Z" | |
| name: certinfo-647757965d-nm4df | |
| namespace: openfaas-fn | |
| ownerReferences: | |
| - apiVersion: apps/v1 | |
| blockOwnerDeletion: true | |
| controller: true | |
| kind: ReplicaSet | |
| name: certinfo-647757965d | |
| uid: 4db095b5-4968-4c18-ae9d-87b4473a8962 | |
| resourceVersion: "215807460" | |
| selfLink: /api/v1/namespaces/openfaas-fn/pods/certinfo-647757965d-nm4df | |
| uid: cd27c251-8982-4931-ab98-20e4849ce7aa | |
| spec: | |
| containers: | |
| - image: stefanprodan/certinfo | |
| imagePullPolicy: Always | |
| livenessProbe: | |
| failureThreshold: 3 | |
| httpGet: | |
| path: /_/health | |
| port: 8080 | |
| scheme: HTTP | |
| initialDelaySeconds: 2 | |
| periodSeconds: 2 | |
| successThreshold: 1 | |
| timeoutSeconds: 1 | |
| name: certinfo | |
| ports: | |
| - containerPort: 8080 | |
| protocol: TCP | |
| readinessProbe: | |
| failureThreshold: 3 | |
| httpGet: | |
| path: /_/health | |
| port: 8080 | |
| scheme: HTTP | |
| initialDelaySeconds: 2 | |
| periodSeconds: 2 | |
| successThreshold: 1 | |
| timeoutSeconds: 1 | |
| resources: | |
| limits: | |
| cpu: "2" | |
| memory: 256Mi | |
| requests: | |
| cpu: "1" | |
| memory: 128Mi | |
| securityContext: | |
| readOnlyRootFilesystem: false | |
| terminationMessagePath: /dev/termination-log | |
| terminationMessagePolicy: File | |
| volumeMounts: | |
| - mountPath: /var/run/secrets/kubernetes.io/serviceaccount | |
| name: default-token-grrql | |
| readOnly: true | |
| dnsPolicy: ClusterFirst | |
| enableServiceLinks: true | |
| nodeName: kube4 | |
| priority: 0 | |
| restartPolicy: Always | |
| schedulerName: default-scheduler | |
| securityContext: {} | |
| serviceAccount: default | |
| serviceAccountName: default | |
| terminationGracePeriodSeconds: 30 | |
| tolerations: | |
| - effect: NoExecute | |
| key: node.kubernetes.io/not-ready | |
| operator: Exists | |
| tolerationSeconds: 300 | |
| - effect: NoExecute | |
| key: node.kubernetes.io/unreachable | |
| operator: Exists | |
| tolerationSeconds: 300 | |
| volumes: | |
| - name: default-token-grrql | |
| secret: | |
| defaultMode: 420 | |
| secretName: default-token-grrql | |
| status: | |
| conditions: | |
| - lastProbeTime: null | |
| lastTransitionTime: "2020-09-24T08:56:34Z" | |
| status: "True" | |
| type: Initialized | |
| - lastProbeTime: null | |
| lastTransitionTime: "2020-09-24T08:56:42Z" | |
| status: "True" | |
| type: Ready | |
| - lastProbeTime: null | |
| lastTransitionTime: "2020-09-24T08:56:42Z" | |
| status: "True" | |
| type: ContainersReady | |
| - lastProbeTime: null | |
| lastTransitionTime: "2020-09-24T08:56:34Z" | |
| status: "True" | |
| type: PodScheduled | |
| containerStatuses: | |
| - containerID: docker://fd53ec397bc42903bfd62a4668ab7120c98d3f63c7bb82e6161ffbce7b8567db | |
| image: stefanprodan/certinfo:latest | |
| imageID: docker-pullable://stefanprodan/certinfo@sha256:bd3f4a3f66787dfa69fcc0f698ce3e65d9249d9229f106796a46a8b3a7d2e909 | |
| lastState: {} | |
| name: certinfo | |
| ready: true | |
| restartCount: 0 | |
| started: true | |
| state: | |
| running: | |
| startedAt: "2020-09-24T08:56:39Z" | |
| hostIP: 172.17.17.84 | |
| phase: Running | |
| podIP: 10.42.181.157 | |
| podIPs: | |
| - ip: 10.42.181.157 | |
| qosClass: Burstable | |
| startTime: "2020-09-24T08:56:34Z" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment