annotations

package
v1.133.3 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: MIT Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForBatchCronSchedule added in v1.123.0

func ForBatchCronSchedule(schedule string) map[string]string

ForBatchCronSchedule returns an annotation holding the cron schedule expression a RadixBatch was created from. Returns nil when the schedule is empty, so non-cron batches carry no annotation.

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 ForKubernetesDeploymentObservedGeneration added in v1.58.3

func ForKubernetesDeploymentObservedGeneration(rd *radixv1.RadixDeployment) map[string]string

ForKubernetesDeploymentObservedGeneration returns annotations describing which RadixDeployment version was used while syncing

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 ForServiceAccountWithRadixIdentityClientId added in v1.72.0

func ForServiceAccountWithRadixIdentityClientId(identityClientId string) map[string]string

ForServiceAccountWithRadixIdentityClientId 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