From b21fe927b1440de76a7c70a091902edd686fccf8 Mon Sep 17 00:00:00 2001 From: Sense T Date: Sun, 7 May 2023 12:40:12 +0000 Subject: [PATCH] headscale --- headscale/server/daemonset.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/headscale/server/daemonset.yaml b/headscale/server/daemonset.yaml index 32bc4ac..2743742 100644 --- a/headscale/server/daemonset.yaml +++ b/headscale/server/daemonset.yaml @@ -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 \ No newline at end of file + app: headscale