Skip to content

Commit a501df9

Browse files
committed
updates
1 parent c61f212 commit a501df9

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

helm/primeiro_deployment.yml

+17-12
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,37 @@
1-
# cat primeiro_deployments_nginx_helm.yml
1+
# cat deployment_nginx02.yml
22
apiVersion: apps/v1
33
kind: Deployment
44
metadata:
5+
generation: 1
56
labels:
6-
app: giropops
7-
run: nginx
8-
name: primeiro-deployment
7+
app: nginx02
8+
name: nginx02
99
namespace: default
1010
spec:
1111
progressDeadlineSeconds: 600
1212
replicas: 1
1313
revisionHistoryLimit: 10
1414
selector:
1515
matchLabels:
16-
run: nginx
16+
app: nginx02
17+
strategy:
18+
rollingUpdate:
19+
maxSurge: 25%
20+
maxUnavailable: 25%
21+
type: RollingUpdate
22+
template:
23+
metadata:
24+
labels:
25+
app: nginx02
1726
spec:
1827
containers:
1928
- image: nginx
2029
imagePullPolicy: Always
21-
name: nginx2
22-
ports:
23-
- containerPort: 80
24-
protocol: TCP
25-
resources: {}
30+
name: nginx
31+
resources:
2632
terminationMessagePath: /dev/termination-log
2733
terminationMessagePolicy: File
2834
dnsPolicy: ClusterFirst
2935
restartPolicy: Always
3036
schedulerName: default-scheduler
31-
securityContext: {}
32-
terminationGracePeriodSeconds: 30
37+
securityContext: {}

0 commit comments

Comments
 (0)