Skip to content

Commit bd00633

Browse files
Document --record flag deprecation and tooling support
Add note explaining that --record flag is deprecated and mention tooling can set annotations automatically.
1 parent adb1fda commit bd00633

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

content/en/docs/concepts/workloads/controllers/deployment.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,11 @@ Follow the steps given below to check the rollout history:
512512

513513
* Annotating the Deployment with `kubectl annotate deployment/nginx-deployment kubernetes.io/change-cause="image updated to 1.16.1"`
514514
* Manually editing the manifest of the resource.
515+
* Using tooling that sets the annotation automatically.
516+
517+
{{< note >}}
518+
In older versions of Kubernetes, you could use the `--record` flag with kubectl commands to automatically populate the `CHANGE-CAUSE` field. This flag is deprecated and will be removed in a future release.
519+
{{< /note >}}
515520

516521
2. To see the details of each revision, run:
517522
```shell

0 commit comments

Comments
 (0)