32 lines
608 B
YAML
32 lines
608 B
YAML
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
|
|
|
|
resources:
|
|
limits:
|
|
memory: "256Mi"
|
|
cpu: "250m"
|
|
requests:
|
|
memory: "512Mi"
|
|
cpu: "100m" |