File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
content/en/docs/reference/labels-annotations-taints Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -1275,6 +1275,19 @@ The kubectl command line tool uses this annotation as a legacy mechanism
1275
1275
to track changes. That mechanism has been superseded by
1276
1276
[Server-side apply](/docs/reference/using-api/server-side-apply/).
1277
1277
1278
+ ### kubectl.kubernetes.io/restartedAt {#kubectl-k8s-io-restart-at}
1279
+
1280
+ Type: Annotation
1281
+
1282
+ Example: kubectl.kubernetes.io/restartedAt: "2024-06-21T17:27:41Z"
1283
+
1284
+ Used on: Pod
1285
+
1286
+ This annotation contains the latest restart time of a resource(Deployment, ReplicaSet, StatefulSet or DaemonSet).
1287
+ The command ` kubectl rollout restart <RESOURCE>` triggers a restart by patching the template
1288
+ metadata of all the pods of resource with this annotation. You can also trigger a restart by manually
1289
+ setting or changing the value of this annotation. In above example the latest restart time of resource is shown as 21st Jun 2024 17:27:41 GMT.
1290
+
1278
1291
# ## endpoints.kubernetes.io/over-capacity
1279
1292
1280
1293
Type : Annotation
You can’t perform that action at this time.
0 commit comments