beaverhabits

This commit is contained in:
2025-01-12 16:25:05 -05:00
parent 74ea85b10e
commit 3d4650c540
7 changed files with 113 additions and 0 deletions

29
habits/deployment.yaml Normal file
View File

@@ -0,0 +1,29 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: beaverhabits
namespace: habits
spec:
selector:
matchLabels:
app: beaverhabits
template:
metadata:
labels:
app: beaverhabits
spec:
containers:
- name: beaverhabits
image: daya0576/beaverhabits:latest
imagePullPolicy: Always
ports:
- containerPort: 8080
name: http
protocol: TCP
volumeMounts:
- name: data
mountPath: /app/.user
volumes:
- name: data
persistentVolumeClaim:
claimName: beaverhabits