diff --git a/loki/k8s/loki-values.yaml b/loki/k8s/loki-values.yaml index 5ec7f1e..0894f1a 100644 --- a/loki/k8s/loki-values.yaml +++ b/loki/k8s/loki-values.yaml @@ -73,6 +73,19 @@ backend: gateway: replicas: 1 + # Single node: chart default is required podAntiAffinity on hostname + + # RollingUpdate 25%/25% (effective maxUnavailable=0 at replicas=1). + # That deadlocks the rollout: the new pod stays Unschedulable while the + # old one lives, and the old one never leaves while the new one is not + # Ready. Null clears the default (an empty map would deep-merge with it + # and keep the required rule); maxUnavailable=1 allows a brief gateway + # outage during rollouts instead of a stuck deploy. + affinity: null + deploymentStrategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 1 + maxUnavailable: 1 resources: requests: memory: "32Mi"