36 lines
813 B
YAML
36 lines
813 B
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: coturn-dns
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
type: RollingUpdate
|
|
rollingUpdate:
|
|
maxSurge: 1
|
|
maxUnavailable: 0
|
|
selector:
|
|
matchLabels:
|
|
app: coturn-dns
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: coturn-dns
|
|
spec:
|
|
containers:
|
|
- name: coturn-dns
|
|
image: {{coturn_dns_image}} ####### CHANGE THIS TO YOUR ACTUAL DOCKER IMAGE
|
|
env:
|
|
- name: AWS_ACCESS_KEY_ID
|
|
value: "AKIA2SXEHOQFBQRGCSST"
|
|
- name: AWS_SECRET_ACCESS_KEY
|
|
value: "lj85CIIik/83V980VKEPfqlOWtutEM3s7bSqMZNH"
|
|
- name: PYTHONUNBUFFERED
|
|
value: "1"
|
|
resources:
|
|
requests:
|
|
memory: 32Mi
|
|
limits:
|
|
memory: 32Mi
|