Create update_deployment.yaml

pull/46254/head
Sabbir Ahmed Shameem 2024-05-07 23:00:28 +06:00 committed by GitHub
parent 724d16570e
commit fafa4a3c86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
spec:
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.16.1 # update the image
ports:
- containerPort: 80