Deployment Yaml

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

apiVersion: apps/v1

kind: Deployment
metadata:
name: zaqar
namespace: default
labels:
app: zaqar
version: v1.0.0
env: production
spec:
replicas: 1
strategy:
type: RollingUpdate
selector:
matchLabels:
app: zaqar
env: production
template:
metadata:
labels:
app: zaqar
version: v1.0.0
env: production
spec:
containers:
- name: zaqar
image: "khaosdoctor/zaqar:v1.0.0"
imagePullPolicy: IfNotPresent
env:
- name: SENDGRID_APIKEY
value: "MY_SECRET_KEY"
- name: DEFAULT_FROM_ADDRESS
value: "my@email.com"
- name: DEFAULT_FROM_NAME
value: "Lucas Santos"
ports:
- name: http
containerPort: 3000
protocol: TCP
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 250m
memory: 256Mi

You might also like