Skip to content

Commit 7316ede

Browse files
Convert tabs that can be applies-switch (#4429)
## Summary This PR converts tabs that should now be applies-switch thanks to the recent and upcoming updates to the metadata system. This PR should only be merged after elastic/docs-builder#2322 is merged. CI should fail until then. Contributes to: #4361 ## Generative AI disclosure <!-- To help us ensure compliance with the Elastic open source and documentation guidelines, please answer the following: --> 1. Did you use a generative AI (GenAI) tool to assist in creating this contribution? - [ ] Yes - [x] No <!-- 2. If you answered "Yes" to the previous question, please specify the tool(s) and model(s) used (e.g., Google Gemini, OpenAI ChatGPT-4, etc.). Tool(s) and model(s) used: --> --------- Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com>
1 parent b8505b6 commit 7316ede

File tree

56 files changed

+359
-549
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+359
-549
lines changed

deploy-manage/autoscaling/autoscaling-in-ece-and-ech.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,9 @@ Although autoscaling can scale some tiers by CPU, the primary measurement of tie
249249

250250
Run this example API request to create a deployment with autoscaling:
251251

252-
::::{tab-set}
252+
::::{applies-switch}
253253

254-
:::{tab-item} {{ece}}
254+
:::{applies-item} ece:
255255

256256
```sh
257257
curl -k -X POST -H "Authorization: ApiKey $ECE_API_KEY" https://$COORDINATOR_HOST:12443/api/v1/deployments -H 'content-type: application/json' -d '
@@ -455,7 +455,7 @@ curl -k -X POST -H "Authorization: ApiKey $ECE_API_KEY" https://$COORDINATOR_HOS
455455

456456
:::
457457

458-
:::{tab-item} {{ech}}
458+
:::{applies-item} ess:
459459

460460
```sh
461461
curl -XPOST \

deploy-manage/autoscaling/trained-model-autoscaling.md

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ In case of ingest-optimized deployments, we maximize the number of model allocat
114114

115115
#### Adaptive resources enabled
116116

117-
::::{tab-set}
117+
::::{applies-switch}
118118

119-
:::{tab-item} ECH, ECE
119+
:::{applies-item} { ess:, ece: }
120120

121121
| Level | Allocations | Threads | vCPUs |
122122
| --- | --- | --- | --- |
@@ -128,7 +128,7 @@ In case of ingest-optimized deployments, we maximize the number of model allocat
128128

129129
:::
130130

131-
:::{tab-item} {{serverless-short}}
131+
:::{applies-item} serverless:
132132

133133
| Level | Allocations | Threads | VCUs |
134134
| --- | --- | --- | --- |
@@ -141,11 +141,11 @@ In case of ingest-optimized deployments, we maximize the number of model allocat
141141
::::
142142

143143
#### Adaptive resources disabled
144-
145-
::::{tab-set}
146-
147-
:::{tab-item} ECH, ECE
148-
144+
```{applies_to}
145+
deployment:
146+
ess:
147+
ece:
148+
```
149149
| Level | Allocations | Threads | vCPUs |
150150
| --- | --- | --- | --- |
151151
| Low | 2 if available, otherwise 1, statically | 1 | 2 if available |
@@ -154,19 +154,16 @@ In case of ingest-optimized deployments, we maximize the number of model allocat
154154

155155
\* The Cloud console doesn’t directly set an allocations limit; it only sets a vCPU limit. This vCPU limit indirectly determines the number of allocations, calculated as the vCPU limit divided by the number of threads.
156156

157-
:::
158-
159-
::::
160157

161158
### Search optimized
162159

163160
In case of search-optimized deployments, we maximize the number of threads. The maximum number of threads that can be claimed depends on the hardware your architecture has.
164161

165162
#### Adaptive resources enabled
166163

167-
::::{tab-set}
164+
::::{applies-switch}
168165

169-
:::{tab-item} ECH, ECE
166+
:::{applies-item} { ess:, ece: }
170167

171168
| Level | Allocations | Threads | vCPUs |
172169
| --- | --- | --- | --- |
@@ -178,7 +175,7 @@ In case of search-optimized deployments, we maximize the number of threads. The
178175

179176
:::
180177

181-
:::{tab-item} {{serverless-short}}
178+
:::{applies-item} serverless:
182179

183180
| Level | Allocations | Threads | VCUs |
184181
| --- | --- | --- | --- |
@@ -192,9 +189,9 @@ In case of search-optimized deployments, we maximize the number of threads. The
192189

193190
#### Adaptive resources disabled
194191

195-
::::{tab-set}
192+
::::{applies-switch}
196193

197-
:::{tab-item} ECH, ECE
194+
:::{applies-item} { ess:, ece: }
198195

199196
| Level | Allocations | Threads | vCPUs |
200197
| --- | --- | --- | --- |

deploy-manage/deploy/cloud-on-k8s.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,23 +73,23 @@ This section outlines the supported Kubernetes and {{stack}} versions for ECK. C
7373

7474
ECK is compatible with the following Kubernetes distributions and related technologies:
7575

76-
::::{tab-set}
76+
::::{applies-switch}
7777

78-
:::{tab-item} ECK 3.2
78+
:::{applies-item} eck: ga 3.2+
7979
* Kubernetes 1.30-1.34
8080
* OpenShift 4.15-4.20
8181
* Google Kubernetes Engine (GKE), Azure Kubernetes Service (AKS), and Amazon Elastic Kubernetes Service (EKS)
8282
* Helm: {{eck_helm_minimum_version}}+
8383
:::
8484

85-
:::{tab-item} ECK 3.1
85+
:::{applies-item} eck: ga =3.1
8686
* Kubernetes 1.29-1.33
8787
* OpenShift 4.15-4.19
8888
* Google Kubernetes Engine (GKE), Azure Kubernetes Service (AKS), and Amazon Elastic Kubernetes Service (EKS)
8989
* Helm: {{eck_helm_minimum_version}}+
9090
:::
9191

92-
:::{tab-item} ECK 3.0
92+
:::{applies-item} eck: ga =3.0
9393
* Kubernetes 1.28-1.32
9494
* OpenShift 4.14-4.18
9595
* Google Kubernetes Engine (GKE), Azure Kubernetes Service (AKS), and Amazon Elastic Kubernetes Service (EKS)

deploy-manage/deploy/elastic-cloud/tools-apis.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,9 @@ Note that some [restrictions](/deploy-manage/deploy/elastic-cloud/restrictions-k
4646
Refer to [{{es}} API conventions](elasticsearch://reference/elasticsearch/rest-apis/api-conventions.md) to learn about headers, request body conventions, and examples for {{es-serverless}} and {{es}} REST APIs.
4747
:::
4848

49-
:::::{tab-set}
50-
:group: serverless-hosted
51-
::::{tab-item} {{serverless-short}}
52-
:sync: serverless
49+
:::::{applies-switch}
50+
51+
::::{applies-item} serverless:
5352

5453
The following APIs are available for {{es-serverless}} users:
5554

@@ -59,8 +58,7 @@ The following APIs are available for {{es-serverless}} users:
5958
- [{{kib}} {{serverless-short}} APIs](https://www.elastic.co/docs/api/doc/serverless): Use these APIs to manage resources such as connectors, data views, and saved objects for your {{serverless-full}} project.
6059
::::
6160

62-
::::{tab-item} {{ech}}
63-
:sync: hosted
61+
::::{applies-item} ess:
6462

6563
The following APIs are available for {{ech}} users:
6664

deploy-manage/manage-spaces.md

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -38,24 +38,22 @@ Check out [Using Spaces with Fleet](/deploy-manage/manage-spaces-fleet.md) for i
3838

3939
## Required permissions [_required_privileges_3]
4040

41-
* **Serverless projects:** `Admin` role or equivalent
42-
* **{{stack}} deployments:** `kibana_admin` or equivalent
41+
* {applies_to}`serverless:` `Admin` role or equivalent
42+
* {applies_to}`stack:` `kibana_admin` or equivalent
4343

4444

4545
## Create a space [spaces-managing]
4646

4747
The maximum number of spaces that you can have differs by deployment type:
4848

49-
* **Serverless projects:** Maximum of 100 spaces.
50-
* **{{stack}} deployments:** Controlled by the `xpack.spaces.maxSpaces` setting. Default is 1000. View the [full list of Space settings](kibana://reference/configuration-reference/spaces-settings.md).
49+
* {applies_to}`serverless:` Maximum of 100 spaces.
50+
* {applies_to}`stack:` Controlled by the `xpack.spaces.maxSpaces` setting. Default is 1000. View the [full list of Space settings](kibana://reference/configuration-reference/spaces-settings.md).
5151

5252
To create a space:
5353

54-
:::::{tab-set}
55-
:group: stack-serverless
54+
:::::{applies-switch}
5655

57-
::::{tab-item} {{serverless-short}}
58-
:sync: serverless
56+
::::{applies-item} serverless:
5957

6058
1. Click **Create space** or select the space you want to edit.
6159
2. Provide:
@@ -67,8 +65,7 @@ To create a space:
6765
4. Save the space.
6866
::::
6967

70-
::::{tab-item} {{stack}}
71-
:sync: stack
68+
::::{applies-item} stack:
7269

7370
1. Select **Create space** and provide a name, description, and URL identifier.
7471
The URL identifier is a short text string that becomes part of the {{kib}} URL when you are inside that space. {{kib}} suggests a URL identifier based on the name of your space, but you can customize the identifier to your liking. You cannot change the space identifier once you create the space.
@@ -95,8 +92,8 @@ You can edit all of the space settings you just defined at any time, except for
9592

9693
Elastic also allows you to manage spaces using APIs:
9794

98-
* **Serverless projects:** [Spaces API](https://www.elastic.co/docs/api/doc/serverless/operation/operation-get-spaces-space)
99-
* **{{stack}} deployments:** [Spaces API](https://www.elastic.co/docs/api/doc/kibana/operation/operation-post-spaces-copy-saved-objects)
95+
* {applies_to}`serverless:` [Serverless Spaces API](https://www.elastic.co/docs/api/doc/serverless/operation/operation-get-spaces-space)
96+
* {applies_to}`stack:` [Spaces API](https://www.elastic.co/docs/api/doc/kibana/operation/operation-post-spaces-copy-saved-objects)
10097

10198

10299
## Define access to a space [spaces-control-user-access]
@@ -105,8 +102,8 @@ Users can access spaces based on the roles that they have.
105102

106103
* Certain reserved roles can view and access all spaces by default. You can’t prevent those roles from accessing a space. Instead, you can grant different roles to your users.
107104
* When creating or editing a role, you can define which existing spaces that role can access, and with which permissions. Role management differs between {{stack}} deployments and serverless projects.
108-
- For Serverless projects, check [Custom roles](/deploy-manage/users-roles/cloud-organization/user-roles.md).
109-
- For {{stack}} deployments, check [Creating or editing a role](/deploy-manage/users-roles/cluster-or-deployment-auth/defining-roles.md).
105+
- {applies_to}`serverless:` Check [Custom roles](/deploy-manage/users-roles/cloud-organization/user-roles.md).
106+
- {applies_to}`stack:` Check [Creating or editing a role](/deploy-manage/users-roles/cluster-or-deployment-auth/defining-roles.md).
110107

111108

112109
If you're managing an {{stack}} deployment, then you can also assign roles and define permissions for a space from the **Permissions** tab of the space settings.

deploy-manage/monitor/stack-monitoring/kibana-monitoring-data.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ deployment:
6262

6363
## View monitoring data in {{kib}} [view-monitoring-data-in-kibana]
6464

65-
:::::{tab-set}
66-
::::{tab-item} In ECK and self-managed
65+
:::::{applies-switch}
66+
::::{applies-item} { eck:, self: }
6767

6868
1. Open the {{kib}} monitoring instance in your web browser.
6969

@@ -79,7 +79,7 @@ deployment:
7979
If you are using a separate monitoring cluster, you do not need to turn on data collection. The dashboards appear when there is data in the monitoring cluster.
8080
:::
8181
::::
82-
::::{tab-item} In ECH and ECE
82+
::::{applies-item} { ess:, ece: }
8383
:::{include} /deploy-manage/monitor/stack-monitoring/_snippets/cloud-monitoring-access.md
8484
:::
8585
::::

deploy-manage/security/_snippets/cluster-comparison.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@ Security feature availability varies by deployment type, with each feature havin
99

1010
Select your deployment type below to see what's available and how implementation responsibilities are distributed:
1111

12-
::::{tab-set}
13-
:group: deployment-type
12+
::::{applies-switch}
1413

15-
:::{tab-item} ECH
16-
:sync: cloud-hosted
14+
:::{applies-item} ess:
1715

1816
| Category | Security feature | Status | Notes |
1917
|------------------|------------|--------------|-------------|
@@ -29,8 +27,7 @@ Select your deployment type below to see what's available and how implementation
2927

3028
:::
3129

32-
:::{tab-item} Serverless
33-
:sync: serverless
30+
:::{applies-item} serverless:
3431

3532
| Category| Security feature | Status | Notes |
3633
|------------------|------------|--------------|-------------|
@@ -46,8 +43,7 @@ Select your deployment type below to see what's available and how implementation
4643

4744
:::
4845

49-
:::{tab-item} ECE
50-
:sync: ece
46+
:::{applies-item} ece:
5147

5248
| Category| Security feature | Status | Notes |
5349
|------------------|------------|--------------|-------------|
@@ -63,8 +59,7 @@ Select your deployment type below to see what's available and how implementation
6359

6460
:::
6561

66-
:::{tab-item} ECK
67-
:sync: eck
62+
:::{applies-item} eck:
6863

6964
| Category| Security feature | Status | Notes |
7065
|------------------|------------|--------------|-------------|
@@ -81,8 +76,7 @@ Select your deployment type below to see what's available and how implementation
8176
:::
8277

8378

84-
:::{tab-item} Self-managed
85-
:sync: self-managed
79+
:::{applies-item} self:
8680

8781
| Category| Security feature | Status | Notes |
8882
|------------------|------------|--------------|-------------|

deploy-manage/security/ip-filtering-cloud.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,15 @@ You can apply multiple policies to a single deployment. For {{ech}} deployments,
8585

8686
#### From a deployment or project
8787

88-
::::{tab-set}
89-
:::{tab-item} Serverless
88+
::::{applies-switch}
89+
:::{applies-item} serverless:
9090
1. Log in to the [{{ecloud}} Console](https://cloud.elastic.co?page=docs&placement=docs-body).
9191
2. On the **Serverless projects** page, select your project.
9292
3. Select the **Network security** tab on the left-hand side menu bar.
9393
4. Select **Apply policies** > **IP filter**.
9494
6. Choose the IP filter you want to apply and select **Apply**.
9595
:::
96-
:::{tab-item} Hosted
96+
:::{applies-item} ess:
9797
1. Log in to the [{{ecloud}} Console](https://cloud.elastic.co?page=docs&placement=docs-body).
9898
2. On the **Hosted deployments** page, select your deployment.
9999
3. Select the **Security** tab on the left-hand side menu bar.
@@ -116,18 +116,17 @@ If you want to a specific IP filter from a deployment or project, or delete the
116116

117117
#### From your deployment or project
118118

119-
::::{tab-set}
120-
:group: hosted-serverless
121-
:::{tab-item} Serverless project
122-
:sync: serverless
119+
::::{applies-switch}
120+
121+
:::{applies-item} serverless:
123122
1. Find your project on the home page or on the **Serverless projects** page, then select **Manage** to access its settings menus.
124123

125124
On the **Hosted deployments** page you can narrow your deployments by name, ID, or choose from several other filters. To customize your view, use a combination of filters, or change the format from a grid to a list.
126125
2. On the **Network security** page, find the IP filter that you want to disconnect.
127126
3. Under **Actions**, click the **Delete** icon.
128127
:::
129-
:::{tab-item} Hosted deployment
130-
:sync: hosted
128+
:::{applies-item} ess:
129+
131130
1. Find your deployment on the home page or on the **Hosted deployments** page, then select **Manage** to access its settings menus.
132131

133132
On the **Hosted deployments** page you can narrow your deployments by name, ID, or choose from several other filters. To customize your view, use a combination of filters, or change the format from a grid to a list.

deploy-manage/security/logging-configuration/enabling-audit-logs.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ Audit logs are disabled by default and must be explicitly enabled.
5050
::::
5151

5252

53-
::::::{tab-set}
53+
::::::{applies-switch}
5454

55-
:::::{tab-item} Self-managed
55+
:::::{applies-item} self:
5656

5757
**To enable audit logging in {{es}}**:
5858

@@ -67,7 +67,7 @@ Audit logs are disabled by default and must be explicitly enabled.
6767
To learn how to consume these logs in an {{es}} cluster, refer to [](/deploy-manage/monitor/stack-monitoring/collecting-log-data-with-filebeat.md).
6868
:::::
6969

70-
:::::{tab-item} {{ech}}
70+
:::::{applies-item} ess:
7171

7272
To enable audit logging in an {{ech}} deployment:
7373

@@ -90,7 +90,7 @@ To enable audit logging in an {{ech}} deployment:
9090
A plan change will run on your deployment. When it finishes, audit logs will be delivered to your monitoring deployment.
9191
:::::
9292

93-
:::::{tab-item} ECE
93+
:::::{applies-item} ece:
9494

9595

9696
To enable audit logging in an ECE deployment:
@@ -115,7 +115,7 @@ To enable audit logging in an ECE deployment:
115115
A plan change will run on your deployment. When it finishes, audit logs will be delivered to your monitoring deployment.
116116
:::::
117117

118-
:::::{tab-item} ECK
118+
:::::{applies-item} eck:
119119

120120

121121
To enable audit logging in an ECK-managed cluster, add `xpack.security.audit.enabled: true` to the `config` section of each {{es}} `nodeSet` and to the `config` section of the {{kib}} object's specification.

0 commit comments

Comments
 (0)