Skip to content

Commit

Permalink
Revert "Merge pull request kubernetes#3099 from ysy2020/cluster-autos…
Browse files Browse the repository at this point in the history
…caler-huaweicloud"

This reverts commit 84cbb3b, reversing
changes made to 6d6903f.
  • Loading branch information
MaciekPytel authored and aksentyev committed Apr 9, 2021
1 parent a38c8f5 commit 5989e09
Show file tree
Hide file tree
Showing 53 changed files with 1 addition and 8,667 deletions.
6 changes: 1 addition & 5 deletions cluster-autoscaler/cloudprovider/builder/builder_all.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build !gce,!aws,!azure,!kubemark,!alicloud,!magnum,!digitalocean,!clusterapi,!huaweicloud
// +build !gce,!aws,!azure,!kubemark,!alicloud,!magnum,!digitalocean,!clusterapi

/*
Copyright 2018 The Kubernetes Authors.
Expand Down Expand Up @@ -27,7 +27,6 @@ import (
"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/clusterapi"
"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/digitalocean"
"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/gce"
"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/huaweicloud"
"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/magnum"
"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/packet"
"k8s.io/autoscaler/cluster-autoscaler/config"
Expand All @@ -42,7 +41,6 @@ var AvailableCloudProviders = []string{
cloudprovider.BaiducloudProviderName,
cloudprovider.MagnumProviderName,
cloudprovider.DigitalOceanProviderName,
cloudprovider.HuaweicloudProviderName,
clusterapi.ProviderName,
}

Expand All @@ -65,8 +63,6 @@ func buildCloudProvider(opts config.AutoscalingOptions, do cloudprovider.NodeGro
return digitalocean.BuildDigitalOcean(opts, do, rl)
case cloudprovider.MagnumProviderName:
return magnum.BuildMagnum(opts, do, rl)
case cloudprovider.HuaweicloudProviderName:
return huaweicloud.BuildHuaweiCloud(opts, do, rl)
case packet.ProviderName:
return packet.BuildPacket(opts, do, rl)
case clusterapi.ProviderName:
Expand Down
42 changes: 0 additions & 42 deletions cluster-autoscaler/cloudprovider/builder/builder_huaweicloud.go

This file was deleted.

2 changes: 0 additions & 2 deletions cluster-autoscaler/cloudprovider/cloud_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ const (
MagnumProviderName = "magnum"
// KubemarkProviderName gets the provider name of kubemark
KubemarkProviderName = "kubemark"
// HuaweicloudProviderName gets the provider name of huaweicloud
HuaweicloudProviderName = "huaweicloud"
)

// CloudProvider contains configuration info and functions for interacting with
Expand Down
229 changes: 0 additions & 229 deletions cluster-autoscaler/cloudprovider/huaweicloud/README.md

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 5989e09

Please sign in to comment.