video-iac/k8s/coturn/templates/deployment.yml

33 lines
657 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: coturn
labels:
app: coturn
spec:
selector:
matchLabels:
app: coturn
replicas: 1
template:
metadata:
labels:
app: coturn
spec:
hostNetwork: true
imagePullSecrets:
- name: gcr-json-key
containers:
- name: coturn
image: gcr.io/tough-craft-276813/coturn:latest
imagePullPolicy: Always
resources:
requests:
memory: "3800Mi"
cpu: "1200m"
limits:
memory: "3800Mi"
ports:
- containerPort: 3478
name: coturn