Created
February 11, 2018 06:14
-
-
Save alena1108/0800dab2aca9004bdb835c8aeeede3ab to your computer and use it in GitHub Desktop.
deployment
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": "v1", | |
| "items": [ | |
| { | |
| "apiVersion": "extensions/v1beta1", | |
| "kind": "Deployment", | |
| "metadata": { | |
| "annotations": { | |
| "deployment.kubernetes.io/revision": "1" | |
| }, | |
| "creationTimestamp": "2018-02-11T05:31:15Z", | |
| "generation": 1, | |
| "labels": { | |
| "run": "nginx" | |
| }, | |
| "name": "nginx", | |
| "namespace": "default", | |
| "resourceVersion": "3118", | |
| "selfLink": "/apis/extensions/v1beta1/namespaces/default/deployments/nginx", | |
| "uid": "c730b7f5-0eec-11e8-b429-080027cf88b6" | |
| }, | |
| "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": "nginx", | |
| "imagePullPolicy": "Always", | |
| "name": "nginx", | |
| "resources": {}, | |
| "terminationMessagePath": "/dev/termination-log", | |
| "terminationMessagePolicy": "File" | |
| } | |
| ], | |
| "dnsPolicy": "ClusterFirst", | |
| "restartPolicy": "Always", | |
| "schedulerName": "default-scheduler", | |
| "securityContext": {}, | |
| "terminationGracePeriodSeconds": 30 | |
| } | |
| } | |
| }, | |
| "status": { | |
| "availableReplicas": 1, | |
| "conditions": [ | |
| { | |
| "lastTransitionTime": "2018-02-11T05:31:15Z", | |
| "lastUpdateTime": "2018-02-11T05:31:15Z", | |
| "message": "Deployment has minimum availability.", | |
| "reason": "MinimumReplicasAvailable", | |
| "status": "True", | |
| "type": "Available" | |
| } | |
| ], | |
| "observedGeneration": 1, | |
| "readyReplicas": 1, | |
| "replicas": 1, | |
| "updatedReplicas": 1 | |
| } | |
| } | |
| ], | |
| "kind": "List", | |
| "metadata": { | |
| "resourceVersion": "", | |
| "selfLink": "" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment