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
createCmd.Flags().Bool("generate-payload", false, "Returns the deployment payload without actually creating the deployment resources")
162
165
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")
163
166
164
-
createCmd.Flags().String("ref-id", "main-elasticsearch", "Optional RefId for the Elasticsearch deployment")
165
-
createCmd.Flags().Int32("zones", 1, "Number of zones the Elasticsearch instances will span")
166
-
createCmd.Flags().Int32("size", 4096, "Memory (RAM) in MB that each of the Elasticsearch instances will have")
167
+
createCmd.Flags().String("es-ref-id", "main-elasticsearch", "Optional RefId for the Elasticsearch deployment")
168
+
createCmd.Flags().Int32("es-zones", 1, "Number of zones the Elasticsearch instances will span")
169
+
createCmd.Flags().Int32("es-size", 4096, "Memory (RAM) in MB that each of the Elasticsearch instances will have")
167
170
createCmd.Flags().StringArrayP("topology-element", "e", nil, "Optional Elasticsearch topology element definition. See help for more information")
168
171
createCmd.Flags().StringSlice("plugin", nil, "Additional plugins to add to the Elasticsearch deployment")
169
172
@@ -180,4 +183,26 @@ func init() {
180
183
createCmd.Flags().String("appsearch-ref-id", "main-appsearch", "Optional RefId for the AppSearch deployment")
181
184
createCmd.Flags().Int32("appsearch-zones", 1, "Number of zones the AppSearch instances will span")
182
185
createCmd.Flags().Int32("appsearch-size", 2048, "Memory (RAM) in MB that each of the AppSearch instances will have")
186
+
187
+
// The following flags will remain hidden until reads for deployment templates are available on ESS
the current stage on which the deployment resources are in.
49
51
$ deployment create --name my-deployment --track
50
52
[...]
51
-
Cluster [38e0ff5b58a9483c96a98c923b22194e][Elasticsearch]: finished running all the plan steps (Total plan duration: 1m0.911628175s)
52
-
Cluster [51178ffc645d48b7859dbf17388a6c35][Kibana]: finished running all the plan steps (Total plan duration: 1m11.246662764s)
53
+
Deployment [b6ecbea3d5c84124b7dca457f2892086] - [Elasticsearch][b6ecbea3d5c84124b7dca457f2892086]: finished running all the plan steps (Total plan duration: 5m11.s)
54
+
Deployment [91c4d60acb804ba0a27651fac02780ec] - [Kibana][8a9d9916cd6e46a7bb0912211d76e2af]: finished running all the plan steps (Total plan duration: 4m29.58s)
53
55
54
56
## Additionally, a more advanced topology for Elasticsearch can be created through "--topology-element" or shorthand "-e".
55
57
The following command will create a deployment with two 1GB Elasticsearch instances of the type "data" and
Deployment [b6ecbea3d5c84124b7dca457f2892086] - [Elasticsearch][b6ecbea3d5c84124b7dca457f2892086]: finished running all the plan steps (Total plan duration: 5m11.s)
90
+
Deployment [91c4d60acb804ba0a27651fac02780ec] - [Kibana][8a9d9916cd6e46a7bb0912211d76e2af]: finished running all the plan steps (Total plan duration: 4m29.58s)
91
+
92
+
## To retry a when the previous deployment creation failed:
Deployment [b6ecbea3d5c84124b7dca457f2892086] - [Elasticsearch][b6ecbea3d5c84124b7dca457f2892086]: finished running all the plan steps (Total plan duration: 5m11.s)
24
+
Deployment [91c4d60acb804ba0a27651fac02780ec] - [Kibana][8a9d9916cd6e46a7bb0912211d76e2af]: finished running all the plan steps (Total plan duration: 4m29.58s)
62
25
63
26
## To retry a when the previous deployment creation failed:
--apm-ref-id string Optional RefId for the APM deployment (default "main-apm")
77
-
--apm-size int32 Memory (RAM) in MB that each of the APM instances will have (default 512)
78
-
--apm-zones int32 Number of zones the APM instances will span (default 1)
79
-
--appsearch Enables AppSearch for the deployment
80
-
--appsearch-ref-id string Optional RefId for the AppSearch deployment (default "main-appsearch")
81
-
--appsearch-size int32 Memory (RAM) in MB that each of the AppSearch instances will have (default 2048)
82
-
--appsearch-zones int32 Number of zones the AppSearch instances will span (default 1)
83
-
--deployment-template string Deployment template ID on which to base the deployment from (default "default")
84
-
-f, --file string DeploymentCreateRequest file definition. See help for more information
85
-
--generate-payload Returns the deployment payload without actually creating the deployment resources
86
-
-h, --help help for create
87
-
--kibana-ref-id string Optional RefId for the Kibana deployment (default "main-kibana")
88
-
--kibana-size int32 Memory (RAM) in MB that each of the Kibana instances will have (default 1024)
89
-
--kibana-zones int32 Number of zones the Kibana instances will span (default 1)
90
-
--name string Optional name for the deployment
91
-
--plugin strings Additional plugins to add to the Elasticsearch deployment
92
-
--ref-id string Optional RefId for the Elasticsearch deployment (default "main-elasticsearch")
93
-
--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
94
-
--size int32 Memory (RAM) in MB that each of the Elasticsearch instances will have (default 4096)
95
-
-e, --topology-element stringArray Optional Elasticsearch topology element definition. See help for more information
96
-
-t, --track Tracks the progress of the performed task
97
-
--version string Version to use, if not specified, the latest available stack version will be used
98
-
--zones int32 Number of zones the Elasticsearch instances will span (default 1)
38
+
-f, --file string DeploymentCreateRequest file definition. See help for more information
39
+
-h, --help help for create
40
+
--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
41
+
-t, --track Tracks the progress of the performed task
0 commit comments