azure

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const AzureSystemNodeLabelPrefix = "kubernetes.azure.com"

AzureSystemNodeLabelPrefix is a standard node label prefix for Azure features, e.g., kubernetes.azure.com/scalesetpriority.

Variables

This section is empty.

Functions

func ConvertResourceGroupNameToLower

func ConvertResourceGroupNameToLower(resourceID string) (string, error)

ConvertResourceGroupNameToLower converts the resource group name in the resource ID to be lowered. Inspired by https://github.com/kubernetes-sigs/cloud-provider-azure/blob/88c9b89611e7c1fcbd39266928cce8406eb0e728/pkg/provider/azure_wrap.go#L409

func IsAzureSystemNodeLabelKey added in v1.6.0

func IsAzureSystemNodeLabelKey(labelKey string) bool

IsAzureSystemNodeLabelKey is a helper function that determines whether a node label key is an Azure "system" label.

Types

This section is empty.

Jump to

Keyboard shortcuts

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