Dashy
This commit is contained in:
parent
5aa9f38cb9
commit
e3565f1c2c
2 changed files with 71 additions and 0 deletions
53
services/dashy/dashy-deployment.yaml
Normal file
53
services/dashy/dashy-deployment.yaml
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: kompose convert -f compose-dashy.yaml
|
||||||
|
kompose.version: 1.38.0 (HEAD)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: dashy
|
||||||
|
name: dashy
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: dashy
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: kompose convert -f compose-dashy.yaml
|
||||||
|
kompose.version: 1.38.0 (HEAD)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: dashy
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- env:
|
||||||
|
- name: GID
|
||||||
|
value: "1000"
|
||||||
|
- name: UID
|
||||||
|
value: "1000"
|
||||||
|
image: lissy93/dashy
|
||||||
|
livenessProbe:
|
||||||
|
exec:
|
||||||
|
command:
|
||||||
|
- node
|
||||||
|
- /app/services/healthcheck
|
||||||
|
failureThreshold: 3
|
||||||
|
initialDelaySeconds: 40
|
||||||
|
periodSeconds: 90
|
||||||
|
timeoutSeconds: 10
|
||||||
|
name: dashy
|
||||||
|
ports:
|
||||||
|
- containerPort: 8080
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /app/user-data
|
||||||
|
name: dashy-config
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- name: dashy-config
|
||||||
|
nfs:
|
||||||
|
server: birdfeeder2.home.nest
|
||||||
|
path: /k3s/dashy
|
||||||
18
services/dashy/dashy-service.yaml
Normal file
18
services/dashy/dashy-service.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: kompose convert -f compose-dashy.yaml
|
||||||
|
kompose.version: 1.38.0 (HEAD)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: dashy
|
||||||
|
name: dashy
|
||||||
|
spec:
|
||||||
|
type: NodePort
|
||||||
|
ports:
|
||||||
|
- name: "30870"
|
||||||
|
port: 30870
|
||||||
|
targetPort: 8080
|
||||||
|
nodePort: 30870
|
||||||
|
selector:
|
||||||
|
io.kompose.service: dashy
|
||||||
Loading…
Add table
Reference in a new issue