github.com/verrazzano/verrazzano@v1.7.1/tools/vz/pkg/internal/test/cluster/testCattleSystempods/cluster-snapshot/cattle-system/deployments.json (about) 1 { 2 "kind": "DeploymentList", 3 "apiVersion": "apps/v1", 4 "metadata": { 5 "resourceVersion": "21584" 6 }, 7 "items": [ 8 { 9 "metadata": { 10 "name": "rancher", 11 "namespace": "cattle-system", 12 "uid": "e26c17dd-e2e4-495e-80dd-0fba3525afea", 13 "resourceVersion": "9470", 14 "generation": 2, 15 "creationTimestamp": "2022-06-16T10:21:29Z", 16 "labels": { 17 "app": "rancher", 18 "app.kubernetes.io/managed-by": "Helm", 19 "chart": "rancher-2.6.4", 20 "heritage": "Helm", 21 "release": "rancher" 22 }, 23 "annotations": { 24 "deployment.kubernetes.io/revision": "2", 25 "meta.helm.sh/release-name": "rancher", 26 "meta.helm.sh/release-namespace": "cattle-system" 27 } 28 }, 29 "spec": { 30 "replicas": 3, 31 "selector": { 32 "matchLabels": { 33 "app": "rancher" 34 } 35 }, 36 "template": { 37 "metadata": { 38 "creationTimestamp": null, 39 "labels": { 40 "app": "rancher", 41 "release": "rancher" 42 } 43 }, 44 "spec": { 45 "volumes": [ 46 { 47 "name": "tls-ca-volume", 48 "secret": { 49 "secretName": "tls-ca", 50 "defaultMode": 256 51 } 52 } 53 ], 54 "containers": [ 55 { 56 "name": "rancher", 57 "image": "ghcr.io/verrazzano/rancher:v2.6.4-20220504205847-7131173f2", 58 "args": [ 59 "--http-listen-port=80", 60 "--https-listen-port=443", 61 "--add-local=true" 62 ], 63 "ports": [ 64 { 65 "containerPort": 80, 66 "protocol": "TCP" 67 } 68 ], 69 "env": [ 70 { 71 "name": "CATTLE_NAMESPACE", 72 "value": "cattle-system" 73 }, 74 { 75 "name": "CATTLE_PEER_SERVICE", 76 "value": "rancher" 77 }, 78 { 79 "name": "CATTLE_SYSTEM_CATALOG", 80 "value": "bundled" 81 } 82 ], 83 "resources": {}, 84 "volumeMounts": [ 85 { 86 "name": "tls-ca-volume", 87 "readOnly": true, 88 "mountPath": "/etc/rancher/ssl/cacerts.pem", 89 "subPath": "cacerts.pem" 90 } 91 ], 92 "livenessProbe": { 93 "httpGet": { 94 "path": "/healthz", 95 "port": 80, 96 "scheme": "HTTP" 97 }, 98 "initialDelaySeconds": 60, 99 "timeoutSeconds": 1, 100 "periodSeconds": 30, 101 "successThreshold": 1, 102 "failureThreshold": 3 103 }, 104 "readinessProbe": { 105 "httpGet": { 106 "path": "/healthz", 107 "port": 80, 108 "scheme": "HTTP" 109 }, 110 "initialDelaySeconds": 5, 111 "timeoutSeconds": 1, 112 "periodSeconds": 30, 113 "successThreshold": 1, 114 "failureThreshold": 3 115 }, 116 "terminationMessagePath": "/dev/termination-log", 117 "terminationMessagePolicy": "File", 118 "imagePullPolicy": "IfNotPresent", 119 "securityContext": { 120 "capabilities": { 121 "add": [ 122 "MKNOD" 123 ] 124 } 125 } 126 } 127 ], 128 "restartPolicy": "Always", 129 "terminationGracePeriodSeconds": 30, 130 "dnsPolicy": "ClusterFirst", 131 "serviceAccountName": "rancher", 132 "serviceAccount": "rancher", 133 "securityContext": {}, 134 "imagePullSecrets": [ 135 { 136 "name": "verrazzano-container-registry" 137 } 138 ], 139 "affinity": { 140 "nodeAffinity": { 141 "requiredDuringSchedulingIgnoredDuringExecution": { 142 "nodeSelectorTerms": [ 143 { 144 "matchExpressions": [ 145 { 146 "key": "kubernetes.io/os", 147 "operator": "NotIn", 148 "values": [ 149 "windows" 150 ] 151 } 152 ] 153 } 154 ] 155 } 156 }, 157 "podAntiAffinity": { 158 "preferredDuringSchedulingIgnoredDuringExecution": [ 159 { 160 "weight": 100, 161 "podAffinityTerm": { 162 "labelSelector": { 163 "matchExpressions": [ 164 { 165 "key": "app", 166 "operator": "In", 167 "values": [ 168 "rancher" 169 ] 170 } 171 ] 172 }, 173 "topologyKey": "kubernetes.io/hostname" 174 } 175 } 176 ] 177 } 178 }, 179 "schedulerName": "default-scheduler", 180 "tolerations": [ 181 { 182 "key": "cattle.io/os", 183 "operator": "Equal", 184 "value": "linux", 185 "effect": "NoSchedule" 186 } 187 ] 188 } 189 }, 190 "strategy": { 191 "type": "RollingUpdate", 192 "rollingUpdate": { 193 "maxUnavailable": 1, 194 "maxSurge": 1 195 } 196 }, 197 "revisionHistoryLimit": 10, 198 "progressDeadlineSeconds": 600 199 }, 200 "status": { 201 "observedGeneration": 2, 202 "replicas": 3, 203 "updatedReplicas": 3, 204 "readyReplicas": 3, 205 "availableReplicas": 3, 206 "conditions": [ 207 { 208 "type": "Available", 209 "status": "True", 210 "lastUpdateTime": "2022-06-16T10:24:19Z", 211 "lastTransitionTime": "2022-06-16T10:24:19Z", 212 "reason": "MinimumReplicasAvailable", 213 "message": "Deployment has minimum availability." 214 }, 215 { 216 "type": "Progressing", 217 "status": "True", 218 "lastUpdateTime": "2022-06-16T10:25:50Z", 219 "lastTransitionTime": "2022-06-16T10:21:29Z", 220 "reason": "NewReplicaSetAvailable", 221 "message": "ReplicaSet \"rancher-649dc876b\" has successfully progressed." 222 } 223 ] 224 } 225 }, 226 { 227 "metadata": { 228 "name": "rancher-webhook", 229 "namespace": "cattle-system", 230 "uid": "4a895748-02f4-47b8-87a1-c08fd1c0b213", 231 "resourceVersion": "10622", 232 "generation": 1, 233 "creationTimestamp": "2022-06-16T10:27:13Z", 234 "labels": { 235 "app.kubernetes.io/managed-by": "Helm" 236 }, 237 "annotations": { 238 "deployment.kubernetes.io/revision": "1", 239 "meta.helm.sh/release-name": "rancher-webhook", 240 "meta.helm.sh/release-namespace": "cattle-system" 241 } 242 }, 243 "spec": { 244 "replicas": 1, 245 "selector": { 246 "matchLabels": { 247 "app": "rancher-webhook" 248 } 249 }, 250 "template": { 251 "metadata": { 252 "creationTimestamp": null, 253 "labels": { 254 "app": "rancher-webhook" 255 } 256 }, 257 "spec": { 258 "volumes": [ 259 { 260 "name": "tls", 261 "secret": { 262 "secretName": "rancher-webhook-tls", 263 "defaultMode": 420 264 } 265 } 266 ], 267 "containers": [ 268 { 269 "name": "rancher-webhook", 270 "image": "rancher/rancher-webhook:v0.2.5", 271 "ports": [ 272 { 273 "name": "https", 274 "containerPort": 9443, 275 "protocol": "TCP" 276 }, 277 { 278 "name": "capi-https", 279 "containerPort": 8777, 280 "protocol": "TCP" 281 } 282 ], 283 "env": [ 284 { 285 "name": "STAMP" 286 }, 287 { 288 "name": "ENABLE_CAPI", 289 "value": "true" 290 }, 291 { 292 "name": "ENABLE_MCM", 293 "value": "true" 294 }, 295 { 296 "name": "NAMESPACE", 297 "valueFrom": { 298 "fieldRef": { 299 "apiVersion": "v1", 300 "fieldPath": "metadata.namespace" 301 } 302 } 303 } 304 ], 305 "resources": {}, 306 "volumeMounts": [ 307 { 308 "name": "tls", 309 "mountPath": "/tmp/k8s-webhook-server/serving-certs" 310 } 311 ], 312 "terminationMessagePath": "/dev/termination-log", 313 "terminationMessagePolicy": "File", 314 "imagePullPolicy": "IfNotPresent" 315 } 316 ], 317 "restartPolicy": "Always", 318 "terminationGracePeriodSeconds": 30, 319 "dnsPolicy": "ClusterFirst", 320 "serviceAccountName": "rancher-webhook", 321 "serviceAccount": "rancher-webhook", 322 "securityContext": {}, 323 "schedulerName": "default-scheduler" 324 } 325 }, 326 "strategy": { 327 "type": "RollingUpdate", 328 "rollingUpdate": { 329 "maxUnavailable": "25%", 330 "maxSurge": "25%" 331 } 332 }, 333 "revisionHistoryLimit": 10, 334 "progressDeadlineSeconds": 600 335 }, 336 "status": { 337 "observedGeneration": 1, 338 "replicas": 1, 339 "updatedReplicas": 1, 340 "readyReplicas": 1, 341 "availableReplicas": 1, 342 "conditions": [ 343 { 344 "type": "Available", 345 "status": "True", 346 "lastUpdateTime": "2022-06-16T10:27:23Z", 347 "lastTransitionTime": "2022-06-16T10:27:23Z", 348 "reason": "MinimumReplicasAvailable", 349 "message": "Deployment has minimum availability." 350 }, 351 { 352 "type": "Progressing", 353 "status": "True", 354 "lastUpdateTime": "2022-06-16T10:27:23Z", 355 "lastTransitionTime": "2022-06-16T10:27:13Z", 356 "reason": "NewReplicaSetAvailable", 357 "message": "ReplicaSet \"rancher-webhook-6958cfcddf\" has successfully progressed." 358 } 359 ] 360 } 361 } 362 ] 363 }