Last active
July 26, 2021 04:36
-
-
Save myugan/5fd8912f09f9de74d49dd2cf54dc8afd to your computer and use it in GitHub Desktop.
Alpine pods
This file contains 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: | |
creationTimestamp: "2021-07-21T20:32:48Z" | |
managedFields: | |
- apiVersion: v1 | |
fieldsType: FieldsV1 | |
fieldsV1: | |
f:spec: | |
f:automountServiceAccountToken: {} | |
f:containers: | |
k:{"name":"alpine"}: | |
.: {} | |
f:args: {} | |
f:command: {} | |
f:image: {} | |
f:imagePullPolicy: {} | |
f:name: {} | |
f:resources: {} | |
f:terminationMessagePath: {} | |
f:terminationMessagePolicy: {} | |
f:volumeMounts: | |
.: {} | |
k:{"mountPath":"/root"}: | |
.: {} | |
f:mountPath: {} | |
f:name: {} | |
f:dnsPolicy: {} | |
f:enableServiceLinks: {} | |
f:hostNetwork: {} | |
f:restartPolicy: {} | |
f:schedulerName: {} | |
f:securityContext: {} | |
f:terminationGracePeriodSeconds: {} | |
f:volumes: | |
.: {} | |
k:{"name":"mount-root-into-mnt"}: | |
.: {} | |
f:hostPath: | |
.: {} | |
f:path: {} | |
f:type: {} | |
f:name: {} | |
manager: curl | |
operation: Update | |
time: "2021-07-21T20:32:48Z" | |
- apiVersion: v1 | |
fieldsType: FieldsV1 | |
fieldsV1: | |
f:status: | |
f:conditions: | |
k:{"type":"ContainersReady"}: | |
.: {} | |
f:lastProbeTime: {} | |
f:lastTransitionTime: {} | |
f:message: {} | |
f:reason: {} | |
f:status: {} | |
f:type: {} | |
k:{"type":"Initialized"}: | |
.: {} | |
f:lastProbeTime: {} | |
f:lastTransitionTime: {} | |
f:status: {} | |
f:type: {} | |
k:{"type":"Ready"}: | |
.: {} | |
f:lastProbeTime: {} | |
f:lastTransitionTime: {} | |
f:message: {} | |
f:reason: {} | |
f:status: {} | |
f:type: {} | |
f:containerStatuses: {} | |
f:hostIP: {} | |
f:phase: {} | |
f:podIP: {} | |
f:podIPs: | |
.: {} | |
k:{"ip":"10.129.173.108"}: | |
.: {} | |
f:ip: {} | |
f:startTime: {} | |
manager: kubelet | |
operation: Update | |
time: "2021-07-25T14:31:18Z" | |
name: alpine | |
namespace: kube-system | |
resourceVersion: "98064" | |
uid: 29eb87f5-305c-4f20-b668-469d79200118 | |
spec: | |
automountServiceAccountToken: true | |
containers: | |
- command: [ "/bin/sh", "-c", "--" ] | |
args: [ "while true; do sleep 3600; done;" ] | |
image: alpine | |
imagePullPolicy: Always | |
name: alpine | |
resources: {} | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /root | |
name: mount-root-into-mnt | |
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount | |
name: kube-api-access-mss4g | |
readOnly: true | |
dnsPolicy: ClusterFirst | |
enableServiceLinks: true | |
hostNetwork: true | |
nodeName: kube | |
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: | |
- hostPath: | |
path: / | |
type: "" | |
name: mount-root-into-mnt | |
- name: kube-api-access-mss4g | |
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: "2021-07-21T20:32:48Z" | |
status: "True" | |
type: Initialized | |
- lastProbeTime: null | |
lastTransitionTime: "2021-07-25T14:31:18Z" | |
message: 'containers with unready status: [alpine]' | |
reason: ContainersNotReady | |
status: "False" | |
type: Ready | |
- lastProbeTime: null | |
lastTransitionTime: "2021-07-25T14:31:18Z" | |
message: 'containers with unready status: [alpine]' | |
reason: ContainersNotReady | |
status: "False" | |
type: ContainersReady | |
- lastProbeTime: null | |
lastTransitionTime: "2021-07-21T20:32:48Z" | |
status: "True" | |
type: PodScheduled | |
containerStatuses: | |
- containerID: docker://c80ad77181ccd49c64c177eef8c459e6c4b27fc5ff06f74ce4ffb22540cb2823 | |
image: alpine:latest | |
imageID: docker-pullable://alpine@sha256:234cb88d3020898631af0ccbbcca9a66ae7306ecd30c9720690858c1b007d2a0 | |
lastState: | |
terminated: | |
containerID: docker://c80ad77181ccd49c64c177eef8c459e6c4b27fc5ff06f74ce4ffb22540cb2823 | |
exitCode: 137 | |
finishedAt: "2021-07-21T20:33:52Z" | |
reason: Error | |
startedAt: "2021-07-21T20:32:51Z" | |
name: alpine | |
ready: false | |
restartCount: 0 | |
started: false | |
state: | |
waiting: | |
message: 'rpc error: code = Unknown desc = Error response from daemon: Get | |
https://registry-1.docker.io/v2/: net/http: request canceled while waiting | |
for connection (Client.Timeout exceeded while awaiting headers)' | |
reason: ErrImagePull | |
hostIP: 10.129.173.108 | |
phase: Running | |
podIP: 10.129.173.108 | |
podIPs: | |
- ip: 10.129.173.108 | |
qosClass: BestEffort | |
startTime: "2021-07-21T20:32:48Z" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment