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