mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 04:59:54 +00:00
34 lines
708 B
YAML
34 lines
708 B
YAML
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
|
|
envFrom:
|
|
- configMapRef:
|
|
name: beaverhabits
|
|
optional: false
|
|
ports:
|
|
- containerPort: 8080
|
|
name: http
|
|
protocol: TCP
|
|
volumeMounts:
|
|
- name: data
|
|
mountPath: /app/.user
|
|
volumes:
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: beaverhabits
|