netflux-kubernetes/deploy/base/deploy-netflux-homepage.yaml

57 lines
1.4 KiB
YAML
Raw Permalink Normal View History

2022-06-06 11:47:37 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: netflux-homepage
labels:
app: netflux-homepage
component: web
app.kubernetes.io/name: netflux-homepage
app.kubernetes.io/instance: netflux-homepage
2023-09-10 22:18:13 +00:00
annotations:
ignore-check.kube-linter.io/run-as-non-root: "Not yet implemented"
2022-06-06 11:47:37 +00:00
spec:
selector:
matchLabels:
app: netflux-homepage
component: web
template:
metadata:
labels:
app: netflux-homepage
component: web
app.kubernetes.io/name: netflux-homepage
app.kubernetes.io/instance: netflux-homepage
spec:
containers:
2023-10-08 17:40:14 +00:00
- image: netfluxio/homepage:latest
2022-06-06 11:47:37 +00:00
imagePullPolicy: Always
name: netflux-homepage
ports:
- name: http
protocol: TCP
containerPort: 9000
env:
- name: NETFLUX_MATRIX_HOSTNAME
value: synapse.netflux.io:443
- name: NETFLUX_MATRIX_BASE_URL
value: https://synapse.matrix.io
resources:
requests:
memory: "16Mi"
cpu: "50m"
limits:
memory: "64Mi"
cpu: "100m"
livenessProbe:
failureThreshold: 10
httpGet:
path: /
port: 9000
scheme: HTTP
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 3
securityContext:
readOnlyRootFilesystem: true