1
This commit is contained in:
parent
d7e0750659
commit
938db68be9
@ -39,6 +39,8 @@ spec:
|
||||
volumeMounts:
|
||||
- mountPath: /conf
|
||||
name: conf
|
||||
- mountPath: /certs
|
||||
name: certs
|
||||
ports:
|
||||
- name: turn-port1
|
||||
containerPort: 3478
|
||||
|
@ -10,4 +10,9 @@ resources:
|
||||
configMapGenerator:
|
||||
- name: coturn-conf
|
||||
files:
|
||||
- config/turnserver.conf
|
||||
- config/turnserver.conf
|
||||
patches:
|
||||
- path: overlay.yaml
|
||||
target:
|
||||
kind: DaemonSet
|
||||
labelSelector: app.kubernetes.io/name=coturn
|
14
coturn/overlay.yaml
Normal file
14
coturn/overlay.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
name: coturn
|
||||
spec:
|
||||
selector: {}
|
||||
template:
|
||||
spec:
|
||||
volumes:
|
||||
- name: certs
|
||||
secret:
|
||||
secretName: wetofu-me-certs
|
||||
optional: false
|
||||
|
28
nicball-factorio/daemonset.yaml
Normal file
28
nicball-factorio/daemonset.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
name: nicball-factorio
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: nicball-factorio
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nicball-factorio
|
||||
spec:
|
||||
hostNetwork: true
|
||||
containers:
|
||||
- name: nicball-factorio
|
||||
image: alpine/socat:1.7.4.3-r0
|
||||
args:
|
||||
- '-ls'
|
||||
- UDP-LISTEN:34197,reuseaddr,fork
|
||||
- UDP6:nuc.nicball.me:34197
|
||||
resources:
|
||||
limits:
|
||||
cpu: 100m
|
||||
memory: 32Mi
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 8Mi
|
6
nicball-factorio/kustomization.yaml
Normal file
6
nicball-factorio/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json
|
||||
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- daemonset.yaml
|
Loading…
Reference in New Issue
Block a user