53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: miniflux
|
|
namespace: watch
|
|
labels:
|
|
app.kubernetes.io/name: miniflux
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: miniflux
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/name: miniflux
|
|
spec:
|
|
containers:
|
|
- name: miniflux
|
|
image: miniflux/miniflux:latest
|
|
ports:
|
|
- name: http
|
|
containerPort: 8080
|
|
envFrom:
|
|
- secretRef:
|
|
name: miniflux-credentials
|
|
env:
|
|
- name: RUN_MIGRATIONS
|
|
value: "1"
|
|
- name: CREATE_ADMIN
|
|
value: "1"
|
|
- name: BASE_URL
|
|
value: https://miniflux.sttlab.pc
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
limits:
|
|
cpu: 1000m
|
|
memory: 768Mi
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /healthcheck
|
|
port: http
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /healthcheck
|
|
port: http
|
|
initialDelaySeconds: 15
|
|
periodSeconds: 20
|