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

[kube-state-metrics] Allow configuration of startupProbe #4740

Merged

Conversation

SimonKienzler
Copy link
Contributor

What this PR does / why we need it

As in previous PRs, e.g. #3811 or #4696, I would like to enable users of the kube-state-metrics chart to optionally configure a startupProbe in the Deployment, if external circumstances require it.

Special notes for your reviewer

As requested in the PR template, CC'ing @tariq1890 @mrueg @dotdc

The PRs I looked at as inspiration for this change had different approaches for making the startupProbe configurable, e.g. just passing on the entire value block, or configuring defaults for most fields vs a simple startupProbe: {}. I opted to keep it similar to the readinessProbe and livenessProbe already available in this chart, for consistency.

First PR here, happy about any feedback regarding the change itself or the PR process in general.

Checklist

  • DCO signed
  • Chart Version bumped
  • Title of the PR starts with chart name (e.g. [prometheus-couchdb-exporter])

@dotdc dotdc merged commit e0c1e37 into prometheus-community:main Jul 26, 2024
4 checks passed
@dotdc
Copy link
Member

dotdc commented Jul 26, 2024

Thank you for your contribution @SimonKienzler !

@SimonKienzler SimonKienzler deleted the kube-state-metrics/startup-probe branch July 26, 2024 08:35
@SimonKienzler
Copy link
Contributor Author

Thanks for handling it so quickly @dotdc 🚀

kireque referenced this pull request in kireque/home-ops Jul 26, 2024
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[kube-state-metrics](https://togithub.com/kubernetes/kube-state-metrics/)
([source](https://togithub.com/prometheus-community/helm-charts)) |
minor | `5.22.0` -> `5.24.0` |

---

### Release Notes

<details>
<summary>prometheus-community/helm-charts (kube-state-metrics)</summary>

###
[`v5.24.0`](https://togithub.com/prometheus-community/helm-charts/releases/tag/kube-state-metrics-5.24.0)

[Compare
Source](https://togithub.com/prometheus-community/helm-charts/compare/kube-state-metrics-5.23.0...kube-state-metrics-5.24.0)

Install kube-state-metrics to generate and expose cluster-level metrics

#### What's Changed

- \[kube-state-metrics] Align probing endpoints with recommendations by
[@&#8203;SimonKienzler](https://togithub.com/SimonKienzler) in
[https://github.com/prometheus-community/helm-charts/pull/4743](https://togithub.com/prometheus-community/helm-charts/pull/4743)

**Full Changelog**:
prometheus-community/helm-charts@kube-state-metrics-5.23.0...kube-state-metrics-5.24.0

###
[`v5.23.0`](https://togithub.com/prometheus-community/helm-charts/releases/tag/kube-state-metrics-5.23.0)

[Compare
Source](https://togithub.com/prometheus-community/helm-charts/compare/kube-state-metrics-5.22.1...kube-state-metrics-5.23.0)

Install kube-state-metrics to generate and expose cluster-level metrics

#### What's Changed

- \[kube-state-metrics] Allow configuration of startupProbe by
[@&#8203;SimonKienzler](https://togithub.com/SimonKienzler) in
[https://github.com/prometheus-community/helm-charts/pull/4740](https://togithub.com/prometheus-community/helm-charts/pull/4740)

#### New Contributors

- [@&#8203;SimonKienzler](https://togithub.com/SimonKienzler) made their
first contribution in
[https://github.com/prometheus-community/helm-charts/pull/4740](https://togithub.com/prometheus-community/helm-charts/pull/4740)

**Full Changelog**:
prometheus-community/helm-charts@kube-state-metrics-5.22.1...kube-state-metrics-5.23.0

###
[`v5.22.1`](https://togithub.com/prometheus-community/helm-charts/releases/tag/kube-state-metrics-5.22.1)

[Compare
Source](https://togithub.com/prometheus-community/helm-charts/compare/kube-state-metrics-5.22.0...kube-state-metrics-5.22.1)

Install kube-state-metrics to generate and expose cluster-level metrics

#### What's Changed

- \[kube-state-metrics] - Improve customLabels template flexibility by
[@&#8203;sarnowski-defense-unicorns](https://togithub.com/sarnowski-defense-unicorns)
in
[https://github.com/prometheus-community/helm-charts/pull/4738](https://togithub.com/prometheus-community/helm-charts/pull/4738)

#### New Contributors

-
[@&#8203;sarnowski-defense-unicorns](https://togithub.com/sarnowski-defense-unicorns)
made their first contribution in
[https://github.com/prometheus-community/helm-charts/pull/4738](https://togithub.com/prometheus-community/helm-charts/pull/4738)

**Full Changelog**:
prometheus-community/helm-charts@prometheus-mysql-exporter-2.6.1...kube-state-metrics-5.22.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41LjAiLCJ1cGRhdGVkSW5WZXIiOiIzOC43LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbInJlbm92YXRlL2hlbG0iLCJ0eXBlL21pbm9yIl19-->

Co-authored-by: kireque-bot[bot] <143391978+kireque-bot[bot]@users.noreply.github.com>
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