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

feat(helm): adding liveness and readiness probes customizations #4116

Merged
merged 2 commits into from
Jun 24, 2021
Merged

feat(helm): adding liveness and readiness probes customizations #4116

merged 2 commits into from
Jun 24, 2021

Conversation

larueli
Copy link
Contributor

@larueli larueli commented Jun 21, 2021

What does this PR do ?

It adds the ability to completely customize the liveness probe and readiness probe of the wikijs deployment in the helm chart.

The actual configuration DOES NOT change the probes defined before : users who do not care about this change won't notice anything.

Why this PR ?

I opened this PR because when I deployed wikijs via helm, after install the pod was crashlooping because it was too slow to start, and the probe keep restarting it, so I looked for more customizations of the probe and I got none, so I decided to make it myself and share it.

Where should the reviewer start ?

The two files changed are the deployment of wikijs : dev/helm/templates/deployment.yaml and the default values file in dev/helm/values.yaml

Tests

Using helm template . renders the same deployment as before the change, so I think it does not break anything.

Step to reproduce :

  1. clone the base repo, branch dev : helm template test-release . > ~/.test-base
  2. clone my fork (https://github.com/larueli/wiki.git), branch dev : helm template test-release . > ~/.test-fork
  3. Compare : diff ~/.test-base ~/.test-fork

Anything else ?

Should I add an option to remove probes ?

@auto-assign auto-assign bot requested a review from NGPixel June 21, 2021 09:13
@NGPixel NGPixel merged commit 826e6d4 into requarks:dev Jun 24, 2021
jionggyu pushed a commit to jionggyu/wiki-2.5.302-patch that referenced this pull request Jul 9, 2024
…arks#4116)

* feat(helm): adding liveness and readiness probes customizations

* chore(helm): bump chart version to 2.2.0

***NO_CI***
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