You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by ni...@apache.org on 2021/11/13 16:59:03 UTC
[incubator-heron] branch master updated: Updated deprecated policy/v1beta1 to policy/v1 PodDisruptionBudget API (#3737)
This is an automated email from the ASF dual-hosted git repository.
nicknezis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git
The following commit(s) were added to refs/heads/master by this push:
new ddbd253 Updated deprecated policy/v1beta1 to policy/v1 PodDisruptionBudget API (#3737)
ddbd253 is described below
commit ddbd2530b24693f37def62b01b3e344c0c918266
Author: Nicholas Nezis <ni...@gmail.com>
AuthorDate: Sat Nov 13 11:58:57 2021 -0500
Updated deprecated policy/v1beta1 to policy/v1 PodDisruptionBudget API (#3737)
---
deploy/kubernetes/general/zookeeper.yaml | 2 +-
deploy/kubernetes/helm/templates/zookeeper.yaml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/deploy/kubernetes/general/zookeeper.yaml b/deploy/kubernetes/general/zookeeper.yaml
index a283e97..e6b963a 100644
--- a/deploy/kubernetes/general/zookeeper.yaml
+++ b/deploy/kubernetes/general/zookeeper.yaml
@@ -21,7 +21,7 @@
## Define a disruption budget to ensure there are at least
## 2 ZK servers running all the time
-apiVersion: policy/v1beta1
+apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: zk-budget
diff --git a/deploy/kubernetes/helm/templates/zookeeper.yaml b/deploy/kubernetes/helm/templates/zookeeper.yaml
index 725957f..44e6675 100644
--- a/deploy/kubernetes/helm/templates/zookeeper.yaml
+++ b/deploy/kubernetes/helm/templates/zookeeper.yaml
@@ -18,7 +18,7 @@
{{- $platform := .Values.platform }}
{{- $zkReplicas := .Values.zkReplicas }}
-apiVersion: policy/v1beta1
+apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ .Release.Name }}-zookeeper