Documentation ¶
Index ¶
- Constants
- func GetIgnoreLabels() []string
- func ReconcileAutoscaler(ctx context.Context, c client.Client, hcp *hyperv1.HostedControlPlane, ...) error
- func ReconcileAutoscalerDeployment(deployment *appsv1.Deployment, hcp *hyperv1.HostedControlPlane, ...) error
- func ReconcileAutoscalerRole(role *rbacv1.Role, owner config.OwnerRef) error
- func ReconcileAutoscalerRoleBinding(binding *rbacv1.RoleBinding, role *rbacv1.Role, sa *corev1.ServiceAccount, ...) error
Constants ¶
View Source
const ( // IbmcloudIgnoredLabelWorkerId is a label used by the IBM Cloud Cloud Controler Manager. IbmcloudIgnoredLabelWorkerId = "ibm-cloud.kubernetes.io/worker-id" // IbmcloudIgnoredLabelVpcBlockCsi is a label used by the IBM Cloud CSI driver as a target for Persistent Volume Node Affinity. IbmcloudIgnoredLabelVpcBlockCsi = "vpc-block-csi-driver-labels" )
IBM cloud provider ignore labels for the autoscaler.
View Source
const (
// AwsIgnoredLabelEbsCsiZone is a label used by the AWS EBS CSI driver as a target for Persistent Volume Node Affinity.
AwsIgnoredLabelEbsCsiZone = "topology.ebs.csi.aws.com/zone"
)
AWS cloud provider ignore labels for the autoscaler.
View Source
const (
// AzureDiskTopologyKey is the topology key of Azure Disk CSI driver.
AzureDiskTopologyKey = "topology.disk.csi.azure.com/zone"
)
Azure cloud provider ignore labels for the autoscaler.
View Source
const BalancingIgnoreLabelArg = "--balancing-ignore-label"
Variables ¶
This section is empty.
Functions ¶
func GetIgnoreLabels ¶
func GetIgnoreLabels() []string
func ReconcileAutoscaler ¶
func ReconcileAutoscaler(ctx context.Context, c client.Client, hcp *hyperv1.HostedControlPlane, autoscalerImage, availabilityProberImage string, createOrUpdate upsert.CreateOrUpdateFN, setDefaultSecurityContext bool, ownerRef config.OwnerRef) error
ReconcileAutoscaler orchestrates reconciliation of autoscaler components.
func ReconcileAutoscalerDeployment ¶
func ReconcileAutoscalerDeployment(deployment *appsv1.Deployment, hcp *hyperv1.HostedControlPlane, sa *corev1.ServiceAccount, kubeConfigSecret *corev1.Secret, options hyperv1.ClusterAutoscaling, clusterAutoscalerImage, availabilityProberImage string, setDefaultSecurityContext bool, ownerRef config.OwnerRef) error
func ReconcileAutoscalerRole ¶
func ReconcileAutoscalerRoleBinding ¶
func ReconcileAutoscalerRoleBinding(binding *rbacv1.RoleBinding, role *rbacv1.Role, sa *corev1.ServiceAccount, owner config.OwnerRef) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.