-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Expand file tree
/
Copy pathdeployment.yaml
More file actions
81 lines (81 loc) · 2.44 KB
/
deployment.yaml
File metadata and controls
81 lines (81 loc) · 2.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
autopilot.gke.io/resource-adjustment: '{"input":{"containers":[{"name":"hello-world-rest-api"}]},"output":{"containers":[{"limits":{"ephemeral-storage":"1Gi"},"requests":{"cpu":"500m","ephemeral-storage":"1Gi","memory":"2Gi"},"name":"hello-world-rest-api"}]},"computeClassAtAdmission":"Default","modified":true}'
autopilot.gke.io/warden-version: 33.33.19-gke.1
deployment.kubernetes.io/revision: "5"
creationTimestamp: "2025-10-16T02:55:03Z"
generation: 6
labels:
app: hello-world-rest-api
name: hello-world-rest-api
namespace: default
resourceVersion: "1761451092369951013"
uid: 9fedc012-0f0f-4ee7-a3ba-52ec78bb91b7
spec:
progressDeadlineSeconds: 600
replicas: 2
revisionHistoryLimit: 10
selector:
matchLabels:
app: hello-world-rest-api
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
app: hello-world-rest-api
spec:
containers:
- image: in28min/hello-world-rest-api:0.0.1.RELEASE
imagePullPolicy: IfNotPresent
name: hello-world-rest-api
resources:
limits:
ephemeral-storage: 1Gi
requests:
cpu: 500m
ephemeral-storage: 1Gi
memory: 2Gi
securityContext:
capabilities:
drop:
- NET_RAW
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
seccompProfile:
type: RuntimeDefault
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoSchedule
key: kubernetes.io/arch
operator: Equal
value: amd64
status:
availableReplicas: 2
conditions:
- lastTransitionTime: "2025-10-16T03:33:53Z"
lastUpdateTime: "2025-10-16T03:33:53Z"
message: Deployment has minimum availability.
reason: MinimumReplicasAvailable
status: "True"
type: Available
- lastTransitionTime: "2025-10-16T02:55:03Z"
lastUpdateTime: "2025-10-26T03:58:12Z"
message: ReplicaSet "hello-world-rest-api-fd687cfd4" has successfully progressed.
reason: NewReplicaSetAvailable
status: "True"
type: Progressing
observedGeneration: 6
readyReplicas: 2
replicas: 2
updatedReplicas: 2