Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #171 kubectl get pod/demo -o yaml
- apiVersion: v1
- kind: Pod
- metadata:
- creationTimestamp: "2023-03-18T01:35:58Z"
- labels:
- run: demo2
- name: demo2
- namespace: default
- resourceVersion: "120652"
- uid: 22802fea-742f-48d6-9055-a6eb864e4a08
- spec:
- containers:
- - image: httpd
- imagePullPolicy: Always
- name: demo2
- resources: {}
- terminationMessagePath: /dev/termination-log
- terminationMessagePolicy: File
- volumeMounts:
- - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
- name: kube-api-access-qfmvq
- readOnly: true
- dnsPolicy: ClusterFirst
- enableServiceLinks: true
- nodeName: minikube
- preemptionPolicy: PreemptLowerPriority
- 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: kube-api-access-qfmvq
- projected:
- defaultMode: 420
- sources:
- - serviceAccountToken:
- expirationSeconds: 3607
- path: token
- - configMap:
- items:
- - key: ca.crt
- path: ca.crt
- name: kube-root-ca.crt
- - downwardAPI:
- items:
- - fieldRef:
- apiVersion: v1
- fieldPath: metadata.namespace
- path: namespace
- status:
- conditions:
- - lastProbeTime: null
- lastTransitionTime: "2023-03-18T01:35:58Z"
- status: "True"
- type: Initialized
- - lastProbeTime: null
- lastTransitionTime: "2023-03-18T01:36:02Z"
- status: "True"
- type: Ready
- - lastProbeTime: null
- lastTransitionTime: "2023-03-18T01:36:02Z"
- status: "True"
- type: ContainersReady
- - lastProbeTime: null
- lastTransitionTime: "2023-03-18T01:35:58Z"
- status: "True"
- type: PodScheduled
- containerStatuses:
- - containerID: docker://9c386aa67863e2322d93550963aac6dfe8d6a6ddef7bd5fbaaeefe6652875d47
- image: httpd:latest
- imageID: docker-pullable://httpd@sha256:76618ddd53f315a1436a56dc84ad57032e1b2123f2f6489ce9c575c4b280c4f4
- lastState: {}
- name: demo2
- ready: true
- restartCount: 0
- started: true
- state:
- running:
- startedAt: "2023-03-18T01:36:01Z"
- hostIP: 192.168.49.2
- phase: Running
- podIP: 172.17.0.12
- podIPs:
- - ip: 172.17.0.12
- qosClass: BestEffort
- startTime: "2023-03-18T01:35:58Z"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement