k8s_openapi_ext/
label.rs

1//! Common Kubernetes label keys
2
3/// The name of the application
4pub const APP_NAME: &str = "app.kubernetes.io/name";
5
6/// A unique name identifying the instance of an application
7pub const APP_INSTANCE: &str = "app.kubernetes.io/instance";
8
9/// The current version of the application (e.g., a SemVer 1.0, revision hash, etc.)
10pub const APP_VERSION: &str = "app.kubernetes.io/version";
11
12/// The component within the architecture
13pub const APP_COMPONENT: &str = "app.kubernetes.io/component";
14
15/// The name of a higher level application this one is part of
16pub const APP_PART_OF: &str = "app.kubernetes.io/part-of";
17
18/// The tool being used to manage the operation of an application
19pub const APP_MANAGED_BY: &str = "app.kubernetes.io/managed-by";
20
21pub const KUBERNETES_IO_ARCH: &str = "kubernetes.io/arch";
22pub const KUBERNETES_IO_OS: &str = "kubernetes.io/os";
23pub const KUBERNETES_IO_NAME: &str = "kubernetes.io/name";
24pub const KUBERNETES_IO_METADATA_NAME: &str = "kubernetes.io/metadata.name";
25
26/// Deprecated
27pub const CLUSTER_SERVICE: &str = "kubernetes.io/cluster-service";
28
29pub const DEFAULT_DEPLOYMENT_UNIQUE_LABEL_KEY: &str = "pod-template-hash";