Closed bambro closed 1 year ago
@bambro Thanks for the PR. I am working on fixing and expanding the workflow to newer version of k8s, this will help us ensure that changes are tested and backward compatible. I'll review your changes once CI is fixed.
@bambro can you rebase to pickup the latest github workflow. Thanks
Hi @dloucasfx thanks for taking a look at the PR and for making the workflow changes. Branch has been rebased so should be alright for another run
@dloucasfx examples have been updated as requested. Also added an additional change to the adapater/main.go
to initialize the klog flags (i.e. --logtostderr
, --v
) as these were missing in part due to the dependency upgrades.
With the introduction of K8s v1.22, API deprecations (
apiregistration.k8s.io/v1beta1
,authorization.k8s.io/v1beta1
) have had an impact on external metric resolution, resulting in the following errors:This PR aims to update the SignalFX adapter to use the new
autoscaling/v2beta2
version of theHorizontalPodAutoscaler
API for support of K8s versions>1.22
. Integration tests have also been updated to use thev2beta2
spec.