Cloud provider Azure: adopt changes to CCM / CNM for Azure

This commit is contained in:
Malte Poll 2022-03-28 12:24:41 +02:00 committed by Malte Poll
parent 3c1ddfb94e
commit 20811794c2
11 changed files with 351 additions and 14 deletions

View file

@ -4,11 +4,11 @@ package azure
type Autoscaler struct{}
// Name returns the cloud-provider name as used by k8s cluster-autoscaler.
func (a Autoscaler) Name() string {
func (a *Autoscaler) Name() string {
return "azure"
}
// Supported is used to determine if we support autoscaling for the cloud provider.
func (a Autoscaler) Supported() bool {
func (a *Autoscaler) Supported() bool {
return false
}