mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-05 05:19:59 +00:00
beaverhabits
This commit is contained in:
29
habits/deployment.yaml
Normal file
29
habits/deployment.yaml
Normal 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
|
||||
Reference in New Issue
Block a user