Documentation ¶
Index ¶
- func ForClusterAutoscalerSafeToEvict(safeToEvict bool) map[string]string
- func ForRadixBranch(branch string) map[string]string
- func ForRadixDeploymentName(deploymentName string) map[string]string
- func ForServiceAccountWithRadixIdentity(identity *radixv1.Identity) map[string]string
- func Merge(labels ...map[string]string) map[string]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForClusterAutoscalerSafeToEvict ¶ added in v1.43.5
ForClusterAutoscalerSafeToEvict returns annotation used by cluster autoscaler to determine if a Pod can be evicted from a node in case of scale down. safeToEvict=false: The pod can not be evicted, and the Pod's node cannot be removed until Pod is completed safeToEvict=true: The pod can be evicted, and the Pod's node can be removed in scale-down scenario Cluster Autoscaler docs: https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-the-parameters-to-ca
func ForRadixBranch ¶
ForRadixBranch returns annotations describing a branch name
func ForRadixDeploymentName ¶
ForRadixDeploymentName returns annotations describing a Radix deployment name
func ForServiceAccountWithRadixIdentity ¶
ForServiceAccountWithRadixIdentity returns annotations for configuring a ServiceAccount with external identities, e.g. for Azure Workload Identity: "azure.workload.identity/client-id": "11111111-2222-3333-4444-555555555555"
Types ¶
This section is empty.