k3s init
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: signal
|
||||
namespace: netbird
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: signal
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: signal
|
||||
spec:
|
||||
containers:
|
||||
- name: signal
|
||||
image: netbirdio/signal:latest
|
||||
env:
|
||||
- name: COALESCE_INTERVAL
|
||||
value: "5s"
|
||||
ports:
|
||||
- containerPort: 10000
|
||||
volumeMounts:
|
||||
- name: signal-data
|
||||
mountPath: /var/lib/netbird
|
||||
volumes:
|
||||
- name: signal-data
|
||||
persistentVolumeClaim:
|
||||
claimName: signal-data
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: signal-data
|
||||
namespace: netbird
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: signal
|
||||
namespace: netbird
|
||||
spec:
|
||||
selector:
|
||||
app: signal
|
||||
ports:
|
||||
- name: grpc
|
||||
port: 10000
|
||||
targetPort: 10000
|
||||
Reference in New Issue
Block a user