mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-04-15 07:16:34 +00:00
273 lines
8.4 KiB
JSON
273 lines
8.4 KiB
JSON
{
|
|
"kind": "PodList",
|
|
"apiVersion": "v1",
|
|
"metadata": {
|
|
"resourceVersion": "986839"
|
|
},
|
|
"items": [
|
|
{
|
|
"kind": "Pod",
|
|
"apiVersion": "v1",
|
|
"metadata": {
|
|
"name": "no-image-deployment-849c4c4958-rxqmt",
|
|
"generateName": "no-image-deployment-849c4c4958-",
|
|
"namespace": "message-image-pull-fail",
|
|
"uid": "209076ce-26d6-4836-981b-8c05cb0081eb",
|
|
"resourceVersion": "986834",
|
|
"creationTimestamp": "2023-07-11T05:34:44Z",
|
|
"labels": {
|
|
"app": "no-image-deployment",
|
|
"pod-template-hash": "849c4c4958",
|
|
"visualize": "true"
|
|
},
|
|
"ownerReferences": [
|
|
{
|
|
"apiVersion": "apps/v1",
|
|
"kind": "ReplicaSet",
|
|
"name": "no-image-deployment-849c4c4958",
|
|
"uid": "d992c1a5-d2c4-4065-ac5b-3bb893f9000a",
|
|
"controller": true,
|
|
"blockOwnerDeletion": true
|
|
}
|
|
],
|
|
"managedFields": [
|
|
{
|
|
"manager": "kube-controller-manager",
|
|
"operation": "Update",
|
|
"apiVersion": "v1",
|
|
"time": "2023-07-11T05:34:44Z",
|
|
"fieldsType": "FieldsV1",
|
|
"fieldsV1": {
|
|
"f:metadata": {
|
|
"f:generateName": {},
|
|
"f:labels": {
|
|
".": {},
|
|
"f:app": {},
|
|
"f:pod-template-hash": {},
|
|
"f:visualize": {}
|
|
},
|
|
"f:ownerReferences": {
|
|
".": {},
|
|
"k:{\"uid\":\"d992c1a5-d2c4-4065-ac5b-3bb893f9000a\"}": {}
|
|
}
|
|
},
|
|
"f:spec": {
|
|
"f:containers": {
|
|
"k:{\"name\":\"demo-deployment-container\"}": {
|
|
".": {},
|
|
"f:image": {},
|
|
"f:imagePullPolicy": {},
|
|
"f:name": {},
|
|
"f:resources": {},
|
|
"f:terminationMessagePath": {},
|
|
"f:terminationMessagePolicy": {}
|
|
}
|
|
},
|
|
"f:dnsPolicy": {},
|
|
"f:enableServiceLinks": {},
|
|
"f:restartPolicy": {},
|
|
"f:schedulerName": {},
|
|
"f:securityContext": {},
|
|
"f:terminationGracePeriodSeconds": {}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"manager": "kubelet",
|
|
"operation": "Update",
|
|
"apiVersion": "v1",
|
|
"time": "2023-07-11T05:36:25Z",
|
|
"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:podIP": {},
|
|
"f:podIPs": {
|
|
".": {},
|
|
"k:{\"ip\":\"172.17.0.3\"}": {
|
|
".": {},
|
|
"f:ip": {}
|
|
}
|
|
},
|
|
"f:startTime": {}
|
|
}
|
|
},
|
|
"subresource": "status"
|
|
}
|
|
]
|
|
},
|
|
"spec": {
|
|
"volumes": [
|
|
{
|
|
"name": "kube-api-access-5p7hr",
|
|
"projected": {
|
|
"sources": [
|
|
{
|
|
"serviceAccountToken": {
|
|
"expirationSeconds": 3607,
|
|
"path": "token"
|
|
}
|
|
},
|
|
{
|
|
"configMap": {
|
|
"name": "kube-root-ca.crt",
|
|
"items": [
|
|
{
|
|
"key": "ca.crt",
|
|
"path": "ca.crt"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"downwardAPI": {
|
|
"items": [
|
|
{
|
|
"path": "namespace",
|
|
"fieldRef": {
|
|
"apiVersion": "v1",
|
|
"fieldPath": "metadata.namespace"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"defaultMode": 420
|
|
}
|
|
}
|
|
],
|
|
"containers": [
|
|
{
|
|
"name": "demo-deployment-container",
|
|
"image": "noimage.com/no-such-image",
|
|
"resources": {},
|
|
"volumeMounts": [
|
|
{
|
|
"name": "kube-api-access-5p7hr",
|
|
"readOnly": true,
|
|
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
|
|
}
|
|
],
|
|
"terminationMessagePath": "/dev/termination-log",
|
|
"terminationMessagePolicy": "File",
|
|
"imagePullPolicy": "IfNotPresent"
|
|
}
|
|
],
|
|
"restartPolicy": "Always",
|
|
"terminationGracePeriodSeconds": 30,
|
|
"dnsPolicy": "ClusterFirst",
|
|
"serviceAccountName": "default",
|
|
"serviceAccount": "default",
|
|
"nodeName": "minikube",
|
|
"securityContext": {},
|
|
"schedulerName": "default-scheduler",
|
|
"tolerations": [
|
|
{
|
|
"key": "node.kubernetes.io/not-ready",
|
|
"operator": "Exists",
|
|
"effect": "NoExecute",
|
|
"tolerationSeconds": 300
|
|
},
|
|
{
|
|
"key": "node.kubernetes.io/unreachable",
|
|
"operator": "Exists",
|
|
"effect": "NoExecute",
|
|
"tolerationSeconds": 300
|
|
}
|
|
],
|
|
"priority": 0,
|
|
"enableServiceLinks": true,
|
|
"preemptionPolicy": "PreemptLowerPriority"
|
|
},
|
|
"status": {
|
|
"phase": "Pending",
|
|
"conditions": [
|
|
{
|
|
"type": "Initialized",
|
|
"status": "True",
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-07-11T05:34:44Z"
|
|
},
|
|
{
|
|
"type": "Ready",
|
|
"status": "False",
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-07-11T05:34:44Z",
|
|
"reason": "ContainersNotReady",
|
|
"message": "containers with unready status: [demo-deployment-container]"
|
|
},
|
|
{
|
|
"type": "ContainersReady",
|
|
"status": "False",
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-07-11T05:34:44Z",
|
|
"reason": "ContainersNotReady",
|
|
"message": "containers with unready status: [demo-deployment-container]"
|
|
},
|
|
{
|
|
"type": "PodScheduled",
|
|
"status": "True",
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-07-11T05:34:44Z"
|
|
}
|
|
],
|
|
"hostIP": "192.168.49.2",
|
|
"podIP": "172.17.0.3",
|
|
"podIPs": [
|
|
{
|
|
"ip": "172.17.0.3"
|
|
}
|
|
],
|
|
"startTime": "2023-07-11T05:34:44Z",
|
|
"containerStatuses": [
|
|
{
|
|
"name": "demo-deployment-container",
|
|
"state": {
|
|
"waiting": {
|
|
"reason": "ErrImagePull",
|
|
"message": "rpc error: code = Unknown desc = Error response from daemon: Get \"https://noimage.com/v2/\": x509: certificate is not valid for any names, but wanted to match noimage.com"
|
|
}
|
|
},
|
|
"lastState": {},
|
|
"ready": false,
|
|
"restartCount": 0,
|
|
"image": "noimage.com/no-such-image",
|
|
"imageID": "",
|
|
"started": false
|
|
}
|
|
],
|
|
"qosClass": "BestEffort"
|
|
}
|
|
}
|
|
]
|
|
}
|