{ "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "intranet-web" }, "name": "intranet-web", "namespace": "intranet" }, "spec": { "progressDeadlineSeconds": 600, "replicas": 1, "revisionHistoryLimit": 10, "selector": { "matchLabels": { "app": "intranet-web" } }, "strategy": { "type": "Recreate" }, "template": { "metadata": { "annotations": { "kubectl.kubernetes.io/restartedAt": "2026-06-14T00:57:21-05:00" }, "labels": { "app": "intranet-web" } }, "spec": { "containers": [ { "env": [ { "name": "ASPNETCORE_ENVIRONMENT", "value": "Production" }, { "name": "ASPNETCORE_URLS", "value": "http://+:5300" }, { "name": "IntranetSearch__OllamaBaseUrl", "value": "http://10.0.57.201:11434" }, { "name": "IntranetSearch__Enabled", "value": "true" }, { "name": "PageReadingOverrides__DatabasePath", "value": "/data/page-reading-overrides.db" }, { "name": "KnowledgeFleetSearch__BaseUrl", "value": "https://knowledge.iamworkin.lan" }, { "name": "KnowledgeFleetSearch__ApiKey", "valueFrom": { "configMapKeyRef": { "key": "KnowledgeApiKey", "name": "intranet-config", "optional": true } } }, { "name": "TrustedHeaderAuthentication__SharedSecret", "valueFrom": { "configMapKeyRef": { "key": "TrustedHeaderSharedSecret", "name": "intranet-config", "optional": true } } } ], "image": "localhost/fc-intranet-web:gx10-v1", "imagePullPolicy": "Never", "livenessProbe": { "failureThreshold": 3, "httpGet": { "path": "/health", "port": 5300, "scheme": "HTTP" }, "initialDelaySeconds": 30, "periodSeconds": 30, "successThreshold": 1, "timeoutSeconds": 1 }, "name": "intranet-web", "ports": [ { "containerPort": 5300, "name": "http", "protocol": "TCP" } ], "readinessProbe": { "failureThreshold": 3, "httpGet": { "path": "/health", "port": 5300, "scheme": "HTTP" }, "initialDelaySeconds": 10, "periodSeconds": 10, "successThreshold": 1, "timeoutSeconds": 1 }, "resources": { "limits": { "cpu": "1", "memory": "1Gi" }, "requests": { "cpu": "100m", "memory": "256Mi" } }, "terminationMessagePath": "/dev/termination-log", "terminationMessagePolicy": "File", "volumeMounts": [ { "mountPath": "/data", "name": "vector-store" }, { "mountPath": "/srv/flowercore-notes", "name": "notes-corpus", "readOnly": true } ] } ], "dnsPolicy": "ClusterFirst", "restartPolicy": "Always", "schedulerName": "default-scheduler", "securityContext": {}, "terminationGracePeriodSeconds": 30, "volumes": [ { "name": "vector-store", "persistentVolumeClaim": { "claimName": "intranet-vector-store" } }, { "emptyDir": {}, "name": "notes-corpus" } ] } } } }