|
| 1 | +apiVersion: apps/v1 |
| 2 | +kind: Deployment |
| 3 | +metadata: |
| 4 | + annotations: |
| 5 | + deployment.kubernetes.io/revision: '1' |
| 6 | + creationTimestamp: '2022-09-18T23:50:25Z' |
| 7 | + generation: 1 |
| 8 | + labels: |
| 9 | + app: missing |
| 10 | + applications.argoproj.io/app-name: nginx |
| 11 | + something-else: bla |
| 12 | + managedFields: |
| 13 | + - apiVersion: apps/v1 |
| 14 | + fieldsType: FieldsV1 |
| 15 | + fieldsV1: |
| 16 | + 'f:metadata': |
| 17 | + 'f:labels': |
| 18 | + 'f:app': {} |
| 19 | + 'f:applications.argoproj.io/app-name': {} |
| 20 | + 'f:something-else': {} |
| 21 | + 'f:spec': |
| 22 | + 'f:replicas': {} |
| 23 | + 'f:selector': {} |
| 24 | + 'f:template': |
| 25 | + 'f:metadata': |
| 26 | + 'f:labels': |
| 27 | + 'f:app': {} |
| 28 | + 'f:applications.argoproj.io/app-name': {} |
| 29 | + 'f:spec': |
| 30 | + 'f:containers': |
| 31 | + 'k:{"name":"nginx"}': |
| 32 | + .: {} |
| 33 | + 'f:image': {} |
| 34 | + 'f:imagePullPolicy': {} |
| 35 | + 'f:livenessProbe': |
| 36 | + 'f:exec': |
| 37 | + 'f:command': {} |
| 38 | + 'f:initialDelaySeconds': {} |
| 39 | + 'f:periodSeconds': {} |
| 40 | + 'f:name': {} |
| 41 | + 'f:ports': |
| 42 | + 'k:{"containerPort":80,"protocol":"TCP"}': |
| 43 | + .: {} |
| 44 | + 'f:containerPort': {} |
| 45 | + 'f:protocol': {} |
| 46 | + 'f:resources': |
| 47 | + 'f:requests': |
| 48 | + 'f:cpu': {} |
| 49 | + 'f:memory': {} |
| 50 | + manager: argocd-controller |
| 51 | + operation: Apply |
| 52 | + time: '2022-09-18T23:50:25Z' |
| 53 | + - apiVersion: apps/v1 |
| 54 | + fieldsType: FieldsV1 |
| 55 | + fieldsV1: |
| 56 | + 'f:metadata': |
| 57 | + 'f:annotations': |
| 58 | + .: {} |
| 59 | + 'f:deployment.kubernetes.io/revision': {} |
| 60 | + 'f:status': |
| 61 | + 'f:availableReplicas': {} |
| 62 | + 'f:conditions': |
| 63 | + .: {} |
| 64 | + 'k:{"type":"Available"}': |
| 65 | + .: {} |
| 66 | + 'f:lastTransitionTime': {} |
| 67 | + 'f:lastUpdateTime': {} |
| 68 | + 'f:message': {} |
| 69 | + 'f:reason': {} |
| 70 | + 'f:status': {} |
| 71 | + 'f:type': {} |
| 72 | + 'k:{"type":"Progressing"}': |
| 73 | + .: {} |
| 74 | + 'f:lastTransitionTime': {} |
| 75 | + 'f:lastUpdateTime': {} |
| 76 | + 'f:message': {} |
| 77 | + 'f:reason': {} |
| 78 | + 'f:status': {} |
| 79 | + 'f:type': {} |
| 80 | + 'f:observedGeneration': {} |
| 81 | + 'f:readyReplicas': {} |
| 82 | + 'f:replicas': {} |
| 83 | + 'f:updatedReplicas': {} |
| 84 | + manager: kube-controller-manager |
| 85 | + operation: Update |
| 86 | + subresource: status |
| 87 | + time: '2022-09-23T18:30:59Z' |
| 88 | + name: nginx-deployment |
| 89 | + namespace: default |
| 90 | + resourceVersion: '7492752' |
| 91 | + uid: 731f7434-d3d9-47fa-b179-d9368a84f7c9 |
| 92 | +spec: |
| 93 | + progressDeadlineSeconds: 600 |
| 94 | + replicas: 2 |
| 95 | + revisionHistoryLimit: 10 |
| 96 | + selector: |
| 97 | + matchLabels: |
| 98 | + app: nginx |
| 99 | + strategy: |
| 100 | + rollingUpdate: |
| 101 | + maxSurge: 25% |
| 102 | + maxUnavailable: 25% |
| 103 | + type: RollingUpdate |
| 104 | + template: |
| 105 | + metadata: |
| 106 | + creationTimestamp: null |
| 107 | + labels: |
| 108 | + app: nginx |
| 109 | + applications.argoproj.io/app-name: nginx |
| 110 | + spec: |
| 111 | + containers: |
| 112 | + - image: 'nginx:1.23.1' |
| 113 | + imagePullPolicy: Never |
| 114 | + livenessProbe: |
| 115 | + exec: |
| 116 | + command: |
| 117 | + - cat |
| 118 | + - non-existent-file |
| 119 | + failureThreshold: 3 |
| 120 | + initialDelaySeconds: 5 |
| 121 | + periodSeconds: 180 |
| 122 | + successThreshold: 1 |
| 123 | + timeoutSeconds: 1 |
| 124 | + name: nginx |
| 125 | + ports: |
| 126 | + - containerPort: 80 |
| 127 | + protocol: TCP |
| 128 | + - containerPort: 8080 |
| 129 | + protocol: TCP |
| 130 | + - containerPort: 8081 |
| 131 | + protocol: UDP |
| 132 | + resources: |
| 133 | + requests: |
| 134 | + memory: 512Mi |
| 135 | + cpu: 500m |
| 136 | + terminationMessagePath: /dev/termination-log |
| 137 | + terminationMessagePolicy: File |
| 138 | + dnsPolicy: ClusterFirst |
| 139 | + restartPolicy: Always |
| 140 | + schedulerName: default-scheduler |
| 141 | + securityContext: {} |
| 142 | + terminationGracePeriodSeconds: 30 |
| 143 | +status: |
| 144 | + availableReplicas: 2 |
| 145 | + conditions: |
| 146 | + - lastTransitionTime: '2022-09-18T23:50:25Z' |
| 147 | + lastUpdateTime: '2022-09-18T23:50:26Z' |
| 148 | + message: ReplicaSet "nginx-deployment-6d68ff5f86" has successfully progressed. |
| 149 | + reason: NewReplicaSetAvailable |
| 150 | + status: 'True' |
| 151 | + type: Progressing |
| 152 | + - lastTransitionTime: '2022-09-23T18:30:59Z' |
| 153 | + lastUpdateTime: '2022-09-23T18:30:59Z' |
| 154 | + message: Deployment has minimum availability. |
| 155 | + reason: MinimumReplicasAvailable |
| 156 | + status: 'True' |
| 157 | + type: Available |
| 158 | + observedGeneration: 1 |
| 159 | + readyReplicas: 2 |
| 160 | + replicas: 2 |
| 161 | + updatedReplicas: 2 |
0 commit comments