Files
homelab-v/k8s/infra/network/cloudflared/daemon-set.yaml
T
Vegard Hagen 207b1892bf feat: cleanup of remodelling
move remodel folder down to root and delete old unused manifests
2024-07-21 23:21:12 +02:00

55 lines
1.4 KiB
YAML

apiVersion: apps/v1
kind: DaemonSet
metadata:
labels:
app: cloudflared
name: cloudflared
namespace: cloudflared
spec:
selector:
matchLabels:
app: cloudflared
template:
metadata:
labels:
app: cloudflared
spec:
containers:
- name: cloudflared
image: cloudflare/cloudflared:2024.6.1
imagePullPolicy: IfNotPresent
args:
- tunnel
- --config
- /etc/cloudflared/config/config.yaml
- run
livenessProbe:
httpGet:
path: /ready
port: 2000
initialDelaySeconds: 60
failureThreshold: 5
periodSeconds: 10
resources:
limits:
cpu: 100m
memory: 64Mi
requests:
cpu: 20m
memory: 32Mi
volumeMounts:
- name: cloudflared-config
mountPath: /etc/cloudflared/config/config.yaml
subPath: cloudflared-config.yaml
- name: tunnel-credentials
mountPath: /etc/cloudflared/creds
readOnly: true
restartPolicy: Always
volumes:
- name: cloudflared-config
configMap:
name: cloudflared-config
- name: tunnel-credentials
secret:
secretName: tunnel-credentials