upgrade

package
v0.15.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AWSCmd = &cobra.Command{
	Use: "aws",

	Short: "Trigger Kubernetes version upgrade for the provisioned AWS based cluster",

	Run: func(cmd *cobra.Command, args []string) {
		core.UpgradeCluster(cmd.Context(), core.UpgradeClusterArgs{
			SkipPRWorkflow: skipPRWorkflow,

			NewKubernetesVersion: newKubernetesVersion,

			CloudSpecificUpdates: aws.AWSMachineTemplateUpdates{
				AMIID: newAMIID,
			},
		})
	},
}
View Source
var AzureCmd = &cobra.Command{
	Use: "azure",

	Short: "Trigger Kubernetes version and / or OS upgrade for a KubeAid managed Azure based cluster",

	Run: func(cmd *cobra.Command, args []string) {
		assert.Assert(cmd.Context(),
			(len(newKubernetesVersion) > 0) || (len(newImageOffer) > 0),
			"No upgrade details provided",
		)

		core.UpgradeCluster(cmd.Context(), core.UpgradeClusterArgs{
			SkipPRWorkflow: skipPRWorkflow,

			NewKubernetesVersion: newKubernetesVersion,

			CloudSpecificUpdates: azure.AzureMachineTemplateUpdates{
				NewImageOffer: newImageOffer,
			},
		})
	},
}
View Source
var UpgradeCmd = &cobra.Command{
	Use: "upgrade",
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL