headscale
This commit is contained in:
parent
d2eb37a915
commit
b21fe927b1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user