From 1790632f9f1ffe5e462c304ac1af3b0e8d3e526a Mon Sep 17 00:00:00 2001 From: Stavros Kontopoulos Date: Fri, 29 Jul 2022 14:04:53 +0300 Subject: [PATCH] add pdb fix --- .../manifest-patches/003-serving-pdb.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/openshift/release/manifest-patches/003-serving-pdb.patch b/openshift/release/manifest-patches/003-serving-pdb.patch index edebfce0f8f9..f71735bbffb8 100644 --- a/openshift/release/manifest-patches/003-serving-pdb.patch +++ b/openshift/release/manifest-patches/003-serving-pdb.patch @@ -2,6 +2,24 @@ diff --git a/openshift/release/artifacts/2-serving-core.yaml b/openshift/release index 1616f3311..ecc27ee95 100644 --- a/openshift/release/artifacts/2-serving-core.yaml +++ b/openshift/release/artifacts/2-serving-core.yaml +@@ -4873,7 +4873,7 @@ spec: + # Activator PDB. Currently we permit unavailability of 20% of tasks at the same time. + # Given the subsetting and that the activators are partially stateful systems, we want + # a slow rollout of the new versions and slow migration during node upgrades. +-apiVersion: policy/v1 ++apiVersion: policy/v1beta1 + kind: PodDisruptionBudget + metadata: + name: activator-pdb +@@ -5560,7 +5560,7 @@ spec: + averageUtilization: 100 + --- + # Webhook PDB. +-apiVersion: policy/v1 ++apiVersion: policy/v1beta1 + kind: PodDisruptionBudget + metadata: + name: webhook-pdb @@ -4883,7 +4883,7 @@ metadata: app.kubernetes.io/name: knative-serving app.kubernetes.io/version: "REPLACE_VERSION"