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-prometheus-stack] remove job ttl api check #4503

Merged
merged 2 commits into from
May 1, 2024

Conversation

DrFaust92
Copy link
Contributor

What this PR does / why we need it

Removes api check for ttlSecondsAfterFinished as the job resource is already batch/v1 so the check for batch/v1alpha1 is redundent.
It also allows overriding the existing value.

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

Special notes for your reviewer

Checklist

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

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Copy link
Member

@jkroepke jkroepke left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@jkroepke jkroepke merged commit d23700c into prometheus-community:main May 1, 2024
4 checks passed
kireque pushed a commit to kireque/home-ops that referenced this pull request May 1, 2024
…#502)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[kube-prometheus-stack](https://togithub.com/prometheus-operator/kube-prometheus)
([source](https://togithub.com/prometheus-community/helm-charts)) |
minor | `58.2.2` -> `58.3.1` |

---

### Release Notes

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

###
[`v58.3.1`](https://togithub.com/prometheus-community/helm-charts/releases/tag/kube-prometheus-stack-58.3.1)

[Compare
Source](https://togithub.com/prometheus-community/helm-charts/compare/kube-prometheus-stack-58.3.0...kube-prometheus-stack-58.3.1)

kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards,
and Prometheus rules combined with documentation and scripts to provide
easy to operate end-to-end Kubernetes cluster monitoring with Prometheus
using the Prometheus Operator.

#### What's Changed

- \[kube-prometheus-stack] remove job ttl api check by
[@&#8203;DrFaust92](https://togithub.com/DrFaust92) in
[prometheus-community/helm-charts#4503

**Full Changelog**:
prometheus-community/helm-charts@kube-prometheus-stack-58.3.0...kube-prometheus-stack-58.3.1

###
[`v58.3.0`](https://togithub.com/prometheus-community/helm-charts/releases/tag/kube-prometheus-stack-58.3.0)

[Compare
Source](https://togithub.com/prometheus-community/helm-charts/compare/kube-prometheus-stack-58.2.2...kube-prometheus-stack-58.3.0)

kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards,
and Prometheus rules combined with documentation and scripts to provide
easy to operate end-to-end Kubernetes cluster monitoring with Prometheus
using the Prometheus Operator.

#### What's Changed

- \[kube-prometheus-stack ] bump deps by
[@&#8203;DrFaust92](https://togithub.com/DrFaust92) in
[prometheus-community/helm-charts#4501

**Full Changelog**:
prometheus-community/helm-charts@prometheus-node-exporter-4.33.0...kube-prometheus-stack-58.3.0

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjMzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9oZWxtIiwidHlwZS9taW5vciJdfQ==-->

Co-authored-by: kireque-bot[bot] <143391978+kireque-bot[bot]@users.noreply.github.com>
@tulsluper
Copy link

When I try to install the chart 58.3.1 with ArgoCD - it stucks on "waiting for completion of hook batch/Job/kube-prometheus-stack-admission-create".
Everything fine with 58.3.0

Argo app additional settings:

  • ServerSideDiff=true
  • Server-Side Apply

@jkroepke
Copy link
Member

jkroepke commented May 2, 2024

Seems like an known bug in ArgoCD: argoproj/argo-cd#8586

Since there is a different behavior between ttlSecondsAfterFinished: 0 and ttlSecondsAfterFinished is omit, we need a condition, where 0 is true-ish, but empty value is false.

What about this?

  {{- if not (eq (print .Values.prometheusOperator.admissionWebhooks.patch.ttlSecondsAfterFinished) "") }}
  ttlSecondsAfterFinished: {{ .Values.prometheusOperator.admissionWebhooks.patch.ttlSecondsAfterFinished }}
  {{- end }}

With that condition, it would be possible to omit ttlSecondsAfterFinished completely to establish ArgoCD compatibility.

@reefland
Copy link

reefland commented May 2, 2024

Seeing waiting for completion of hook batch/Job/prometheus-admission-create, unlike @tulsluper , I have to roll-back to 58.2.2, as 58.3.0 also hangs.

lambchop4prez added a commit to lambchop4prez/network that referenced this pull request May 4, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[kube-prometheus-stack](https://togithub.com/prometheus-operator/kube-prometheus)
([source](https://togithub.com/prometheus-community/helm-charts)) |
minor | `58.2.2` -> `58.3.3` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

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

###
[`v58.3.3`](https://togithub.com/prometheus-community/helm-charts/releases/tag/kube-prometheus-stack-58.3.3)

[Compare
Source](https://togithub.com/prometheus-community/helm-charts/compare/kube-prometheus-stack-58.3.2...kube-prometheus-stack-58.3.3)

kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards,
and Prometheus rules combined with documentation and scripts to provide
easy to operate end-to-end Kubernetes cluster monitoring with Prometheus
using the Prometheus Operator.

#### What's Changed

- \[kube-prometheus-stack] set ttlSecondsAfterFinished relevant for
argocd by [@&#8203;DrFaust92](https://togithub.com/DrFaust92) in
[prometheus-community/helm-charts#4510

**Full Changelog**:
prometheus-community/helm-charts@kube-prometheus-stack-58.3.2...kube-prometheus-stack-58.3.3

###
[`v58.3.2`](https://togithub.com/prometheus-community/helm-charts/releases/tag/kube-prometheus-stack-58.3.2)

[Compare
Source](https://togithub.com/prometheus-community/helm-charts/compare/kube-prometheus-stack-58.3.1...kube-prometheus-stack-58.3.2)

kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards,
and Prometheus rules combined with documentation and scripts to provide
easy to operate end-to-end Kubernetes cluster monitoring with Prometheus
using the Prometheus Operator.

#### What's Changed

- \[kube-prometheus-stack] align pdb to single check by
[@&#8203;DrFaust92](https://togithub.com/DrFaust92) in
[prometheus-community/helm-charts#4502

**Full Changelog**:
prometheus-community/helm-charts@kube-prometheus-stack-58.3.1...kube-prometheus-stack-58.3.2

###
[`v58.3.1`](https://togithub.com/prometheus-community/helm-charts/releases/tag/kube-prometheus-stack-58.3.1)

[Compare
Source](https://togithub.com/prometheus-community/helm-charts/compare/kube-prometheus-stack-58.3.0...kube-prometheus-stack-58.3.1)

kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards,
and Prometheus rules combined with documentation and scripts to provide
easy to operate end-to-end Kubernetes cluster monitoring with Prometheus
using the Prometheus Operator.

#### What's Changed

- \[kube-prometheus-stack] remove job ttl api check by
[@&#8203;DrFaust92](https://togithub.com/DrFaust92) in
[prometheus-community/helm-charts#4503

**Full Changelog**:
prometheus-community/helm-charts@kube-prometheus-stack-58.3.0...kube-prometheus-stack-58.3.1

###
[`v58.3.0`](https://togithub.com/prometheus-community/helm-charts/releases/tag/kube-prometheus-stack-58.3.0)

[Compare
Source](https://togithub.com/prometheus-community/helm-charts/compare/kube-prometheus-stack-58.2.2...kube-prometheus-stack-58.3.0)

kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards,
and Prometheus rules combined with documentation and scripts to provide
easy to operate end-to-end Kubernetes cluster monitoring with Prometheus
using the Prometheus Operator.

#### What's Changed

- \[kube-prometheus-stack ] bump deps by
[@&#8203;DrFaust92](https://togithub.com/DrFaust92) in
[prometheus-community/helm-charts#4501

**Full Changelog**:
prometheus-community/helm-charts@prometheus-node-exporter-4.33.0...kube-prometheus-stack-58.3.0

</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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/lambchop4prez/network).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjMzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
mjnagel pushed a commit to defenseunicorns/uds-core that referenced this pull request May 6, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[kube-prometheus-stack](https://togithub.com/prometheus-operator/kube-prometheus)
([source](https://togithub.com/prometheus-community/helm-charts)) |
minor | `58.1.2` -> `58.4.0` |
| quay.io/prometheus-operator/prometheus-config-reloader | patch |
`v0.73.1` -> `v0.73.2` |
|
[quay.io/prometheus-operator/prometheus-operator](https://prometheus-operator.dev/)
([source](https://togithub.com/prometheus-operator/prometheus-operator))
| patch | `v0.73.1` -> `v0.73.2` |
| quay.io/prometheus/node-exporter | minor | `v1.7.0` -> `v1.8.0` |
|
[registry1.dso.mil/ironbank/opensource/prometheus-operator/prometheus-config-reloader](https://togithub.com/prometheus-operator/prometheus-operator)
([source](https://repo1.dso.mil/dsop/opensource/prometheus-operator/prometheus-config-reloader))
| patch | `v0.73.1` -> `v0.73.2` |
|
[registry1.dso.mil/ironbank/opensource/prometheus-operator/prometheus-operator](https://togithub.com/prometheus-operator/prometheus-operator)
([source](https://repo1.dso.mil/dsop/opensource/prometheus-operator/prometheus-operator))
| patch | `v0.73.1` -> `v0.73.2` |
|
[registry1.dso.mil/ironbank/opensource/prometheus/node-exporter](https://togithub.com/prometheus/node_exporter)
([source](https://repo1.dso.mil/dsop/opensource/prometheus/node-exporter))
| minor | `v1.7.0` -> `v1.8.0` |

---

### Release Notes

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

###
[`v58.4.0`](https://togithub.com/prometheus-community/helm-charts/releases/tag/kube-prometheus-stack-58.4.0)

[Compare
Source](https://togithub.com/prometheus-community/helm-charts/compare/kube-prometheus-stack-58.3.3...kube-prometheus-stack-58.4.0)

kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards,
and Prometheus rules combined with documentation and scripts to provide
easy to operate end-to-end Kubernetes cluster monitoring with Prometheus
using the Prometheus Operator.

#### What's Changed

- \[kube-prometheus-stack] bump thanos to 0.35.0 by
[@&#8203;DrFaust92](https://togithub.com/DrFaust92) in
[prometheus-community/helm-charts#4516

**Full Changelog**:
prometheus-community/helm-charts@kube-prometheus-stack-58.3.3...kube-prometheus-stack-58.4.0

###
[`v58.3.3`](https://togithub.com/prometheus-community/helm-charts/releases/tag/kube-prometheus-stack-58.3.3)

[Compare
Source](https://togithub.com/prometheus-community/helm-charts/compare/kube-prometheus-stack-58.3.2...kube-prometheus-stack-58.3.3)

kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards,
and Prometheus rules combined with documentation and scripts to provide
easy to operate end-to-end Kubernetes cluster monitoring with Prometheus
using the Prometheus Operator.

#### What's Changed

- \[kube-prometheus-stack] set ttlSecondsAfterFinished relevant for
argocd by [@&#8203;DrFaust92](https://togithub.com/DrFaust92) in
[prometheus-community/helm-charts#4510

**Full Changelog**:
prometheus-community/helm-charts@kube-prometheus-stack-58.3.2...kube-prometheus-stack-58.3.3

###
[`v58.3.2`](https://togithub.com/prometheus-community/helm-charts/releases/tag/kube-prometheus-stack-58.3.2)

[Compare
Source](https://togithub.com/prometheus-community/helm-charts/compare/kube-prometheus-stack-58.3.1...kube-prometheus-stack-58.3.2)

kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards,
and Prometheus rules combined with documentation and scripts to provide
easy to operate end-to-end Kubernetes cluster monitoring with Prometheus
using the Prometheus Operator.

#### What's Changed

- \[kube-prometheus-stack] align pdb to single check by
[@&#8203;DrFaust92](https://togithub.com/DrFaust92) in
[prometheus-community/helm-charts#4502

**Full Changelog**:
prometheus-community/helm-charts@kube-prometheus-stack-58.3.1...kube-prometheus-stack-58.3.2

###
[`v58.3.1`](https://togithub.com/prometheus-community/helm-charts/releases/tag/kube-prometheus-stack-58.3.1)

[Compare
Source](https://togithub.com/prometheus-community/helm-charts/compare/kube-prometheus-stack-58.3.0...kube-prometheus-stack-58.3.1)

kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards,
and Prometheus rules combined with documentation and scripts to provide
easy to operate end-to-end Kubernetes cluster monitoring with Prometheus
using the Prometheus Operator.

#### What's Changed

- \[kube-prometheus-stack] remove job ttl api check by
[@&#8203;DrFaust92](https://togithub.com/DrFaust92) in
[prometheus-community/helm-charts#4503

**Full Changelog**:
prometheus-community/helm-charts@kube-prometheus-stack-58.3.0...kube-prometheus-stack-58.3.1

###
[`v58.3.0`](https://togithub.com/prometheus-community/helm-charts/releases/tag/kube-prometheus-stack-58.3.0)

[Compare
Source](https://togithub.com/prometheus-community/helm-charts/compare/kube-prometheus-stack-58.2.2...kube-prometheus-stack-58.3.0)

kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards,
and Prometheus rules combined with documentation and scripts to provide
easy to operate end-to-end Kubernetes cluster monitoring with Prometheus
using the Prometheus Operator.

#### What's Changed

- \[kube-prometheus-stack ] bump deps by
[@&#8203;DrFaust92](https://togithub.com/DrFaust92) in
[prometheus-community/helm-charts#4501

**Full Changelog**:
prometheus-community/helm-charts@prometheus-node-exporter-4.33.0...kube-prometheus-stack-58.3.0

###
[`v58.2.2`](https://togithub.com/prometheus-community/helm-charts/releases/tag/kube-prometheus-stack-58.2.2)

[Compare
Source](https://togithub.com/prometheus-community/helm-charts/compare/kube-prometheus-stack-58.2.1...kube-prometheus-stack-58.2.2)

kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards,
and Prometheus rules combined with documentation and scripts to provide
easy to operate end-to-end Kubernetes cluster monitoring with Prometheus
using the Prometheus Operator.

#### What's Changed

- \[kube-prometheus-stack] support kubelet label selector by
[@&#8203;allanhung](https://togithub.com/allanhung) in
[prometheus-community/helm-charts#4483

**Full Changelog**:
prometheus-community/helm-charts@prom-label-proxy-0.7.2...kube-prometheus-stack-58.2.2

###
[`v58.2.1`](https://togithub.com/prometheus-community/helm-charts/releases/tag/kube-prometheus-stack-58.2.1)

[Compare
Source](https://togithub.com/prometheus-community/helm-charts/compare/kube-prometheus-stack-58.2.0...kube-prometheus-stack-58.2.1)

kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards,
and Prometheus rules combined with documentation and scripts to provide
easy to operate end-to-end Kubernetes cluster monitoring with Prometheus
using the Prometheus Operator.

#### What's Changed

- \[kube-prometheus-stack] bump operator to 0.73.2 by
[@&#8203;DrFaust92](https://togithub.com/DrFaust92) in
[prometheus-community/helm-charts#4475

**Full Changelog**:
prometheus-community/helm-charts@kube-state-metrics-5.19.0...kube-prometheus-stack-58.2.1

###
[`v58.2.0`](https://togithub.com/prometheus-community/helm-charts/releases/tag/kube-prometheus-stack-58.2.0)

[Compare
Source](https://togithub.com/prometheus-community/helm-charts/compare/kube-prometheus-stack-58.1.3...kube-prometheus-stack-58.2.0)

kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards,
and Prometheus rules combined with documentation and scripts to provide
easy to operate end-to-end Kubernetes cluster monitoring with Prometheus
using the Prometheus Operator.

#### What's Changed

- \[kube-prometheus-stack]add support for dual stack clusters by
[@&#8203;M0NsTeRRR](https://togithub.com/M0NsTeRRR) in
[prometheus-community/helm-charts#4472

**Full Changelog**:
prometheus-community/helm-charts@prometheus-systemd-exporter-0.2.1...kube-prometheus-stack-58.2.0

###
[`v58.1.3`](https://togithub.com/prometheus-community/helm-charts/releases/tag/kube-prometheus-stack-58.1.3)

[Compare
Source](https://togithub.com/prometheus-community/helm-charts/compare/kube-prometheus-stack-58.1.2...kube-prometheus-stack-58.1.3)

kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards,
and Prometheus rules combined with documentation and scripts to provide
easy to operate end-to-end Kubernetes cluster monitoring with Prometheus
using the Prometheus Operator.

#### What's Changed

- \[kube-prometheus-stack] bump prom to 2.51.2 by
[@&#8203;DrFaust92](https://togithub.com/DrFaust92) in
[prometheus-community/helm-charts#4459

**Full Changelog**:
prometheus-community/helm-charts@prometheus-memcached-exporter-0.3.2...kube-prometheus-stack-58.1.3

</details>

<details>
<summary>prometheus-operator/prometheus-operator
(quay.io/prometheus-operator/prometheus-operator)</summary>

###
[`v0.73.2`](https://togithub.com/prometheus-operator/prometheus-operator/releases/tag/v0.73.2):
0.73.2 / 2024-04-18

[Compare
Source](https://togithub.com/prometheus-operator/prometheus-operator/compare/v0.73.1...v0.73.2)

- \[BUGFIX] Fix ScrapeClassTLSConfig nil pointer exception.
[#&#8203;6526](https://togithub.com/prometheus-operator/prometheus-operator/issues/6526)
- \[BUGFIX] Fix missing
`prometheus_operator_kubernetes_client_http_requests_total` metric.
[#&#8203;6525](https://togithub.com/prometheus-operator/prometheus-operator/issues/6525)

</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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/defenseunicorns/uds-core).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMDEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjM0MC4xMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
wilfriedroset pushed a commit to wilfriedroset/helm-charts that referenced this pull request May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants