Create deployment.yaml

This commit is contained in:
Rajesh1b 2024-09-26 15:42:05 +05:30 committed by GitHub
parent 7aa7256236
commit 58d6105e77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

21
k8s/deployment.yaml Normal file
View file

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