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