k8s_heimdall/heimdall_deployment.yml

53 lines
1.1 KiB
YAML
Raw Normal View History

2021-07-23 15:58:33 -04:00
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: heimdall
labels:
app: heimdall
spec:
replicas: 1
selector:
matchLabels:
app: heimdall
strategy:
type: RollingUpdate
2021-07-23 15:58:33 -04:00
template:
metadata:
labels:
app: heimdall
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
2021-12-27 15:09:26 -05:00
- key: kubernetes.io/arch
2021-07-23 15:58:33 -04:00
operator: In
values:
2022-11-20 20:41:46 -05:00
- arm64
2021-07-23 15:58:33 -04:00
containers:
- name: heimdall
image: linuxserver/heimdall
env:
- name: PUID
value: "65534"
- name: PGID
value: "65534"
- name: UMASK
value: "022"
- name: TZ
value: "EST5EDT"
ports:
- containerPort: 80
- containerPort: 443
volumeMounts:
- name: heimdall-config
mountPath: /config
volumes:
- name: heimdall-config
persistentVolumeClaim:
claimName: heimdall-config-pvc
# EOF