Created
March 23, 2021 10:11
-
-
Save benjdlambert/ee064659fb5e55da6c4633760509b206 to your computer and use it in GitHub Desktop.
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": "apps/v1", | |
"kind": "Deployment", | |
"metadata": { | |
"annotations": { | |
"deployment.kubernetes.io/revision": "1", | |
"kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{},\"labels\":{\"app.kubernetes.io/name\":\"emoji\",\"app.kubernetes.io/part-of\":\"emojivoto\",\"app.kubernetes.io/version\":\"v10\",\"backstage.io/kubernetes-id\":\"emoji\"},\"name\":\"emoji\",\"namespace\":\"emojivoto\"},\"spec\":{\"replicas\":1,\"selector\":{\"matchLabels\":{\"app\":\"emoji-svc\",\"version\":\"v10\"}},\"template\":{\"metadata\":{\"labels\":{\"app\":\"emoji-svc\",\"backstage.io/kubernetes-id\":\"emoji\",\"version\":\"v10\"}},\"spec\":{\"containers\":[{\"env\":[{\"name\":\"GRPC_PORT\",\"value\":\"8080\"},{\"name\":\"PROM_PORT\",\"value\":\"8801\"}],\"image\":\"buoyantio/emojivoto-emoji-svc:v10\",\"name\":\"emoji-svc\",\"ports\":[{\"containerPort\":8080,\"name\":\"grpc\"},{\"containerPort\":8801,\"name\":\"prom\"}],\"resources\":{\"requests\":{\"cpu\":\"100m\"}}}],\"serviceAccountName\":\"emoji\"}}}}\n" | |
}, | |
"creationTimestamp": "2021-03-10T08:50:15Z", | |
"generation": 1, | |
"labels": { | |
"app.kubernetes.io/name": "emoji", | |
"app.kubernetes.io/part-of": "emojivoto", | |
"app.kubernetes.io/version": "v10", | |
"backstage.io/kubernetes-id": "emoji" | |
}, | |
"managedFields": [ | |
{ | |
"apiVersion": "apps/v1", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:annotations": { | |
".": {}, | |
"f:kubectl.kubernetes.io/last-applied-configuration": {} | |
}, | |
"f:labels": { | |
".": {}, | |
"f:app.kubernetes.io/name": {}, | |
"f:app.kubernetes.io/part-of": {}, | |
"f:app.kubernetes.io/version": {}, | |
"f:backstage.io/kubernetes-id": {} | |
} | |
}, | |
"f:spec": { | |
"f:progressDeadlineSeconds": {}, | |
"f:replicas": {}, | |
"f:revisionHistoryLimit": {}, | |
"f:selector": { | |
"f:matchLabels": { | |
".": {}, | |
"f:app": {}, | |
"f:version": {} | |
} | |
}, | |
"f:strategy": { | |
"f:rollingUpdate": { | |
".": {}, | |
"f:maxSurge": {}, | |
"f:maxUnavailable": {} | |
}, | |
"f:type": {} | |
}, | |
"f:template": { | |
"f:metadata": { | |
"f:labels": { | |
".": {}, | |
"f:app": {}, | |
"f:backstage.io/kubernetes-id": {}, | |
"f:version": {} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"emoji-svc\"}": { | |
".": {}, | |
"f:env": { | |
".": {}, | |
"k:{\"name\":\"GRPC_PORT\"}": { | |
".": {}, | |
"f:name": {}, | |
"f:value": {} | |
}, | |
"k:{\"name\":\"PROM_PORT\"}": { | |
".": {}, | |
"f:name": {}, | |
"f:value": {} | |
} | |
}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:name": {}, | |
"f:ports": { | |
".": {}, | |
"k:{\"containerPort\":8080,\"protocol\":\"TCP\"}": { | |
".": {}, | |
"f:containerPort": {}, | |
"f:name": {}, | |
"f:protocol": {} | |
}, | |
"k:{\"containerPort\":8801,\"protocol\":\"TCP\"}": { | |
".": {}, | |
"f:containerPort": {}, | |
"f:name": {}, | |
"f:protocol": {} | |
} | |
}, | |
"f:resources": { | |
".": {}, | |
"f:requests": { | |
".": {}, | |
"f:cpu": {} | |
} | |
}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:serviceAccount": {}, | |
"f:serviceAccountName": {}, | |
"f:terminationGracePeriodSeconds": {} | |
} | |
} | |
} | |
}, | |
"manager": "kubectl-client-side-apply", | |
"operation": "Update", | |
"time": "2021-03-10T08:50:15Z" | |
}, | |
{ | |
"apiVersion": "apps/v1", | |
"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": {} | |
} | |
}, | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"time": "2021-03-10T08:50:37Z" | |
} | |
], | |
"name": "emoji", | |
"namespace": "emojivoto", | |
"resourceVersion": "193806", | |
"selfLink": "/apis/apps/v1/namespaces/emojivoto/deployments/emoji", | |
"uid": "bea15169-f218-4cb7-a40d-69c3102b7b38" | |
}, | |
"spec": { | |
"progressDeadlineSeconds": 600, | |
"replicas": 1, | |
"revisionHistoryLimit": 10, | |
"selector": { | |
"matchLabels": { | |
"app": "emoji-svc", | |
"version": "v10" | |
} | |
}, | |
"strategy": { | |
"rollingUpdate": { | |
"maxSurge": "25%", | |
"maxUnavailable": "25%" | |
}, | |
"type": "RollingUpdate" | |
}, | |
"template": { | |
"metadata": { | |
"creationTimestamp": null, | |
"labels": { | |
"app": "emoji-svc", | |
"backstage.io/kubernetes-id": "emoji", | |
"version": "v10" | |
} | |
}, | |
"spec": { | |
"containers": [ | |
{ | |
"env": [ | |
{ | |
"name": "GRPC_PORT", | |
"value": "8080" | |
}, | |
{ | |
"name": "PROM_PORT", | |
"value": "8801" | |
} | |
], | |
"image": "buoyantio/emojivoto-emoji-svc:v10", | |
"imagePullPolicy": "IfNotPresent", | |
"name": "emoji-svc", | |
"ports": [ | |
{ | |
"containerPort": 8080, | |
"name": "grpc", | |
"protocol": "TCP" | |
}, | |
{ | |
"containerPort": 8801, | |
"name": "prom", | |
"protocol": "TCP" | |
} | |
], | |
"resources": { | |
"requests": { | |
"cpu": "100m" | |
} | |
}, | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File" | |
} | |
], | |
"dnsPolicy": "ClusterFirst", | |
"restartPolicy": "Always", | |
"schedulerName": "default-scheduler", | |
"securityContext": {}, | |
"serviceAccount": "emoji", | |
"serviceAccountName": "emoji", | |
"terminationGracePeriodSeconds": 30 | |
} | |
} | |
}, | |
"status": { | |
"availableReplicas": 1, | |
"conditions": [ | |
{ | |
"lastTransitionTime": "2021-03-10T08:50:37Z", | |
"lastUpdateTime": "2021-03-10T08:50:37Z", | |
"message": "Deployment has minimum availability.", | |
"reason": "MinimumReplicasAvailable", | |
"status": "True", | |
"type": "Available" | |
}, | |
{ | |
"lastTransitionTime": "2021-03-10T08:50:15Z", | |
"lastUpdateTime": "2021-03-10T08:50:37Z", | |
"message": "ReplicaSet \"emoji-ddb54ff99\" has successfully progressed.", | |
"reason": "NewReplicaSetAvailable", | |
"status": "True", | |
"type": "Progressing" | |
} | |
], | |
"observedGeneration": 1, | |
"readyReplicas": 1, | |
"replicas": 1, | |
"updatedReplicas": 1 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment