add coturn

This commit is contained in:
Victor Barba Martin 2021-11-09 14:16:32 +01:00
parent c99182cee9
commit 2cba5d2479
4 changed files with 61 additions and 1 deletions

View File

@ -0,0 +1,26 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: coturn
spec:
destination:
name: ''
namespace: coturn
server: 'https://kubernetes.default.svc'
source:
path: k8s/coturn
repoURL: 'git@bitbucket.org:jamkazam/video-iac.git'
targetRevision: HEAD
project: default
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
prune: true
allowEmpty: false
retry:
limit: 5
backoff:
duration: 5s
factor: 2
maxDuration: 3m

View File

@ -12,4 +12,5 @@ resources:
- external-dns.yaml
- ingress-nginx.yaml
- monitoring.yaml
- alertmanager-slack.yaml
- alertmanager-slack.yaml
- coturn.yaml

25
k8s/coturn/deployment.yml Normal file
View File

@ -0,0 +1,25 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: coturn-deployment
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:prod-0.1.83
ports:
- containerPort: 80
name: http

File diff suppressed because one or more lines are too long