Documentation
¶
Index ¶
Constants ¶
View Source
const (
KarpenterManagedTagKey = "karpenter.azure.com_cluster"
)
Variables ¶
View Source
var (
NodePoolTagKey = strings.ReplaceAll(karpv1.NodePoolLabelKey, "/", "_")
)
Functions ¶
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func NewProvider(_ context.Context, imageFamily imagefamily.Resolver, imageProvider imagefamily.NodeImageProvider, caBundle *string, clusterEndpoint string, tenantID, subscriptionID, clusterResourceGroup string, kubeletIdentityClientID, resourceGroup, location, vnetGUID, provisionMode string, ) *Provider
func (*Provider) GetTemplate ¶
func (p *Provider) GetTemplate( ctx context.Context, nodeClass *v1beta1.AKSNodeClass, nodeClaim *karpv1.NodeClaim, instanceType *cloudprovider.InstanceType, additionalLabels map[string]string, ) (*Template, error)
type Template ¶
type Template struct {
ScriptlessCustomData string
ImageID string
SubnetID string
Tags map[string]*string
CustomScriptsCustomData string
CustomScriptsCSE string
IsWindows bool
StorageProfileDiskType string
StorageProfileIsEphemeral bool
StorageProfilePlacement armcompute.DiffDiskPlacement
StorageProfileSizeGB int32
}
Click to show internal directories.
Click to hide internal directories.