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

Chart: add pdb parameter #53

Merged
merged 1 commit into from
May 21, 2024
Merged

Conversation

Tycale
Copy link
Contributor

@Tycale Tycale commented May 21, 2024

Current situation

I am unable to create a PodDisruptionBudget (PDB), and when the k8s-pause service is down, the mutatingwebhookconfiguration fails. This failure prevents my cluster from creating new pods.

Proposal

Being able to have a PodDisruptionBudget (PDB) should help me with this issue.

@Tycale Tycale requested a review from a team as a code owner May 21, 2024 11:06
Copy link
Member

@raffis raffis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the pr, I agree there should be the ability to add a pdb.
Can you also please rename the template to pdb.yaml in order to be naming conform.

Comment on lines 95 to 97
# pdb:
# enabled: true
# minAvailable: 1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be commented, rather just set pdb.enabled to false.

chart/k8s-pause/templates/podDisruptionBudget.yaml Outdated Show resolved Hide resolved
chart/k8s-pause/values.yaml Outdated Show resolved Hide resolved
@raffis raffis self-requested a review May 21, 2024 11:36
Copy link
Member

@raffis raffis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks for the contribution.

@raffis
Copy link
Member

raffis commented May 21, 2024

Actually you have to bump the chart version 🙏🏻

@Tycale
Copy link
Contributor Author

Tycale commented May 21, 2024

Thanks for your fast review ! Applied & squashed

@Tycale
Copy link
Contributor Author

Tycale commented May 21, 2024

Oh yes, indeed ! On it

Signed-off-by: Thibault Gérondal <thibault@initia.cloud>
@raffis raffis merged commit a62093c into DoodleScheduling:master May 21, 2024
5 of 6 checks passed
@Tycale
Copy link
Contributor Author

Tycale commented May 21, 2024

Thanks a lot !

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.

None yet

2 participants