apiVersion: apps/v1 kind: Deployment metadata: name: homer namespace: homer labels: app.kubernetes.io/name: homer spec: selector: matchLabels: app.kubernetes.io/name: homer template: metadata: labels: app.kubernetes.io/name: homer rpi5.cluster.policy/egress-kubeapi: "true" rpi5.cluster.policy/egress-namespace: "true" rpi5.cluster.policy/egress-world: "true" rpi5.cluster.policy/ingress-namespace: "true" rpi5.cluster.policy/ingress-nginx: "true" rpi5.cluster.policy/ingress-nodes: "true" rpi5.cluster.policy/ingress-world: "true" spec: securityContext: runAsUser: 1000 runAsGroup: 1000 fsGroup: 1000 containers: - name: homer image: b4bz/homer:v24.05.1 ports: - protocol: TCP containerPort: 8080 name: http volumeMounts: - name: www mountPath: /www volumes: - name: www hostPath: path: /mnt/nfs/AppData/homer/www type: Directory