annotations

package
v1.51.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForClusterAutoscalerSafeToEvict added in v1.43.5

func ForClusterAutoscalerSafeToEvict(safeToEvict bool) map[string]string

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

func ForRadixBranch(branch string) map[string]string

ForRadixBranch returns annotations describing a branch name

func ForRadixDeploymentName

func ForRadixDeploymentName(deploymentName string) map[string]string

ForRadixDeploymentName returns annotations describing a Radix deployment name

func ForServiceAccountWithRadixIdentity

func ForServiceAccountWithRadixIdentity(identity *radixv1.Identity) map[string]string

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"

func Merge

func Merge(annotations ...map[string]string) map[string]string

Merge multiple maps into one

Types

This section is empty.

Jump to

Keyboard shortcuts

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