Selaa lähdekoodia

Adds apply_to tags to Command line tools page (#134538)

* Adds apply_to tags to Command line tools page

This section doesn't have the usual deployment type badges at the top. Since they are command line tools against Elasticsearch, they're not available on Elastic Cloud Hosted/Serverless.

Fixes [#306](https://github.com/elastic/docs-content-internal/issues/306)

* Adding tip + removing some of the tags

* Specify all the deployments in which the tools are unavailable in the tip

* Remove the stack tag

* Add feedback from Edu

* Adding the self-managed tag to all child pages

* Specify they're not inteded for us in ECK and ECE deployments

Also, I've simplified the sentence introducing the list of tools to avoid repetition.
Vlada Chirmicci 3 viikkoa sitten
vanhempi
commit
8f03a7209d

+ 3 - 0
docs/reference/elasticsearch/command-line-tools/certgen.md

@@ -1,6 +1,9 @@
 ---
 mapped_pages:
   - https://www.elastic.co/guide/en/elasticsearch/reference/current/certgen.html
+applies_to:
+  deployment:
+    self: ga
 ---
 
 # elasticsearch-certgen [certgen]

+ 3 - 0
docs/reference/elasticsearch/command-line-tools/certutil.md

@@ -1,6 +1,9 @@
 ---
 mapped_pages:
   - https://www.elastic.co/guide/en/elasticsearch/reference/current/certutil.html
+applies_to:
+  deployment:
+    self: ga
 ---
 
 # elasticsearch-certutil [certutil]

+ 3 - 0
docs/reference/elasticsearch/command-line-tools/create-enrollment-token.md

@@ -1,6 +1,9 @@
 ---
 mapped_pages:
   - https://www.elastic.co/guide/en/elasticsearch/reference/current/create-enrollment-token.html
+applies_to:
+  deployment:
+    self: ga
 ---
 
 # elasticsearch-create-enrollment-token [create-enrollment-token]

+ 3 - 0
docs/reference/elasticsearch/command-line-tools/elasticsearch-croneval.md

@@ -1,6 +1,9 @@
 ---
 mapped_pages:
   - https://www.elastic.co/guide/en/elasticsearch/reference/current/elasticsearch-croneval.html
+applies_to:
+  deployment:
+    self: ga
 ---
 
 # elasticsearch-croneval [elasticsearch-croneval]

+ 3 - 0
docs/reference/elasticsearch/command-line-tools/elasticsearch-keystore.md

@@ -1,6 +1,9 @@
 ---
 mapped_pages:
   - https://www.elastic.co/guide/en/elasticsearch/reference/current/elasticsearch-keystore.html
+applies_to:
+  deployment:
+    self: ga
 ---
 
 # elasticsearch-keystore [elasticsearch-keystore]

+ 13 - 2
docs/reference/elasticsearch/command-line-tools/index.md

@@ -1,11 +1,22 @@
 ---
 mapped_pages:
   - https://www.elastic.co/guide/en/elasticsearch/reference/current/commands.html
+applies_to:
+  deployment:
+    self: ga
+products:
+  - id: elasticsearch 
 ---
 
-# Command line tools [commands]
+# Command-line tools [commands]
 
-{{es}} provides the following tools for configuring security and performing other tasks from the command line:
+{{es}} includes a set of command-line tools in its `bin` subdirectory (for example, `/usr/share/elasticsearch/bin`). These tools support tasks such as generating TLS/SSL certificates, configuring security settings and user credentials, enrolling or reconfiguring nodes, managing corrupted shards, and other node-level administrative operations that are only possible, or simpler to perform, outside the REST API.
+
+:::{important}
+The tools are intended for use in self-managed environments and are included with all {{es}} software packages and Docker images, but are not accessible in fully managed {{ecloud}} deployments such as {{ech}} or {{serverless-full}}. Similarly, they are not designed for use in {{ece}} or {{eck}}.
+:::
+
+The following tools are available:
 
 * [*elasticsearch-certgen*](/reference/elasticsearch/command-line-tools/certgen.md)
 * [*elasticsearch-certutil*](/reference/elasticsearch/command-line-tools/certutil.md)

+ 3 - 0
docs/reference/elasticsearch/command-line-tools/node-tool.md

@@ -1,6 +1,9 @@
 ---
 mapped_pages:
   - https://www.elastic.co/guide/en/elasticsearch/reference/current/node-tool.html
+applies_to:
+  deployment:
+    self: ga
 ---
 
 # elasticsearch-node [node-tool]

+ 3 - 0
docs/reference/elasticsearch/command-line-tools/reconfigure-node.md

@@ -1,6 +1,9 @@
 ---
 mapped_pages:
   - https://www.elastic.co/guide/en/elasticsearch/reference/current/reconfigure-node.html
+applies_to:
+  deployment:
+    self: ga
 ---
 
 # elasticsearch-reconfigure-node [reconfigure-node]

+ 3 - 0
docs/reference/elasticsearch/command-line-tools/reset-password.md

@@ -1,6 +1,9 @@
 ---
 mapped_pages:
   - https://www.elastic.co/guide/en/elasticsearch/reference/current/reset-password.html
+applies_to:
+  deployment:
+    self: ga
 ---
 
 # elasticsearch-reset-password [reset-password]

+ 3 - 0
docs/reference/elasticsearch/command-line-tools/saml-metadata.md

@@ -1,6 +1,9 @@
 ---
 mapped_pages:
   - https://www.elastic.co/guide/en/elasticsearch/reference/current/saml-metadata.html
+applies_to:
+  deployment:
+    self: ga
 ---
 
 # elasticsearch-saml-metadata [saml-metadata]

+ 3 - 0
docs/reference/elasticsearch/command-line-tools/service-tokens-command.md

@@ -1,6 +1,9 @@
 ---
 mapped_pages:
   - https://www.elastic.co/guide/en/elasticsearch/reference/current/service-tokens-command.html
+applies_to:
+  deployment:
+    self: ga
 ---
 
 # elasticsearch-service-tokens [service-tokens-command]

+ 3 - 0
docs/reference/elasticsearch/command-line-tools/setup-passwords.md

@@ -1,6 +1,9 @@
 ---
 mapped_pages:
   - https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-passwords.html
+applies_to:
+  deployment:
+    self: ga
 ---
 
 # elasticsearch-setup-passwords [setup-passwords]

+ 3 - 0
docs/reference/elasticsearch/command-line-tools/shard-tool.md

@@ -1,6 +1,9 @@
 ---
 mapped_pages:
   - https://www.elastic.co/guide/en/elasticsearch/reference/current/shard-tool.html
+applies_to:
+  deployment:
+    self: ga
 ---
 
 # elasticsearch-shard [shard-tool]

+ 3 - 0
docs/reference/elasticsearch/command-line-tools/syskeygen.md

@@ -1,6 +1,9 @@
 ---
 mapped_pages:
   - https://www.elastic.co/guide/en/elasticsearch/reference/current/syskeygen.html
+applies_to:
+  deployment:
+    self: ga
 ---
 
 # elasticsearch-syskeygen [syskeygen]

+ 3 - 0
docs/reference/elasticsearch/command-line-tools/users-command.md

@@ -1,6 +1,9 @@
 ---
 mapped_pages:
   - https://www.elastic.co/guide/en/elasticsearch/reference/current/users-command.html
+applies_to:
+  deployment:
+    self: ga
 ---
 
 # elasticsearch-users [users-command]