This commit is contained in:
2026-01-10 00:47:13 +01:00
parent b0509e9eca
commit ea4222a6ac
3 changed files with 2 additions and 2 deletions

23
deploy/deploy.yaml Normal file
View File

@@ -0,0 +1,23 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: swiggy-app
labels:
app: swiggy-app
spec:
replicas: 3
selector:
matchLabels:
app: swiggy-app
template:
metadata:
labels:
app: swiggy-app
spec:
terminationGracePeriodSeconds: 30
containers:
- name: swiggy-app
image: veeranarni/hotstar:latest
imagePullPolicy: "Always"
ports:
- containerPort: 3000

13
deploy/svc.yaml Normal file
View File

@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: swiggy-app
labels:
app: swiggy-app
spec:
type: LoadBalancer
ports:
- port: 80
targetPort: 3000
selector:
app: swiggy-app