headscale

This commit is contained in:
Sense T 2023-05-07 12:40:12 +00:00
parent d2eb37a915
commit b21fe927b1

View File

@ -1,5 +1,5 @@
apiVersion: apps/v1
kind: DaemonSet
kind: Deployment
metadata:
name: headscale
spec:
@ -8,7 +8,7 @@ spec:
labels:
app: headscale
spec:
hostNetwork: true
#hostNetwork: true
volumes:
- name: data
persistentVolumeClaim:
@ -22,7 +22,12 @@ spec:
containers:
- name: headscale
image: ghcr.io/juanfont/headscale
args:
resources:
limits:
cpu: "1"
memory: "512Mi"
command:
- headscale
- serve
volumeMounts:
- name: data
@ -33,4 +38,4 @@ spec:
mountPath: /etc/headscale
selector:
matchLabels:
app: headscale
app: headscale