- 
                Notifications
    
You must be signed in to change notification settings  - Fork 5.3k
 
[kube-prometheus-stack] remove support for deprecated apis #5721
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
Conversation
| 
           What about 
 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 agree that we need a major and removing the others would make sense yes.  | 
    
| 
           @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+) 😅  | 
    
          
 I thought of doing it in subsequent PRs but sure I can do it all in one  | 
    
Signed-off-by: drfaust92 <[email protected]>
Signed-off-by: drfaust92 <[email protected]>
Signed-off-by: drfaust92 <[email protected]>
Signed-off-by: drfaust92 <[email protected]>
Signed-off-by: drfaust92 <[email protected]>
Signed-off-by: drfaust92 <[email protected]>
Signed-off-by: drfaust92 <[email protected]>
Signed-off-by: drfaust92 <[email protected]>
Signed-off-by: Ilia Lazebnik <[email protected]>
Signed-off-by: Ilia Lazebnik <[email protected]>
| 
           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  | 
    
| 
           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?  | 
    
| 
           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  Latest 5 may seems over extendend, but kube-prometheus-stack is just pod, deployments, pvc.. nothing really special and Kubernetes seems stable here.  | 
    
| 
           It is, as long as the prometheus operator does not start to rely on CEL :D  | 
    
| 
           I'm not specifically against your change either, it just felt proper when reviewing  | 
    
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
[prometheus-couchdb-exporter])