Create nginx-deployment.yaml

pull/46254/head
Sabbir Ahmed Shameem 2024-05-07 22:29:35 +06:00 committed by GitHub
parent 0f2d563d86
commit 3df4ac1317
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: my-nginx
spec:
selector:
matchLabels:
app: nginx
replicas: 3
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80