From 5a39db2aa9a4f8193fafe2c195cf9ea666c60294 Mon Sep 17 00:00:00 2001 From: Luke Repko Date: Fri, 10 May 2024 15:32:31 -0500 Subject: [PATCH] fix: Speed up daemonset upgrades We had max_unavailable set to 1 which means it can take up to n x 30+ seconds to perform rolling upgrades. That's a long time for big environments with hundreds of nodes. --- helm-configs/nova/nova-helm-overrides.yaml | 2 +- kustomize/libvirt/helm/libvirt-helm-overrides.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helm-configs/nova/nova-helm-overrides.yaml b/helm-configs/nova/nova-helm-overrides.yaml index b41d13c5..1b157e28 100644 --- a/helm-configs/nova/nova-helm-overrides.yaml +++ b/helm-configs/nova/nova-helm-overrides.yaml @@ -2330,7 +2330,7 @@ pod: compute: enabled: true min_ready_seconds: 0 - max_unavailable: 1 + max_unavailable: 20% disruption_budget: metadata: min_available: 0 diff --git a/kustomize/libvirt/helm/libvirt-helm-overrides.yaml b/kustomize/libvirt/helm/libvirt-helm-overrides.yaml index 34928793..7e7af52c 100644 --- a/kustomize/libvirt/helm/libvirt-helm-overrides.yaml +++ b/kustomize/libvirt/helm/libvirt-helm-overrides.yaml @@ -222,7 +222,7 @@ pod: libvirt: enabled: true min_ready_seconds: 0 - max_unavailable: 1 + max_unavailable: 20% resources: enabled: false libvirt: