upgrade

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2025 License: AGPL-3.0 Imports: 5 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(), skipPRFlow, core.UpgradeClusterArgs{
			NewKubernetesVersion: kubernetesVersion,

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

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

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

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

	RunE: func(cmd *cobra.Command, args []string) error {
		return cmd.Help()
	},
}

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