Skip to content

Instantly share code, notes, and snippets.

@bmorphism
Created October 11, 2021 23:36
Show Gist options
  • Save bmorphism/b9115fe110ab2f1cb4e4b9a434f38be8 to your computer and use it in GitHub Desktop.
Save bmorphism/b9115fe110ab2f1cb4e4b9a434f38be8 to your computer and use it in GitHub Desktop.
{
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"annotations": {
"kubernetes.io/psp": "eks.privileged"
},
"creationTimestamp": "2021-10-11T23:33:51Z",
"labels": {
"run": "interview-example"
},
"name": "interview-example",
"namespace": "default",
"resourceVersion": "117952602",
"selfLink": "/api/v1/namespaces/default/pods/interview-example",
"uid": "294edfb2-a9ca-4948-b9da-f35beaeab105"
},
"spec": {
"containers": [
{
"args": [
"sleep",
"99999"
],
"image": "ubuntu",
"imagePullPolicy": "Always",
"name": "interview-example",
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"volumeMounts": [
{
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
"name": "default-token-f5w8z",
"readOnly": true
}
]
}
],
"dnsPolicy": "ClusterFirst",
"enableServiceLinks": true,
"nodeName": "ip-10-237-18-170.us-west-2.compute.internal",
"priority": 1000,
"priorityClassName": "default-priority",
"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-f5w8z",
"secret": {
"defaultMode": 420,
"secretName": "default-token-f5w8z"
}
}
]
},
"status": {
"conditions": [
{
"lastProbeTime": null,
"lastTransitionTime": "2021-10-11T23:33:51Z",
"status": "True",
"type": "Initialized"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2021-10-11T23:33:54Z",
"status": "True",
"type": "Ready"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2021-10-11T23:33:54Z",
"status": "True",
"type": "ContainersReady"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2021-10-11T23:33:51Z",
"status": "True",
"type": "PodScheduled"
}
],
"containerStatuses": [
{
"containerID": "docker://65de0807f03a3d7fe5618cdc995ff2d1f916767a8fdf657251314a0bb0a6b25d",
"image": "ubuntu:latest",
"imageID": "docker-pullable://ubuntu@sha256:a0d9e826ab87bd665cfc640598a871b748b4b70a01a4f3d174d4fb02adad07a9",
"lastState": {},
"name": "interview-example",
"ready": true,
"restartCount": 0,
"started": true,
"state": {
"running": {
"startedAt": "2021-10-11T23:33:54Z"
}
}
}
],
"hostIP": "10.237.18.170",
"phase": "Running",
"podIP": "10.237.21.237",
"podIPs": [
{
"ip": "10.237.21.237"
}
],
"qosClass": "BestEffort",
"startTime": "2021-10-11T23:33:51Z"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment