github.com/splunk/dan1-qbec@v0.7.3/internal/types/testdata/deploy/wait-observe.json (about) 1 { 2 "apiVersion": "extensions/v1beta1", 3 "kind": "Deployment", 4 "metadata": { 5 "annotations": { 6 "deployment.kubernetes.io/revision": "1", 7 "test/status": "waiting for spec update to be observed" 8 }, 9 "creationTimestamp": "2019-07-16T23:18:14Z", 10 "generation": 2, 11 "labels": { 12 "run": "nginx" 13 }, 14 "name": "nginx", 15 "namespace": "default", 16 "resourceVersion": "146445064", 17 "selfLink": "/apis/extensions/v1beta1/namespaces/default/deployments/nginx", 18 "uid": "fc9c5c4f-a81f-11e9-9cb0-02b049f8a858" 19 }, 20 "spec": { 21 "progressDeadlineSeconds": 2147483647, 22 "replicas": 4, 23 "revisionHistoryLimit": 10, 24 "selector": { 25 "matchLabels": { 26 "run": "nginx" 27 } 28 }, 29 "strategy": { 30 "rollingUpdate": { 31 "maxSurge": "25%", 32 "maxUnavailable": "25%" 33 }, 34 "type": "RollingUpdate" 35 }, 36 "template": { 37 "metadata": { 38 "labels": { 39 "run": "nginx" 40 } 41 }, 42 "spec": { 43 "containers": [ 44 { 45 "image": "nginx", 46 "imagePullPolicy": "Always", 47 "name": "nginx", 48 "resources": {}, 49 "terminationMessagePath": "/dev/termination-log", 50 "terminationMessagePolicy": "File" 51 } 52 ], 53 "dnsPolicy": "ClusterFirst", 54 "restartPolicy": "Always", 55 "schedulerName": "default-scheduler", 56 "securityContext": {}, 57 "terminationGracePeriodSeconds": 30 58 } 59 } 60 }, 61 "status": { 62 "conditions": [ 63 { 64 "lastTransitionTime": "2019-07-16T23:18:14Z", 65 "lastUpdateTime": "2019-07-16T23:18:14Z", 66 "message": "Deployment does not have minimum availability.", 67 "reason": "MinimumReplicasUnavailable", 68 "status": "False", 69 "type": "Available" 70 } 71 ], 72 "observedGeneration": 1, 73 "replicas": 4, 74 "unavailableReplicas": 4, 75 "updatedReplicas": 4 76 } 77 }