{ "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app.kubernetes.io/name": "menuboard-web", "app.kubernetes.io/part-of": "flowercore" }, "name": "menuboard-web", "namespace": "fc-menuboard" }, "spec": { "progressDeadlineSeconds": 600, "replicas": 1, "revisionHistoryLimit": 10, "selector": { "matchLabels": { "app.kubernetes.io/name": "menuboard-web" } }, "strategy": { "type": "Recreate" }, "template": { "metadata": { "annotations": { "prometheus.io/path": "/metrics/prometheus", "prometheus.io/port": "5000", "prometheus.io/scrape": "true" }, "labels": { "app.kubernetes.io/name": "menuboard-web", "app.kubernetes.io/part-of": "flowercore" } }, "spec": { "containers": [ { "envFrom": [ { "configMapRef": { "name": "menuboard-web-config" } }, { "secretRef": { "name": "menuboard-web-secrets" } } ], "image": "localhost/fc-menuboard-web:v20260617-sec5-menuboard-303a636", "imagePullPolicy": "Never", "livenessProbe": { "failureThreshold": 3, "httpGet": { "path": "/health", "port": 5000, "scheme": "HTTP" }, "initialDelaySeconds": 30, "periodSeconds": 30, "successThreshold": 1, "timeoutSeconds": 5 }, "name": "menuboard-web", "ports": [ { "containerPort": 5000, "name": "http", "protocol": "TCP" } ], "readinessProbe": { "failureThreshold": 6, "httpGet": { "path": "/health", "port": 5000, "scheme": "HTTP" }, "initialDelaySeconds": 10, "periodSeconds": 10, "successThreshold": 1, "timeoutSeconds": 5 }, "resources": {}, "securityContext": { "allowPrivilegeEscalation": false, "capabilities": { "drop": [ "ALL" ] }, "readOnlyRootFilesystem": true }, "terminationMessagePath": "/dev/termination-log", "terminationMessagePolicy": "File", "volumeMounts": [ { "mountPath": "/data", "name": "data" }, { "mountPath": "/tmp", "name": "temp" }, { "mountPath": "/app/logs", "name": "logs" } ] } ], "dnsPolicy": "ClusterFirst", "restartPolicy": "Always", "schedulerName": "default-scheduler", "securityContext": { "fsGroup": 1654, "fsGroupChangePolicy": "OnRootMismatch", "runAsGroup": 1654, "runAsNonRoot": true, "runAsUser": 1654 }, "terminationGracePeriodSeconds": 30, "volumes": [ { "name": "data", "persistentVolumeClaim": { "claimName": "menuboard-web-data" } }, { "emptyDir": {}, "name": "temp" }, { "emptyDir": {}, "name": "logs" } ] } } } }