consts

package
v1.7.0-test.batchlatest Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: Apache-2.0, Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NetworkPluginAzure = "azure"
	NetworkPluginNone  = "none"

	NetworkPluginModeOverlay = "overlay"
	NetworkPluginModeNone    = ""

	NetworkDataplaneNone   = ""
	NetworkDataplaneCilium = "cilium"
	NetworkDataplaneAzure  = "azure"

	StorageProfileManagedDisks = "ManagedDisks"
	StorageProfileEphemeral    = "Ephemeral"

	// All of these values for max pods match the aks defaults for max pods for the various
	// cni modes
	DefaultNetPluginNoneMaxPods = 250
	DefaultOverlayMaxPods       = 250
	DefaultNodeSubnetMaxPods    = 30
	DefaultKubernetesMaxPods    = 110

	ProvisionModeAKSScriptless            = "aksscriptless"
	ProvisionModeBootstrappingClient      = "bootstrappingclient"
	ProvisionModeAKSMachineAPI            = "aksmachineapi"
	ProvisionModeAKSMachineAPIHeaderBatch = "aksmachineapiheaderbatch"

	// Provisioning states for AKS Machine objects.
	// The SDK's Machine.Properties.ProvisioningState is typed as *string (no typed constants).
	// Suggestion: find a constant from azure-sdk-for-go if one becomes available.
	ProvisioningStateCreating  = "Creating"
	ProvisioningStateUpdating  = "Updating"
	ProvisioningStateSucceeded = "Succeeded"
	ProvisioningStateFailed    = "Failed"
	ProvisioningStateDeleting  = "Deleting"
)

Variables

This section is empty.

Functions

func IsAKSMachineAPIMode

func IsAKSMachineAPIMode(provisionMode string) bool

IsAKSMachineAPIMode returns true if the provision mode creates instances via the AKS Machine API (as opposed to direct ARM VM creation). This includes both unbatched and batched variants.

Types

This section is empty.

Jump to

Keyboard shortcuts

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