Stay organized with collections
Save and categorize content based on your preferences.
Config Sync-managed labels and annotations
Config Sync adds and manages several labels and annotations on
objects in the cluster. Do not modify these values.
Labels
Label |
Description |
app.kubernetes.io/managed-by: configmanagement.gke.io |
Marks the object as currently managed by Config Sync. |
configsync.gke.io/declared-version: API_VERSION |
This label indicates the API version in which a resource was initially declared. |
Annotations
Annotation |
Description |
configmanagement.gke.io/cluster-name: CLUSTER_NAME |
The name of the cluster, used by ClusterSelectors. |
configmanagement.gke.io/declared-config: JSON_OUTPUT |
JSON representation of how the object is declared in Git. |
configmanagement.gke.io/managed: enabled |
Indicates that Config Sync manages the object. |
configmanagement.gke.io/source-path: PATH |
The path in the repository to the file declaring this object. |
configmanagement.gke.io/token: TOKEN_HASH |
The Git hash of the repository when this object was last modified. |
configsync.gke.io/declared-fields: DECLARED_FIELDS |
Stores the declared configuration of a resource in Git. This annotation
uses the same format as the managed fields of server-side apply. |
configsync.gke.io/manager: MANAGER |
Which reconciler manages the current object. The value is
:root or NAMESPACE . |
configsync.gke.io/resource-id: RESOURCE_ID |
Indicates information about the resource's group, kind, namespace, and name. |
configsync.gke.io/git-context: GIT_CONTEXT |
Stores the Git source-of-truth that a resource is synced from. Includes
information on the repository, branch, and revision. |
config.k8s.io/owning-inventory: INVENTORY |
Indicates the resource-group object that owns this resource. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-03-28 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]