-
Notifications
You must be signed in to change notification settings - Fork 33
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
Update HorizontalPodAutoscaler API to autoscaling/v2 #153
Update HorizontalPodAutoscaler API to autoscaling/v2 #153
Conversation
- autoscaling/v2beta1 is deprecated since Kubernetes 1.25 (https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-25) - for SPIRE server, set the scaleTargetRef kind to StatefulSet - reorder metrics (to avoid issues like argoproj/argo-cd#1079) Signed-off-by: Jerome Meyer <[email protected]>
charts/spire/charts/spiffe-oidc-discovery-provider/templates/hpa.yaml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution. Small suggestion on the apiVersion change.
Signed-off-by: Jerome Meyer <[email protected]>
Signed-off-by: Meyer, Jerome <[email protected]>
Signed-off-by: Jerome Meyer <[email protected]>
@jer8me could you pull in the changes from upstream/main? |
I implemented the autoscaling API logic and pulled main in my branch. Waiting on some internal reviews before I can push my changes here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thanks! :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀 @jer8me thanks a lot for this contribution 🎉
* 4c307c1 Add missing bundlePublisher section and extraEnv so settings can be set (#201) * d724d1e Update the documentation (#172) * e59a29b Bump test chart dependencies (#200) * 4668151 Add missing extraVolumeMounts to the controllerManager (#196) * b9ac3c4 Update to spire-controller-manager 0.4.1 (#193) * 6fec1e5 Update SPIRE to 1.8.7 (#194) * af155c2 Add support for running spiffe secured discovery provider (default) (#163) * 3ccdb5e Add tls section to federation bundle endpoint and fix up annotations (#173) * c7ab131 Add join_token server nodeattestor support (#187) * 81e9523 Bump test chart dependencies (#186) * 6d19a76 Fix agent daemonset format (#184) * b61d4f5 Add spire-agent to spire-agent pod path (#180) * befa074 Fix notes bug (#178) * 912c61e Remove deprecated version values (#179) * ae4ef6e Update HorizontalPodAutoscaler API to autoscaling/v2 (#153) * e7a61a9 Bump test chart dependencies * 183e9aa SPIFFE OIDC Discovery Provider Rework (#152) * 8f1aba8 Bump test chart dependencies (#171) * 2454b8c Fix links still pointing at older git repo (#167) * e5c5527 Bump test chart dependencies (#165) * e630008 Update jwt test to work with newer slim images (#139) * c39dd44 Add recommendation for namespacePSS (#131) * 49beb64 Add recommendation for namespaceLayout (#127) * 33cacd2 Add recommendation for prometheus exporter (#144) * 6997d6a Add recommendation for securityContext and podSecurityContext (#125) * 50c4ac3 Add recommendation for strictMode (#143) * 4fb9d18 Bump test chart dependencies (#155) * 811123a Update the Tornjak image version (#150) * 1524537 Update default for additionalDomains not to include localhost (#146) * e35838c Add recommendation for priorityClass (#124) * 9f72a8f Use good and automatic defaults for tornjak frontend workingDir (#129) * 7726351 Tornjak UBI support (#123) * 89c07e2 Revert openssl 3.2 change (#142) * a3d3702 Bump test chart dependencies * 80c7653 Bump test chart dependencies (#134) * 13f6028 SELinux support (#122) * 3e8335c Add a flag to enable recommendations (#121) * 692d463 Remove unneeded lookup function from upgrade hook (#104) * 8422b8d Added ability to create namespaces (#103) Signed-off-by: Kevin Fox <[email protected]>
* 4c307c1 Add missing bundlePublisher section and extraEnv so settings can be set (#201) * d724d1e Update the documentation (#172) * e59a29b Bump test chart dependencies (#200) * 4668151 Add missing extraVolumeMounts to the controllerManager (#196) * b9ac3c4 Update to spire-controller-manager 0.4.1 (#193) * 6fec1e5 Update SPIRE to 1.8.7 (#194) * af155c2 Add support for running spiffe secured discovery provider (default) (#163) * 3ccdb5e Add tls section to federation bundle endpoint and fix up annotations (#173) * c7ab131 Add join_token server nodeattestor support (#187) * 81e9523 Bump test chart dependencies (#186) * 6d19a76 Fix agent daemonset format (#184) * b61d4f5 Add spire-agent to spire-agent pod path (#180) * befa074 Fix notes bug (#178) * 912c61e Remove deprecated version values (#179) * ae4ef6e Update HorizontalPodAutoscaler API to autoscaling/v2 (#153) * e7a61a9 Bump test chart dependencies * 183e9aa SPIFFE OIDC Discovery Provider Rework (#152) * 8f1aba8 Bump test chart dependencies (#171) * 2454b8c Fix links still pointing at older git repo (#167) * e5c5527 Bump test chart dependencies (#165) * e630008 Update jwt test to work with newer slim images (#139) * c39dd44 Add recommendation for namespacePSS (#131) * 49beb64 Add recommendation for namespaceLayout (#127) * 33cacd2 Add recommendation for prometheus exporter (#144) * 6997d6a Add recommendation for securityContext and podSecurityContext (#125) * 50c4ac3 Add recommendation for strictMode (#143) * 4fb9d18 Bump test chart dependencies (#155) * 811123a Update the Tornjak image version (#150) * 1524537 Update default for additionalDomains not to include localhost (#146) * e35838c Add recommendation for priorityClass (#124) * 9f72a8f Use good and automatic defaults for tornjak frontend workingDir (#129) * 7726351 Tornjak UBI support (#123) * 89c07e2 Revert openssl 3.2 change (#142) * a3d3702 Bump test chart dependencies * 80c7653 Bump test chart dependencies (#134) * 13f6028 SELinux support (#122) * 3e8335c Add a flag to enable recommendations (#121) * 692d463 Remove unneeded lookup function from upgrade hook (#104) * 8422b8d Added ability to create namespaces (#103) Signed-off-by: Kevin Fox <[email protected]>
* 4c307c1 Add missing bundlePublisher section and extraEnv so settings can be set (#201) * d724d1e Update the documentation (#172) * e59a29b Bump test chart dependencies (#200) * 4668151 Add missing extraVolumeMounts to the controllerManager (#196) * b9ac3c4 Update to spire-controller-manager 0.4.1 (#193) * 6fec1e5 Update SPIRE to 1.8.7 (#194) * af155c2 Add support for running spiffe secured discovery provider (default) (#163) * 3ccdb5e Add tls section to federation bundle endpoint and fix up annotations (#173) * c7ab131 Add join_token server nodeattestor support (#187) * 81e9523 Bump test chart dependencies (#186) * 6d19a76 Fix agent daemonset format (#184) * b61d4f5 Add spire-agent to spire-agent pod path (#180) * befa074 Fix notes bug (#178) * 912c61e Remove deprecated version values (#179) * ae4ef6e Update HorizontalPodAutoscaler API to autoscaling/v2 (#153) * e7a61a9 Bump test chart dependencies * 183e9aa SPIFFE OIDC Discovery Provider Rework (#152) * 8f1aba8 Bump test chart dependencies (#171) * 2454b8c Fix links still pointing at older git repo (#167) * e5c5527 Bump test chart dependencies (#165) * e630008 Update jwt test to work with newer slim images (#139) * c39dd44 Add recommendation for namespacePSS (#131) * 49beb64 Add recommendation for namespaceLayout (#127) * 33cacd2 Add recommendation for prometheus exporter (#144) * 6997d6a Add recommendation for securityContext and podSecurityContext (#125) * 50c4ac3 Add recommendation for strictMode (#143) * 4fb9d18 Bump test chart dependencies (#155) * 811123a Update the Tornjak image version (#150) * 1524537 Update default for additionalDomains not to include localhost (#146) * e35838c Add recommendation for priorityClass (#124) * 9f72a8f Use good and automatic defaults for tornjak frontend workingDir (#129) * 7726351 Tornjak UBI support (#123) * 89c07e2 Revert openssl 3.2 change (#142) * a3d3702 Bump test chart dependencies * 80c7653 Bump test chart dependencies (#134) * 13f6028 SELinux support (#122) * 3e8335c Add a flag to enable recommendations (#121) * 692d463 Remove unneeded lookup function from upgrade hook (#104) * 8422b8d Added ability to create namespaces (#103) Signed-off-by: Kevin Fox <[email protected]>
* 4c307c1 Add missing bundlePublisher section and extraEnv so settings can be set (#201) * d724d1e Update the documentation (#172) * e59a29b Bump test chart dependencies (#200) * 4668151 Add missing extraVolumeMounts to the controllerManager (#196) * b9ac3c4 Update to spire-controller-manager 0.4.1 (#193) * 6fec1e5 Update SPIRE to 1.8.7 (#194) * af155c2 Add support for running spiffe secured discovery provider (default) (#163) * 3ccdb5e Add tls section to federation bundle endpoint and fix up annotations (#173) * c7ab131 Add join_token server nodeattestor support (#187) * 81e9523 Bump test chart dependencies (#186) * 6d19a76 Fix agent daemonset format (#184) * b61d4f5 Add spire-agent to spire-agent pod path (#180) * befa074 Fix notes bug (#178) * 912c61e Remove deprecated version values (#179) * ae4ef6e Update HorizontalPodAutoscaler API to autoscaling/v2 (#153) * e7a61a9 Bump test chart dependencies * 183e9aa SPIFFE OIDC Discovery Provider Rework (#152) * 8f1aba8 Bump test chart dependencies (#171) * 2454b8c Fix links still pointing at older git repo (#167) * e5c5527 Bump test chart dependencies (#165) * e630008 Update jwt test to work with newer slim images (#139) * c39dd44 Add recommendation for namespacePSS (#131) * 49beb64 Add recommendation for namespaceLayout (#127) * 33cacd2 Add recommendation for prometheus exporter (#144) * 6997d6a Add recommendation for securityContext and podSecurityContext (#125) * 50c4ac3 Add recommendation for strictMode (#143) * 4fb9d18 Bump test chart dependencies (#155) * 811123a Update the Tornjak image version (#150) * 1524537 Update default for additionalDomains not to include localhost (#146) * e35838c Add recommendation for priorityClass (#124) * 9f72a8f Use good and automatic defaults for tornjak frontend workingDir (#129) * 7726351 Tornjak UBI support (#123) * 89c07e2 Revert openssl 3.2 change (#142) * a3d3702 Bump test chart dependencies * 80c7653 Bump test chart dependencies (#134) * 13f6028 SELinux support (#122) * 3e8335c Add a flag to enable recommendations (#121) * 692d463 Remove unneeded lookup function from upgrade hook (#104) * 8422b8d Added ability to create namespaces (#103) Signed-off-by: Kevin Fox <[email protected]>
This PR is to close #140:
closes #140