Documentation
¶
Index ¶
- Constants
- func ResourceRequestsToOverrideAnnotations(requests []schedulingv1alpha1.ResourceRequest) map[string]string
- func SizeConfiguration(config *schedulingv1alpha1.ClusterSizingConfiguration, size string) *schedulingv1alpha1.SizeConfiguration
- func UpdateHostedCluster(ctx context.Context, c client.Client, hc *hyperv1.HostedCluster, size string, ...) error
Constants ¶
View Source
const ( GoMemLimitLabel = "hypershift.openshift.io/kas-go-mem-limit" LBSubnetsLabel = "hypershift.openshift.io/request-serving-subnets" )
Variables ¶
This section is empty.
Functions ¶
func ResourceRequestsToOverrideAnnotations ¶
func ResourceRequestsToOverrideAnnotations(requests []schedulingv1alpha1.ResourceRequest) map[string]string
func SizeConfiguration ¶
func SizeConfiguration(config *schedulingv1alpha1.ClusterSizingConfiguration, size string) *schedulingv1alpha1.SizeConfiguration
func UpdateHostedCluster ¶
func UpdateHostedCluster(ctx context.Context, c client.Client, hc *hyperv1.HostedCluster, size string, config *schedulingv1alpha1.ClusterSizingConfiguration, nodes []corev1.Node) error
UpdateHostedCluster updates the hosted cluster with the scheduling annotations based on the cluster sizing configuration.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.