Skip to content

Instantly share code, notes, and snippets.

@cdwarkani
Created January 18, 2022 19:34
Show Gist options
  • Save cdwarkani/34c2680ac0ffe0d17a95ccb232131b58 to your computer and use it in GitHub Desktop.
Save cdwarkani/34c2680ac0ffe0d17a95ccb232131b58 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: "2022-01-18T18:06:43Z"
generateName: simple-node-backend-86f694b75b-
labels:
app: simple-node-backend
pod-template-hash: 86f694b75b
name: simple-node-backend-86f694b75b-l2sp2
namespace: default
ownerReferences:
- apiVersion: apps/v1
blockOwnerDeletion: true
controller: true
kind: ReplicaSet
name: simple-node-backend-86f694b75b
uid: 54475b07-d73a-4993-803e-d919bb719a57
resourceVersion: "46791"
uid: 39a511d0-ebef-4d7f-8fd8-2a61b9b9dcec
spec:
containers:
- image: simple-node-backend-chetan:0.1
imagePullPolicy: IfNotPresent
name: simple-node-backend-chetan
ports:
- containerPort: 1221
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-q545m
readOnly: true
dnsPolicy: ClusterFirst
enableServiceLinks: true
nodeName: docker-desktop
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-q545m
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: "2022-01-18T18:06:43Z"
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: "2022-01-18T19:32:39Z"
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: "2022-01-18T19:32:39Z"
status: "True"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: "2022-01-18T18:06:43Z"
status: "True"
type: PodScheduled
containerStatuses:
- containerID: docker://7042579484a02d5fcf2927912f8674f9bddbc90fecb99039ba9dea239bedb582
image: simple-node-backend-chetan:0.1
imageID: docker://sha256:4675a232d9523d98b1d2caeafded4ddd6e84ce43426290bcad16cdaf5a51ad8c
lastState:
terminated:
containerID: docker://c337c4813b56d638cad51b19a3b6e1b85dab61dc20586166588c44d24b75e750
exitCode: 255
finishedAt: "2022-01-18T19:32:15Z"
reason: Error
startedAt: "2022-01-18T18:06:45Z"
name: simple-node-backend-chetan
ready: true
restartCount: 1
started: true
state:
running:
startedAt: "2022-01-18T19:32:38Z"
hostIP: 192.168.65.4
phase: Running
podIP: 10.1.0.25
podIPs:
- ip: 10.1.0.25
qosClass: BestEffort
startTime: "2022-01-18T18:06:43Z"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment