Skip to content

Conversation

@DrFaust92
Copy link
Contributor

What this PR does / why we need it

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])

@DrFaust92 DrFaust92 marked this pull request as draft June 1, 2025 01:22
@DrFaust92 DrFaust92 marked this pull request as ready for review June 1, 2025 01:59
@jkroepke
Copy link
Member

jkroepke commented Jun 1, 2025

What about

  • PodDisruptionBudget
  • NetworkPolicy

and even drop PSP as well?

@QuentinBisson @GMartinez-Sisti What your opinion here?

I'm also thinking about an major version bump here.

@schnatterer fyi - since you worked with old versions as I can remember.

@QuentinBisson
Copy link
Member

I agree that we need a major and removing the others would make sense yes.

@schnatterer
Copy link
Contributor

@jkroepke Thanks for looping me in! Fortunately, legacy K8s version were not my problem. Only legacy PromStack CRDs on relatively recent k8s versions (1.25+) 😅

@DrFaust92
Copy link
Contributor Author

What about

  • PodDisruptionBudget
  • NetworkPolicy

and even drop PSP as well?

@QuentinBisson @GMartinez-Sisti What your opinion here?

I'm also thinking about an major version bump here.

@schnatterer fyi - since you worked with old versions as I can remember.

I thought of doing it in subsequent PRs but sure I can do it all in one

@DrFaust92 DrFaust92 changed the title [kube-prometheus-stack] remove support for deprecated ingress version [kube-prometheus-stack] remove support for deprecated apis Jun 2, 2025
@DrFaust92 DrFaust92 enabled auto-merge (squash) June 2, 2025 23:53
@jkroepke
Copy link
Member

jkroepke commented Jun 3, 2025

Just would like to know which features requires Kubernetes 1.25?

@DrFaust92
Copy link
Contributor Author

Just would like to know which features requires Kubernetes 1.25?

https://kubernetes.io/blog/2021/04/06/podsecuritypolicy-deprecation-past-present-and-future/ removal of PSP

@jkroepke
Copy link
Member

jkroepke commented Jun 4, 2025

But does it make sense to require a version of Kubernetes, which just removed a API? To my best knowledge, even with the removal of all legacy APIs. PSP was always optional and I do not see a problem to install that chart on Kubernetes 1.20?

@QuentinBisson
Copy link
Member

Do you think it makes sense that we maintain that compatibility even just in name when we do not even test that it works?
I also think it makes sense that we push users to upgrade because no one should bé running 1.19 anymore

@jkroepke
Copy link
Member

jkroepke commented Jun 4, 2025

Do you think it makes sense that we maintain that compatibility even just in name when we do not even test that it works?

No, not maintain the compatibility on older version. But with kubeVersion, we actively deny the installation on older version.

I feel there is no reason to actively deny the installation on older cluster, even we are not supporting it.

I would remove the kubeVersion from the chart yaml and would add supporting section in the README.md that we only support the latest 5 versions.

Latest 5 may seems over extendend, but kube-prometheus-stack is just pod, deployments, pvc.. nothing really special and Kubernetes seems stable here.

@QuentinBisson
Copy link
Member

It is, as long as the prometheus operator does not start to rely on CEL :D

@QuentinBisson
Copy link
Member

I'm not specifically against your change either, it just felt proper when reviewing

This was referenced Aug 18, 2025
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.

4 participants