Created
March 14, 2018 23:12
-
-
Save alena1108/8c05c2eb2265758221ace48ce8d8cfb7 to your computer and use it in GitHub Desktop.
nocondition
This file contains hidden or 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": "extensions/v1beta1", | |
| "kind": "Deployment", | |
| "metadata": { | |
| "annotations": { | |
| "deployment.kubernetes.io/revision": "1" | |
| }, | |
| "creationTimestamp": "2018-03-14T22:59:11Z", | |
| "generation": 1, | |
| "labels": { | |
| "run": "nginx" | |
| }, | |
| "name": "nginx", | |
| "namespace": "default", | |
| "resourceVersion": "591", | |
| "selfLink": "/apis/extensions/v1beta1/namespaces/default/deployments/nginx", | |
| "uid": "4f06e751-27db-11e8-b8f3-080027f50674" | |
| }, | |
| "spec": { | |
| "replicas": 1, | |
| "selector": { | |
| "matchLabels": { | |
| "run": "nginx" | |
| } | |
| }, | |
| "strategy": { | |
| "rollingUpdate": { | |
| "maxSurge": 1, | |
| "maxUnavailable": 1 | |
| }, | |
| "type": "RollingUpdate" | |
| }, | |
| "template": { | |
| "metadata": { | |
| "creationTimestamp": null, | |
| "labels": { | |
| "run": "nginx" | |
| } | |
| }, | |
| "spec": { | |
| "containers": [ | |
| { | |
| "image": "nginx123", | |
| "imagePullPolicy": "Always", | |
| "name": "nginx", | |
| "resources": {}, | |
| "terminationMessagePath": "/dev/termination-log", | |
| "terminationMessagePolicy": "File" | |
| } | |
| ], | |
| "dnsPolicy": "ClusterFirst", | |
| "restartPolicy": "Always", | |
| "schedulerName": "default-scheduler", | |
| "securityContext": {}, | |
| "terminationGracePeriodSeconds": 30 | |
| } | |
| } | |
| }, | |
| "status": { | |
| "conditions": [ | |
| { | |
| "lastTransitionTime": "2018-03-14T22:59:11Z", | |
| "lastUpdateTime": "2018-03-14T22:59:11Z", | |
| "message": "Deployment has minimum availability.", | |
| "reason": "MinimumReplicasAvailable", | |
| "status": "True", | |
| "type": "Available" | |
| } | |
| ], | |
| "observedGeneration": 1, | |
| "replicas": 1, | |
| "unavailableReplicas": 1, | |
| "updatedReplicas": 1 | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment