mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 06:16:08 -04:00
Move cli/azure to cli/internal/azure
This commit is contained in:
parent
180d7872dd
commit
064151a956
27 changed files with 11 additions and 11 deletions
8
cli/internal/azure/autoscaling_node_group.go
Normal file
8
cli/internal/azure/autoscaling_node_group.go
Normal file
|
@ -0,0 +1,8 @@
|
|||
package azure
|
||||
|
||||
import "fmt"
|
||||
|
||||
// AutoscalingNodeGroup converts an azure scale set into a node group used by the k8s cluster-autoscaler.
|
||||
func AutoscalingNodeGroup(scaleSet string, min int, max int) string {
|
||||
return fmt.Sprintf("%d:%d:%s", min, max, scaleSet)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue