k8s_heimdall/heimdall_deployment.yml

53 lines
1.1 KiB
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: heimdall
labels:
app: heimdall
spec:
replicas: 1
selector:
matchLabels:
app: heimdall
strategy:
type: RollingUpdate
template:
metadata:
labels:
app: heimdall
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/arch
operator: In
values:
- arm64
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