Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "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
- }
- }
Add Comment
Please, Sign In to add comment