You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmd: Add --track flag to deployment commands (#80)
Adds the --track flag and resource tracking after a plan change to the
deployment subcommands which incur plan changes: `create`, `update` and
`shutdown`.
Signed-off-by: Marc Lopez <marc5.12@outlook.com>
createCmd.Flags().String("name", "", "Overrides the deployment name")
177
190
createCmd.Flags().String("version", "", "Overrides all thee deployment's resources to the specified version")
178
191
createCmd.Flags().String("request-id", "", "Optional idempotency token - Can be found in the Stderr device when a previous deployment creation failed, for more information see the examples in the help command page")
updateCmd.Flags().Bool("prune-orphans", false, "When set to true, it will remove any resources not specified in the update request, treating the json file contents as the authoritative deployment definition")
174
188
updateCmd.Flags().Bool("skip-snapshot", false, "Skips taking an Elasticsearch snapshot prior to shutting down the deployment")
175
189
updateCmd.Flags().Bool("hide-pruned-orphans", false, "Hides orphaned resources that were shut down (only relevant if --prune-orphans=true)")
--request-id string Optional idempotency token - Can be found in the Stderr device when a previous deployment creation failed, for more information see the examples in the help command page
114
+
-t, --track Tracks the progress of the performed task
113
115
--version string Overrides all thee deployment's resources to the specified version
Copy file name to clipboardExpand all lines: docs/ecctl_deployment_update.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ Updates a deployment from a file definition, allowing certain flag overrides
6
6
7
7
updates a deployment from a file definition, defaulting prune_orphans=false, making the default
8
8
update action safe for partial updates, to override this behavior toggle --prune-orphans.
9
+
To track the changes toggle the --track flag.
9
10
10
11
Read more about the deployment definition in https://www.elastic.co/guide/en/cloud-enterprise/current/Deployment_-_CRUD.html
11
12
@@ -112,6 +113,7 @@ setting --prune-orphans to "true" will cause any resources not specified in the
112
113
--hide-pruned-orphans Hides orphaned resources that were shut down (only relevant if --prune-orphans=true)
113
114
--prune-orphans When set to true, it will remove any resources not specified in the update request, treating the json file contents as the authoritative deployment definition
114
115
--skip-snapshot Skips taking an Elasticsearch snapshot prior to shutting down the deployment
116
+
-t, --track Tracks the progress of the performed task
0 commit comments