util

package
v0.1.56 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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 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.

Jump to

Keyboard shortcuts

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