mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-04-15 07:16:34 +00:00
667 lines
23 KiB
JSON
667 lines
23 KiB
JSON
{
|
|
"kind": "DeploymentList",
|
|
"apiVersion": "apps/v1",
|
|
"metadata": {
|
|
"resourceVersion": "27195652"
|
|
},
|
|
"items": [
|
|
{
|
|
"metadata": {
|
|
"name": "coredns",
|
|
"namespace": "kube-system",
|
|
"selfLink": "/apis/apps/v1/namespaces/kube-system/deployments/coredns",
|
|
"uid": "4e008c0d-39fd-4c54-acb7-45ad67c91ef4",
|
|
"resourceVersion": "734",
|
|
"generation": 1,
|
|
"creationTimestamp": "2021-12-17T18:38:57Z",
|
|
"labels": {
|
|
"k8s-app": "kube-dns"
|
|
},
|
|
"annotations": {
|
|
"deployment.kubernetes.io/revision": "1"
|
|
},
|
|
"managedFields": [
|
|
{
|
|
"manager": "kubeadm",
|
|
"operation": "Update",
|
|
"apiVersion": "apps/v1",
|
|
"time": "2021-12-17T18:38:57Z",
|
|
"fieldsType": "FieldsV1",
|
|
"fieldsV1": {
|
|
"f:metadata": {
|
|
"f:labels": {
|
|
".": {},
|
|
"f:k8s-app": {}
|
|
}
|
|
},
|
|
"f:spec": {
|
|
"f:progressDeadlineSeconds": {},
|
|
"f:replicas": {},
|
|
"f:revisionHistoryLimit": {},
|
|
"f:selector": {
|
|
"f:matchLabels": {
|
|
".": {},
|
|
"f:k8s-app": {}
|
|
}
|
|
},
|
|
"f:strategy": {
|
|
"f:rollingUpdate": {
|
|
".": {},
|
|
"f:maxSurge": {},
|
|
"f:maxUnavailable": {}
|
|
},
|
|
"f:type": {}
|
|
},
|
|
"f:template": {
|
|
"f:metadata": {
|
|
"f:labels": {
|
|
".": {},
|
|
"f:k8s-app": {}
|
|
}
|
|
},
|
|
"f:spec": {
|
|
"f:containers": {
|
|
"k:{\"name\":\"coredns\"}": {
|
|
".": {},
|
|
"f:args": {},
|
|
"f:image": {},
|
|
"f:imagePullPolicy": {},
|
|
"f:livenessProbe": {
|
|
".": {},
|
|
"f:failureThreshold": {},
|
|
"f:httpGet": {
|
|
".": {},
|
|
"f:path": {},
|
|
"f:port": {},
|
|
"f:scheme": {}
|
|
},
|
|
"f:initialDelaySeconds": {},
|
|
"f:periodSeconds": {},
|
|
"f:successThreshold": {},
|
|
"f:timeoutSeconds": {}
|
|
},
|
|
"f:name": {},
|
|
"f:ports": {
|
|
".": {},
|
|
"k:{\"containerPort\":53,\"protocol\":\"TCP\"}": {
|
|
".": {},
|
|
"f:containerPort": {},
|
|
"f:name": {},
|
|
"f:protocol": {}
|
|
},
|
|
"k:{\"containerPort\":53,\"protocol\":\"UDP\"}": {
|
|
".": {},
|
|
"f:containerPort": {},
|
|
"f:name": {},
|
|
"f:protocol": {}
|
|
},
|
|
"k:{\"containerPort\":9153,\"protocol\":\"TCP\"}": {
|
|
".": {},
|
|
"f:containerPort": {},
|
|
"f:name": {},
|
|
"f:protocol": {}
|
|
}
|
|
},
|
|
"f:readinessProbe": {
|
|
".": {},
|
|
"f:failureThreshold": {},
|
|
"f:httpGet": {
|
|
".": {},
|
|
"f:path": {},
|
|
"f:port": {},
|
|
"f:scheme": {}
|
|
},
|
|
"f:periodSeconds": {},
|
|
"f:successThreshold": {},
|
|
"f:timeoutSeconds": {}
|
|
},
|
|
"f:resources": {
|
|
".": {},
|
|
"f:limits": {
|
|
".": {},
|
|
"f:memory": {}
|
|
},
|
|
"f:requests": {
|
|
".": {},
|
|
"f:cpu": {},
|
|
"f:memory": {}
|
|
}
|
|
},
|
|
"f:securityContext": {
|
|
".": {},
|
|
"f:allowPrivilegeEscalation": {},
|
|
"f:capabilities": {
|
|
".": {},
|
|
"f:add": {},
|
|
"f:drop": {}
|
|
},
|
|
"f:readOnlyRootFilesystem": {}
|
|
},
|
|
"f:terminationMessagePath": {},
|
|
"f:terminationMessagePolicy": {},
|
|
"f:volumeMounts": {
|
|
".": {},
|
|
"k:{\"mountPath\":\"/etc/coredns\"}": {
|
|
".": {},
|
|
"f:mountPath": {},
|
|
"f:name": {},
|
|
"f:readOnly": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"f:dnsPolicy": {},
|
|
"f:nodeSelector": {
|
|
".": {},
|
|
"f:kubernetes.io/os": {}
|
|
},
|
|
"f:priorityClassName": {},
|
|
"f:restartPolicy": {},
|
|
"f:schedulerName": {},
|
|
"f:securityContext": {},
|
|
"f:serviceAccount": {},
|
|
"f:serviceAccountName": {},
|
|
"f:terminationGracePeriodSeconds": {},
|
|
"f:tolerations": {},
|
|
"f:volumes": {
|
|
".": {},
|
|
"k:{\"name\":\"config-volume\"}": {
|
|
".": {},
|
|
"f:configMap": {
|
|
".": {},
|
|
"f:defaultMode": {},
|
|
"f:items": {},
|
|
"f:name": {}
|
|
},
|
|
"f:name": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"manager": "kube-controller-manager",
|
|
"operation": "Update",
|
|
"apiVersion": "apps/v1",
|
|
"time": "2021-12-17T18:39:42Z",
|
|
"fieldsType": "FieldsV1",
|
|
"fieldsV1": {
|
|
"f:metadata": {
|
|
"f:annotations": {
|
|
".": {},
|
|
"f:deployment.kubernetes.io/revision": {}
|
|
}
|
|
},
|
|
"f:status": {
|
|
"f:availableReplicas": {},
|
|
"f:conditions": {
|
|
".": {},
|
|
"k:{\"type\":\"Available\"}": {
|
|
".": {},
|
|
"f:lastTransitionTime": {},
|
|
"f:lastUpdateTime": {},
|
|
"f:message": {},
|
|
"f:reason": {},
|
|
"f:status": {},
|
|
"f:type": {}
|
|
},
|
|
"k:{\"type\":\"Progressing\"}": {
|
|
".": {},
|
|
"f:lastTransitionTime": {},
|
|
"f:lastUpdateTime": {},
|
|
"f:message": {},
|
|
"f:reason": {},
|
|
"f:status": {},
|
|
"f:type": {}
|
|
}
|
|
},
|
|
"f:observedGeneration": {},
|
|
"f:readyReplicas": {},
|
|
"f:replicas": {},
|
|
"f:updatedReplicas": {}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"spec": {
|
|
"replicas": 2,
|
|
"selector": {
|
|
"matchLabels": {
|
|
"k8s-app": "kube-dns"
|
|
}
|
|
},
|
|
"template": {
|
|
"metadata": {
|
|
"creationTimestamp": null,
|
|
"labels": {
|
|
"k8s-app": "kube-dns"
|
|
}
|
|
},
|
|
"spec": {
|
|
"volumes": [
|
|
{
|
|
"name": "config-volume",
|
|
"configMap": {
|
|
"name": "coredns",
|
|
"items": [
|
|
{
|
|
"key": "Corefile",
|
|
"path": "Corefile"
|
|
}
|
|
],
|
|
"defaultMode": 420
|
|
}
|
|
}
|
|
],
|
|
"containers": [
|
|
{
|
|
"name": "coredns",
|
|
"image": "k8s.gcr.io/coredns:1.7.0",
|
|
"args": [
|
|
"-conf",
|
|
"/etc/coredns/Corefile"
|
|
],
|
|
"ports": [
|
|
{
|
|
"name": "dns",
|
|
"containerPort": 53,
|
|
"protocol": "UDP"
|
|
},
|
|
{
|
|
"name": "dns-tcp",
|
|
"containerPort": 53,
|
|
"protocol": "TCP"
|
|
},
|
|
{
|
|
"name": "metrics",
|
|
"containerPort": 9153,
|
|
"protocol": "TCP"
|
|
}
|
|
],
|
|
"resources": {
|
|
"limits": {
|
|
"memory": "170Mi"
|
|
},
|
|
"requests": {
|
|
"cpu": "100m",
|
|
"memory": "70Mi"
|
|
}
|
|
},
|
|
"volumeMounts": [
|
|
{
|
|
"name": "config-volume",
|
|
"readOnly": true,
|
|
"mountPath": "/etc/coredns"
|
|
}
|
|
],
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/health",
|
|
"port": 8080,
|
|
"scheme": "HTTP"
|
|
},
|
|
"initialDelaySeconds": 60,
|
|
"timeoutSeconds": 5,
|
|
"periodSeconds": 10,
|
|
"successThreshold": 1,
|
|
"failureThreshold": 5
|
|
},
|
|
"readinessProbe": {
|
|
"httpGet": {
|
|
"path": "/ready",
|
|
"port": 8181,
|
|
"scheme": "HTTP"
|
|
},
|
|
"timeoutSeconds": 1,
|
|
"periodSeconds": 10,
|
|
"successThreshold": 1,
|
|
"failureThreshold": 3
|
|
},
|
|
"terminationMessagePath": "/dev/termination-log",
|
|
"terminationMessagePolicy": "File",
|
|
"imagePullPolicy": "IfNotPresent",
|
|
"securityContext": {
|
|
"capabilities": {
|
|
"add": [
|
|
"NET_BIND_SERVICE"
|
|
],
|
|
"drop": [
|
|
"all"
|
|
]
|
|
},
|
|
"readOnlyRootFilesystem": true,
|
|
"allowPrivilegeEscalation": false
|
|
}
|
|
}
|
|
],
|
|
"restartPolicy": "Always",
|
|
"terminationGracePeriodSeconds": 30,
|
|
"dnsPolicy": "Default",
|
|
"nodeSelector": {
|
|
"kubernetes.io/os": "linux"
|
|
},
|
|
"serviceAccountName": "coredns",
|
|
"serviceAccount": "coredns",
|
|
"securityContext": {},
|
|
"schedulerName": "default-scheduler",
|
|
"tolerations": [
|
|
{
|
|
"key": "CriticalAddonsOnly",
|
|
"operator": "Exists"
|
|
},
|
|
{
|
|
"key": "node-role.kubernetes.io/master",
|
|
"effect": "NoSchedule"
|
|
}
|
|
],
|
|
"priorityClassName": "system-cluster-critical"
|
|
}
|
|
},
|
|
"strategy": {
|
|
"type": "RollingUpdate",
|
|
"rollingUpdate": {
|
|
"maxUnavailable": 1,
|
|
"maxSurge": "25%"
|
|
}
|
|
},
|
|
"revisionHistoryLimit": 10,
|
|
"progressDeadlineSeconds": 600
|
|
},
|
|
"status": {
|
|
"observedGeneration": 1,
|
|
"replicas": 2,
|
|
"updatedReplicas": 2,
|
|
"readyReplicas": 2,
|
|
"availableReplicas": 2,
|
|
"conditions": [
|
|
{
|
|
"type": "Available",
|
|
"status": "True",
|
|
"lastUpdateTime": "2021-12-17T18:39:25Z",
|
|
"lastTransitionTime": "2021-12-17T18:39:25Z",
|
|
"reason": "MinimumReplicasAvailable",
|
|
"message": "Deployment has minimum availability."
|
|
},
|
|
{
|
|
"type": "Progressing",
|
|
"status": "True",
|
|
"lastUpdateTime": "2021-12-17T18:39:42Z",
|
|
"lastTransitionTime": "2021-12-17T18:39:05Z",
|
|
"reason": "NewReplicaSetAvailable",
|
|
"message": "ReplicaSet \"coredns-f9fd979d6\" has successfully progressed."
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"metadata": {
|
|
"name": "metrics-server",
|
|
"namespace": "kube-system",
|
|
"selfLink": "/apis/apps/v1/namespaces/kube-system/deployments/metrics-server",
|
|
"uid": "2247dee8-5d1d-4e05-a6e8-a50f15db140b",
|
|
"resourceVersion": "2998",
|
|
"generation": 1,
|
|
"creationTimestamp": "2021-12-17T18:42:38Z",
|
|
"labels": {
|
|
"k8s-app": "metrics-server"
|
|
},
|
|
"annotations": {
|
|
"deployment.kubernetes.io/revision": "1",
|
|
"kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{},\"labels\":{\"k8s-app\":\"metrics-server\"},\"name\":\"metrics-server\",\"namespace\":\"kube-system\"},\"spec\":{\"selector\":{\"matchLabels\":{\"k8s-app\":\"metrics-server\"}},\"template\":{\"metadata\":{\"labels\":{\"k8s-app\":\"metrics-server\"},\"name\":\"metrics-server\"},\"spec\":{\"containers\":[{\"args\":[\"--cert-dir=/tmp\",\"--secure-port=4443\",\"--kubelet-insecure-tls\"],\"image\":\"k8s.gcr.io/metrics-server/metrics-server:v0.3.7\",\"imagePullPolicy\":\"IfNotPresent\",\"name\":\"metrics-server\",\"ports\":[{\"containerPort\":4443,\"name\":\"main-port\",\"protocol\":\"TCP\"}],\"securityContext\":{\"readOnlyRootFilesystem\":true,\"runAsNonRoot\":true,\"runAsUser\":1000},\"volumeMounts\":[{\"mountPath\":\"/tmp\",\"name\":\"tmp-dir\"}]}],\"nodeSelector\":{\"kubernetes.io/os\":\"linux\"},\"serviceAccountName\":\"metrics-server\",\"volumes\":[{\"emptyDir\":{},\"name\":\"tmp-dir\"}]}}}}\n"
|
|
},
|
|
"managedFields": [
|
|
{
|
|
"manager": "kubectl-client-side-apply",
|
|
"operation": "Update",
|
|
"apiVersion": "apps/v1",
|
|
"time": "2021-12-17T18:42:38Z",
|
|
"fieldsType": "FieldsV1",
|
|
"fieldsV1": {
|
|
"f:metadata": {
|
|
"f:annotations": {
|
|
".": {},
|
|
"f:kubectl.kubernetes.io/last-applied-configuration": {}
|
|
},
|
|
"f:labels": {
|
|
".": {},
|
|
"f:k8s-app": {}
|
|
}
|
|
},
|
|
"f:spec": {
|
|
"f:progressDeadlineSeconds": {},
|
|
"f:replicas": {},
|
|
"f:revisionHistoryLimit": {},
|
|
"f:selector": {
|
|
"f:matchLabels": {
|
|
".": {},
|
|
"f:k8s-app": {}
|
|
}
|
|
},
|
|
"f:strategy": {
|
|
"f:rollingUpdate": {
|
|
".": {},
|
|
"f:maxSurge": {},
|
|
"f:maxUnavailable": {}
|
|
},
|
|
"f:type": {}
|
|
},
|
|
"f:template": {
|
|
"f:metadata": {
|
|
"f:labels": {
|
|
".": {},
|
|
"f:k8s-app": {}
|
|
},
|
|
"f:name": {}
|
|
},
|
|
"f:spec": {
|
|
"f:containers": {
|
|
"k:{\"name\":\"metrics-server\"}": {
|
|
".": {},
|
|
"f:args": {},
|
|
"f:image": {},
|
|
"f:imagePullPolicy": {},
|
|
"f:name": {},
|
|
"f:ports": {
|
|
".": {},
|
|
"k:{\"containerPort\":4443,\"protocol\":\"TCP\"}": {
|
|
".": {},
|
|
"f:containerPort": {},
|
|
"f:name": {},
|
|
"f:protocol": {}
|
|
}
|
|
},
|
|
"f:resources": {},
|
|
"f:securityContext": {
|
|
".": {},
|
|
"f:readOnlyRootFilesystem": {},
|
|
"f:runAsNonRoot": {},
|
|
"f:runAsUser": {}
|
|
},
|
|
"f:terminationMessagePath": {},
|
|
"f:terminationMessagePolicy": {},
|
|
"f:volumeMounts": {
|
|
".": {},
|
|
"k:{\"mountPath\":\"/tmp\"}": {
|
|
".": {},
|
|
"f:mountPath": {},
|
|
"f:name": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"f:dnsPolicy": {},
|
|
"f:nodeSelector": {
|
|
".": {},
|
|
"f:kubernetes.io/os": {}
|
|
},
|
|
"f:restartPolicy": {},
|
|
"f:schedulerName": {},
|
|
"f:securityContext": {},
|
|
"f:serviceAccount": {},
|
|
"f:serviceAccountName": {},
|
|
"f:terminationGracePeriodSeconds": {},
|
|
"f:volumes": {
|
|
".": {},
|
|
"k:{\"name\":\"tmp-dir\"}": {
|
|
".": {},
|
|
"f:emptyDir": {},
|
|
"f:name": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"manager": "kube-controller-manager",
|
|
"operation": "Update",
|
|
"apiVersion": "apps/v1",
|
|
"time": "2021-12-17T18:42:47Z",
|
|
"fieldsType": "FieldsV1",
|
|
"fieldsV1": {
|
|
"f:metadata": {
|
|
"f:annotations": {
|
|
"f:deployment.kubernetes.io/revision": {}
|
|
}
|
|
},
|
|
"f:status": {
|
|
"f:availableReplicas": {},
|
|
"f:conditions": {
|
|
".": {},
|
|
"k:{\"type\":\"Available\"}": {
|
|
".": {},
|
|
"f:lastTransitionTime": {},
|
|
"f:lastUpdateTime": {},
|
|
"f:message": {},
|
|
"f:reason": {},
|
|
"f:status": {},
|
|
"f:type": {}
|
|
},
|
|
"k:{\"type\":\"Progressing\"}": {
|
|
".": {},
|
|
"f:lastTransitionTime": {},
|
|
"f:lastUpdateTime": {},
|
|
"f:message": {},
|
|
"f:reason": {},
|
|
"f:status": {},
|
|
"f:type": {}
|
|
}
|
|
},
|
|
"f:observedGeneration": {},
|
|
"f:readyReplicas": {},
|
|
"f:replicas": {},
|
|
"f:updatedReplicas": {}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"spec": {
|
|
"replicas": 1,
|
|
"selector": {
|
|
"matchLabels": {
|
|
"k8s-app": "metrics-server"
|
|
}
|
|
},
|
|
"template": {
|
|
"metadata": {
|
|
"name": "metrics-server",
|
|
"creationTimestamp": null,
|
|
"labels": {
|
|
"k8s-app": "metrics-server"
|
|
}
|
|
},
|
|
"spec": {
|
|
"volumes": [
|
|
{
|
|
"name": "tmp-dir",
|
|
"emptyDir": {}
|
|
}
|
|
],
|
|
"containers": [
|
|
{
|
|
"name": "metrics-server",
|
|
"image": "k8s.gcr.io/metrics-server/metrics-server:v0.3.7",
|
|
"args": [
|
|
"--cert-dir=/tmp",
|
|
"--secure-port=4443",
|
|
"--kubelet-insecure-tls"
|
|
],
|
|
"ports": [
|
|
{
|
|
"name": "main-port",
|
|
"containerPort": 4443,
|
|
"protocol": "TCP"
|
|
}
|
|
],
|
|
"resources": {},
|
|
"volumeMounts": [
|
|
{
|
|
"name": "tmp-dir",
|
|
"mountPath": "/tmp"
|
|
}
|
|
],
|
|
"terminationMessagePath": "/dev/termination-log",
|
|
"terminationMessagePolicy": "File",
|
|
"imagePullPolicy": "IfNotPresent",
|
|
"securityContext": {
|
|
"runAsUser": 1000,
|
|
"runAsNonRoot": true,
|
|
"readOnlyRootFilesystem": true
|
|
}
|
|
}
|
|
],
|
|
"restartPolicy": "Always",
|
|
"terminationGracePeriodSeconds": 30,
|
|
"dnsPolicy": "ClusterFirst",
|
|
"nodeSelector": {
|
|
"kubernetes.io/os": "linux"
|
|
},
|
|
"serviceAccountName": "metrics-server",
|
|
"serviceAccount": "metrics-server",
|
|
"securityContext": {},
|
|
"schedulerName": "default-scheduler"
|
|
}
|
|
},
|
|
"strategy": {
|
|
"type": "RollingUpdate",
|
|
"rollingUpdate": {
|
|
"maxUnavailable": "25%",
|
|
"maxSurge": "25%"
|
|
}
|
|
},
|
|
"revisionHistoryLimit": 10,
|
|
"progressDeadlineSeconds": 600
|
|
},
|
|
"status": {
|
|
"observedGeneration": 1,
|
|
"replicas": 2,
|
|
"updatedReplicas": 1,
|
|
"readyReplicas": 1,
|
|
"availableReplicas": 1,
|
|
"conditions": [
|
|
{
|
|
"type": "Available",
|
|
"status": "True",
|
|
"lastUpdateTime": "2021-12-17T18:42:47Z",
|
|
"lastTransitionTime": "2021-12-17T18:42:47Z",
|
|
"reason": "MinimumReplicasAvailable",
|
|
"message": "Deployment has minimum availability."
|
|
},
|
|
{
|
|
"type": "Progressing",
|
|
"status": "True",
|
|
"lastUpdateTime": "2021-12-17T18:42:47Z",
|
|
"lastTransitionTime": "2021-12-17T18:42:38Z",
|
|
"reason": "NewReplicaSetAvailable",
|
|
"message": "ReplicaSet \"metrics-server-56df6d849\" has successfully progressed."
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |