Skip to content

Instantly share code, notes, and snippets.

@MrsDaehin
Last active July 24, 2023 20:31
Show Gist options
  • Save MrsDaehin/91cff76be70d7a08a4a9b03e823df8ea to your computer and use it in GitHub Desktop.
Save MrsDaehin/91cff76be70d7a08a4a9b03e823df8ea to your computer and use it in GitHub Desktop.
Pod Description
osboxes@osboxes:~$ kubectl get pod -o yaml metrics-api-test-metrics-server-d475d9dcb-4pqvc -n mock
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: "2023-07-24T20:26:02Z"
generateName: metrics-api-test-metrics-server-d475d9dcb-
labels:
app: metrics-api-test-metrics-server
pod-template-hash: d475d9dcb
name: metrics-api-test-metrics-server-d475d9dcb-4pqvc
namespace: mock
ownerReferences:
- apiVersion: apps/v1
blockOwnerDeletion: true
controller: true
kind: ReplicaSet
name: metrics-api-test-metrics-server-d475d9dcb
uid: b4169a27-0906-47a2-ad8e-6c46c6b52b47
resourceVersion: "14226742"
uid: 0752276e-c980-46a5-bdcb-2164355c0c60
spec:
containers:
- image: ghcr.io/kedacore/tests-metrics-api
imagePullPolicy: Always
name: metrics
ports:
- containerPort: 8080
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-ppq4q
readOnly: true
dnsPolicy: ClusterFirst
enableServiceLinks: true
nodeName: aks-agentpool-28399785-vmss000001
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-ppq4q
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-07-24T20:26:02Z"
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: "2023-07-24T20:26:09Z"
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: "2023-07-24T20:26:09Z"
status: "True"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: "2023-07-24T20:26:02Z"
status: "True"
type: PodScheduled
containerStatuses:
- containerID: containerd://729e1bcd7337526470ebdc85e1c83a65ab052f4d7ef54dc878f4f74d0c8ddead
image: ghcr.io/kedacore/tests-metrics-api:latest
imageID: ghcr.io/kedacore/tests-metrics-api@sha256:a195074f769e55a00e6051ea2476ee35918d2a05e90b58aa3c4557c00c7dfe50
lastState: {}
name: metrics
ready: true
restartCount: 0
started: true
state:
running:
startedAt: "2023-07-24T20:26:08Z"
hostIP: 10.224.0.5
phase: Running
podIP: 10.244.0.90
podIPs:
- ip: 10.244.0.90
qosClass: BestEffort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment