Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template PodDisruptionBudget apiVersion to enable support for older K8s versions #861

Merged
merged 1 commit into from
Feb 14, 2023

Conversation

aimichelle
Copy link
Member

Summary: We have been seeing errors from several clusters where their deploy has failed due to being on an earlier K8s version without policy/v1 PodDisruptionBudgets. The API version change for pdb is currently the only item preventing us from supporting older K8s versions.
This PR templatizes the etcd YAMLs so that we can choose between policy/v1 and policy/v1beta1 for PodDisruptionBudgets based on the K8s version. Currently, without the flag being set it selects policy/v1 which is status quo.

Relevant Issues: N/A

Type of change: /kind cleanup

Test Plan: Create and deploy Vizier rc with etcd option enabled

Signed-off-by: Michelle Nguyen <michellenguyen@pixielabs.ai>
@aimichelle aimichelle requested a review from vihangm February 13, 2023 21:48
@aimichelle aimichelle marked this pull request as draft February 13, 2023 21:57
@aimichelle aimichelle marked this pull request as ready for review February 14, 2023 00:37
@vihangm vihangm merged commit 5522664 into pixie-io:main Feb 14, 2023
RagalahariP pushed a commit to RagalahariP/pixie that referenced this pull request Feb 15, 2023
…8s versions (pixie-io#861)

Summary: We have been seeing errors from several clusters where their
deploy has failed due to being on an earlier K8s version without
policy/v1 PodDisruptionBudgets. The API version change for pdb is
currently the only item preventing us from supporting older K8s
versions.
This PR templatizes the etcd YAMLs so that we can choose between
policy/v1 and policy/v1beta1 for PodDisruptionBudgets based on the K8s
version. Currently, without the flag being set it selects `policy/v1`
which is status quo.

Relevant Issues: N/A

Type of change: /kind cleanup

Test Plan: Create and deploy Vizier rc with etcd option enabled

Signed-off-by: Michelle Nguyen <michellenguyen@pixielabs.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants