Config Sync で管理されるラベルとアノテーション
Config Sync は、クラスタ内のオブジェクトにラベルとアノテーションを追加して管理します。これらの値は変更しないでください。
ラベル
ラベル |
説明 |
app.kubernetes.io/managed-by: configmanagement.gke.io |
現在 Config Sync で管理されているオブジェクトとしてマークします。 |
configsync.gke.io/declared-version: API_VERSION |
このラベルは、リソースが最初に宣言された API バージョンを示します。 |
アノテーション
アノテーション |
説明 |
configmanagement.gke.io/cluster-name: CLUSTER_NAME |
ClusterSelectors で使用されるクラスタの名前。 |
configmanagement.gke.io/declared-config: JSON_OUTPUT |
Git でのオブジェクトの宣言方法の JSON 表現 |
configmanagement.gke.io/managed: enabled |
Config Sync がオブジェクトを管理することを示します。 |
configmanagement.gke.io/source-path: PATH |
このオブジェクトを宣言しているファイルのリポジトリ内でのパス。 |
configmanagement.gke.io/token: TOKEN_HASH |
このオブジェクトが最後に変更されたときのリポジトリの Git ハッシュ。 |
configsync.gke.io/declared-fields: DECLARED_FIELDS |
リソースの宣言された構成を Git に保存します。このアノテーションは、サーバー側の適用のマネージド フィールドと同じ形式を使用します。 |
configsync.gke.io/manager: MANAGER |
現在のオブジェクトを管理するリコンサイラ。値は :root または NAMESPACE です。 |
configsync.gke.io/resource-id: RESOURCE_ID |
リソースのグループ、種類、Namespace、名前に関する情報を示します。 |
configsync.gke.io/git-context: GIT_CONTEXT |
リソースの同期元の Git の信頼できる情報源を保存します。リポジトリ、ブランチ、リビジョンに関する情報が含まれます。 |
config.k8s.io/owning-inventory: INVENTORY |
このリソースを所有するリソース グループ オブジェクトを示します。 |
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 2022-06-23 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"わかりにくい"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"情報またはサンプルコードが不正確"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"必要な情報 / サンプルがない"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻訳に関する問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"その他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"わかりやすい"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"問題の解決に役立った"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"その他"
}]