Skip to content

Commit 3768eb7

Browse files
committed
HIVE-3030: Add hiveutil machinepool command for adopt/create/detach
Implement machinepool management utility supporting: - adopt: Adopt existing MachineSets into Hive using CPMS utilities - create: Create new MachinePool from user configuration - detach: Remove MachineSets from Hive management Platform support: AWS, GCP, Azure, vSphere, Nutanix, OpenStack, IBM Cloud
1 parent b574bb2 commit 3768eb7

17 files changed

Lines changed: 4690 additions & 0 deletions

contrib/cmd/hiveutil/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import (
1313
"github.com/openshift/hive/contrib/pkg/clusterpool"
1414
"github.com/openshift/hive/contrib/pkg/createcluster"
1515
"github.com/openshift/hive/contrib/pkg/deprovision"
16+
"github.com/openshift/hive/contrib/pkg/machinepool"
1617
"github.com/openshift/hive/contrib/pkg/report"
1718
"github.com/openshift/hive/contrib/pkg/testresource"
1819
"github.com/openshift/hive/contrib/pkg/verification"
@@ -56,6 +57,7 @@ func newHiveutilCommand() *cobra.Command {
5657
cmd.AddCommand(version.NewVersionCommand())
5758
cmd.AddCommand(clusterpool.NewClusterPoolCommand())
5859
cmd.AddCommand(awsprivatelink.NewAWSPrivateLinkCommand())
60+
cmd.AddCommand(machinepool.NewMachinePoolCommand())
5961

6062
return cmd
6163
}

0 commit comments

Comments
 (0)