mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 13:09:53 +00:00
initial refactor
This commit is contained in:
31
apps/uptime-kuma/uptime-kuma-deployment.yaml
Normal file
31
apps/uptime-kuma/uptime-kuma-deployment.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: uptime-kuma
|
||||
namespace: uptime-kuma
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: uptime-kuma
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: uptime-kuma
|
||||
spec:
|
||||
containers:
|
||||
- image: louislam/uptime-kuma:1
|
||||
name: uptime-kuma
|
||||
ports:
|
||||
- containerPort: 3001
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- mountPath: /app/data
|
||||
name: uptime-kuma-pvc
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: uptime-kuma-pvc
|
||||
persistentVolumeClaim:
|
||||
claimName: uptime-kuma-pvc
|
||||
Reference in New Issue
Block a user