hub deployment
This commit is contained in:
52
beszel/manifests/beszel-hub-dpl.yaml
Normal file
52
beszel/manifests/beszel-hub-dpl.yaml
Normal file
@@ -0,0 +1,52 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: beszel-hub
|
||||
namespace: monitoring
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: beszel-hub
|
||||
template:
|
||||
metadata:
|
||||
name: beszel-hub
|
||||
labels:
|
||||
app: beszel-hub
|
||||
spec:
|
||||
volumes:
|
||||
- name: beszel-hub-pvc
|
||||
persistentVolumeClaim:
|
||||
claimName: beszel-hub-pvc
|
||||
containers:
|
||||
- name: beszel
|
||||
image: henrygd/beszel
|
||||
volumeMounts:
|
||||
- name: beszel-hub-pvc
|
||||
mountPath: /beszel_data
|
||||
env:
|
||||
- name: APP_URL
|
||||
valueFrom:
|
||||
configMapRefKey:
|
||||
key: app_url
|
||||
name: beszel-cnf
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 200Mi
|
||||
limits:
|
||||
cpu: 200m
|
||||
memory: 500Mi
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
port: 8090
|
||||
path: /
|
||||
initialDelaySeconds: 30
|
||||
failureThreshold: 5
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
port: 8090
|
||||
path: /
|
||||
initialDelaySeconds: 30
|
||||
failureThreshold: 5
|
||||
|
||||
Reference in New Issue
Block a user