Skip to content

Commit 085bbd8

Browse files
committed
stage content for azdata refresh
1 parent 37a0f3e commit 085bbd8

54 files changed

Lines changed: 614 additions & 559 deletions

File tree

Some content is hidden

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

docs/azdata/reference/reference-azdata-app-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Reference article for azdata app template commands.
55
author: MikeRayMSFT
66
ms.author: mikeray
77
ms.reviewer: seanw
8-
ms.date: 09/22/2020
8+
ms.date: 04/06/2021
99
ms.topic: reference
1010
ms.prod: sql
1111
ms.technology: big-data-cluster

docs/azdata/reference/reference-azdata-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Reference article for azdata app commands.
55
author: MikeRayMSFT
66
ms.author: mikeray
77
ms.reviewer: seanw
8-
ms.date: 09/22/2020
8+
ms.date: 04/06/2021
99
ms.topic: reference
1010
ms.prod: sql
1111
ms.technology: big-data-cluster

docs/azdata/reference/reference-azdata-arc-dc-config.md

Lines changed: 8 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Reference article for azdata arc dc config commands.
55
author: MikeRayMSFT
66
ms.author: mikeray
77
ms.reviewer: seanw
8-
ms.date: 09/22/2020
8+
ms.date: 04/06/2021
99
ms.topic: reference
1010
ms.prod: sql
1111
ms.technology: big-data-cluster
@@ -30,10 +30,7 @@ The following article provides reference for the **sql** commands in the **azdat
3030
## azdata arc dc config init
3131
Initializes a data controller configuration profile that can be used with control create. The specific source of the configuration profile can be specified in the arguments.
3232
```bash
33-
azdata arc dc config init [--path -p]
34-
[--source -s]
35-
36-
[--force -f]
33+
azdata arc dc config init
3734
```
3835
### Examples
3936
Guided data controller config init experience - you will receive prompts for needed values.
@@ -42,15 +39,8 @@ azdata arc dc config init
4239
```
4340
arc dc config init with arguments, creates a configuration profile of aks-dev-test in ./custom.
4441
```bash
45-
azdata arc dc config init --source aks-dev-test --path custom
42+
azdata arc dc config init --source azure-arc-kubeadm --path custom
4643
```
47-
### Optional Parameters
48-
#### `--path -p`
49-
File path of where you would like the config profile placed, defaults to <cwd>/custom.
50-
#### `--source -s`
51-
Config profile source: ['azure-arc-aks-premium-storage', 'azure-arc-ake', 'azure-arc-openshift', 'azure-arc-gke', 'azure-arc-aks-default-storage', 'azure-arc-aks-dev-test', 'azure-arc-kubeadm', 'azure-arc-kubeadm-dev-test', 'azure-arc-eks', 'azure-arc-azure-openshift', 'azure-arc-aks-hci']
52-
#### `--force -f`
53-
Force overwrite of the target file.
5444
### Global Arguments
5545
#### `--debug`
5646
Increase logging verbosity to show all debug logs.
@@ -65,8 +55,7 @@ Increase logging verbosity. Use --debug for full debug logs.
6555
## azdata arc dc config list
6656
Lists available configuration profile choices for use in `arc dc config init`
6757
```bash
68-
azdata arc dc config list [--config-profile -c]
69-
58+
azdata arc dc config list
7059
```
7160
### Examples
7261
Shows all available configuration profile names.
@@ -77,9 +66,6 @@ Shows json of a specific configuration profile.
7766
```bash
7867
azdata arc dc config list --config-profile aks-dev-test
7968
```
80-
### Optional Parameters
81-
#### `--config-profile -c`
82-
Default config profile: ['azure-arc-aks-premium-storage', 'azure-arc-ake', 'azure-arc-openshift', 'azure-arc-gke', 'azure-arc-aks-default-storage', 'azure-arc-aks-dev-test', 'azure-arc-kubeadm', 'azure-arc-kubeadm-dev-test', 'azure-arc-eks', 'azure-arc-azure-openshift', 'azure-arc-aks-hci']
8369
### Global Arguments
8470
#### `--debug`
8571
Increase logging verbosity to show all debug logs.
@@ -94,19 +80,13 @@ Increase logging verbosity. Use --debug for full debug logs.
9480
## azdata arc dc config add
9581
Adds the value at the json path in the config file. All examples below are given in Bash. If using another command line, please be aware that you may need to escapequotations appropriately. Alternatively, you may use the patch file functionality.
9682
```bash
97-
azdata arc dc config add --path -p
98-
--json-values -j
83+
azdata arc dc config add
9984
```
10085
### Examples
10186
Ex 1 - Add data controller storage.
10287
```bash
10388
azdata arc dc config add --path custom/control.json --json-values "spec.storage={"accessMode":"ReadWriteOnce","className":"managed-premium","size":"10Gi"}"
10489
```
105-
### Required Parameters
106-
#### `--path -p`
107-
Data controller config file path of the config you would like to set, i.e. custom/control.json
108-
#### `--json-values -j`
109-
A key value pair list of json paths to values: key1.subkey1=value1,key2.subkey2=value2. You may provide inline json values such as: key='{"kind":"cluster","name":"test-cluster"}' or provide a file path, such as key=./values.json. Add does NOT support conditionals. If the inline value you are providing is a key value pair itself with "=" and "," please escape those characters. For example, key1="key2\=val2\,key3\=val3". Please see http://jsonpatch.com/ for examples of how your path should look. If you would like to access an array, you must do so by indicating the index, such as key.0=value
11090
### Global Arguments
11191
#### `--debug`
11292
Increase logging verbosity to show all debug logs.
@@ -121,19 +101,13 @@ Increase logging verbosity. Use --debug for full debug logs.
121101
## azdata arc dc config remove
122102
Removes the value at the json path in the config file. All examples below are given in Bash. If using another command line, please be aware that you may need to escapequotations appropriately. Alternatively, you may use the patch file functionality.
123103
```bash
124-
azdata arc dc config remove --path -p
125-
--json-path -j
104+
azdata arc dc config remove
126105
```
127106
### Examples
128107
Ex 1 - Remove data controller storage.
129108
```bash
130109
azdata arc dc config remove --path custom/control.json --json-path ".spec.storage"
131110
```
132-
### Required Parameters
133-
#### `--path -p`
134-
Data controller config file path of the config you would like to set, i.e. custom/control.json
135-
#### `--json-path -j`
136-
A list of json paths based on the jsonpatch library that indicates which values you would like removed, such as: key1.subkey1,key2.subkey2. Remove does NOT support conditionals. Please see http://jsonpatch.com/ for examples of how your path should look. If you would like to access an array, you must do so by indicating the index, such as key.0=value
137111
### Global Arguments
138112
#### `--debug`
139113
Increase logging verbosity to show all debug logs.
@@ -148,8 +122,7 @@ Increase logging verbosity. Use --debug for full debug logs.
148122
## azdata arc dc config replace
149123
Replaces the value at the json path in the config file. All examplesbelow are given in Bash. If using another command line, please be aware that you may need to escapequotations appropriately. Alternatively, you may use the patch file functionality.
150124
```bash
151-
azdata arc dc config replace --path -p
152-
--json-values -j
125+
azdata arc dc config replace
153126
```
154127
### Examples
155128
Ex 1 - Replace the port of a single endpoint (Data Controller Endpoint).
@@ -160,11 +133,6 @@ Ex 2 - Replace data controller storage.
160133
```bash
161134
azdata arc dc config replace --path custom/control.json --json-values "spec.storage={"accessMode":"ReadWriteOnce","className":"managed-premium","size":"10Gi"}"
162135
```
163-
### Required Parameters
164-
#### `--path -p`
165-
Data controller config file path of the config you would like to set, i.e. custom/control.json
166-
#### `--json-values -j`
167-
A key value pair list of json paths to values: key1.subkey1=value1,key2.subkey2=value2. You may provide inline json values such as: key='{"kind":"cluster","name":"test-cluster"}' or provide a file path, such as key=./values.json. Replace supports conditionals through the jsonpath library. To use this, start your path with a $. This will allow you to do a conditional such as -j $.key1.key2[?(@.key3=="someValue"].key4=value. If the inline value you are providing is a key value pair itself with "=" and "," please escape those characters. For example, key1="key2\=val2\,key3\=val3". You may see examples below. For additional help, please see: https://jsonpath.com/
168136
### Global Arguments
169137
#### `--debug`
170138
Increase logging verbosity to show all debug logs.
@@ -179,8 +147,7 @@ Increase logging verbosity. Use --debug for full debug logs.
179147
## azdata arc dc config patch
180148
Patches the config file according to the given patch file. Please consult http://jsonpatch.com/ for a better understanding of how the paths should be composed. The replace operation can use conditionals in its path due to the jsonpath library https://jsonpath.com/. All patch json files must start with a key of "patch" that has an array of patches with their corresponding op (add, replace, remove), path, and value. The "remove" op does not require a value, just a path. Please see the examples below.
181149
```bash
182-
azdata arc dc config patch --path
183-
--patch-file -p
150+
azdata arc dc config patch
184151
```
185152
### Examples
186153
Ex 1 - Replace the port of a single endpoint (Data Controller Endpoint) with patch file.
@@ -197,11 +164,6 @@ azdata arc dc config patch --path custom/control.json --patch ./patch.json
197164
Patch File Example (patch.json):
198165
{"patch":[{"op":"replace","path":".spec.storage","value":{"accessMode":"ReadWriteMany","className":"managed-premium","size":"10Gi"}}]}
199166
```
200-
### Required Parameters
201-
#### `--path`
202-
Data controller config file path of the config you would like to set, i.e. custom/control.json
203-
#### `--patch-file -p`
204-
Path to a patch json file that is based off the jsonpatch library: http://jsonpatch.com/. You must start your patch json file with a key called "patch", whose value is an array of patch operations you intend to make. For the path of a patch operation, you may use dot notation, such as key1.key2 for most operations. If you would like to do a replace operation, and you are replacing a value in an array that requires a conditional, please use the jsonpath notation by beginning your path with a $. This will allow you to do a conditional such as $.key1.key2[?(@.key3=="someValue"].key4. Please see the examples below. For additional help with conditionals, please see: https://jsonpath.com/.
205167
### Global Arguments
206168
#### `--debug`
207169
Increase logging verbosity to show all debug logs.

docs/azdata/reference/reference-azdata-arc-dc-debug.md

Lines changed: 3 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Reference article for azdata arc dc debug commands.
55
author: MikeRayMSFT
66
ms.author: mikeray
77
ms.reviewer: seanw
8-
ms.date: 09/22/2020
8+
ms.date: 04/06/2021
99
ms.topic: reference
1010
ms.prod: sql
1111
ms.technology: big-data-cluster
@@ -26,43 +26,8 @@ The following article provides reference for the **sql** commands in the **azdat
2626
## azdata arc dc debug copy-logs
2727
Copy the debug logs from the data controller - Kubernetes configuration is required on your system.
2828
```bash
29-
azdata arc dc debug copy-logs --namespace -ns
30-
[--container -c]
31-
32-
[--target-folder -d]
33-
34-
[--pod]
35-
36-
[--resource-kind -rk]
37-
38-
[--resource-name -rn]
39-
40-
[--timeout -t]
41-
42-
[--skip-compress -sc]
43-
44-
[--exclude-dumps -ed]
29+
azdata arc dc debug copy-logs
4530
```
46-
### Required Parameters
47-
#### `--namespace -ns`
48-
Kubernetes namespace of the data controller.
49-
### Optional Parameters
50-
#### `--container -c`
51-
Copy the logs for the containers with similar name, Optional, by default copies logs for all containers. Cannot be specified multiple times. If specified multiple times, last one will be used
52-
#### `--target-folder -d`
53-
Target folder path to copy logs to. Optional, by default creates the result in the local folder. Cannot be specified multiple times. If specified multiple times, last one will be used
54-
#### `--pod`
55-
Copy the logs for the pods with similar name. Optional, by default copies logs for all pods. Cannot be specified multiple times. If specified multiple times, last one will be used
56-
#### `--resource-kind -rk`
57-
Copy the logs for the resource of a particular kind. Cannot specified multiple times. If specified multiple times, last one will be used. If specified, --resource-name should also be specified to identify the resource.
58-
#### `--resource-name -rn`
59-
Copy the logs for the resource of the specified name. Cannot be specified multiple times. If specified multiple times, last one will be used. If specified, --resource-kind should also be specified to identify the resource.
60-
#### `--timeout -t`
61-
The number of seconds to wait for the command to complete. The default value is 0 which is unlimited
62-
#### `--skip-compress -sc`
63-
Whether or not to skip compressing the result folder. The default value is False which compresses the result folder.
64-
#### `--exclude-dumps -ed`
65-
Whether or not to exclude dumps from result folder. The default value is False which includes dumps.
6631
### Global Arguments
6732
#### `--debug`
6833
Increase logging verbosity to show all debug logs.
@@ -77,21 +42,8 @@ Increase logging verbosity. Use --debug for full debug logs.
7742
## azdata arc dc debug dump
7843
Trigger memory dump and copy it out from container - Kubernetes configuration is required on your system.
7944
```bash
80-
azdata arc dc debug dump --namespace -ns
81-
[--container -c]
82-
83-
[--target-folder -d]
45+
azdata arc dc debug dump
8446
```
85-
### Required Parameters
86-
#### `--namespace -ns`
87-
Kubernetes namespace of the data controller.
88-
### Optional Parameters
89-
#### `--container -c`
90-
The target container to be triggered for dumping the running processes.
91-
`controller`
92-
#### `--target-folder -d`
93-
Target folder to copy the dump out.
94-
`./output/dump`
9547
### Global Arguments
9648
#### `--debug`
9749
Increase logging verbosity to show all debug logs.

docs/azdata/reference/reference-azdata-arc-dc-endpoint.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Reference article for azdata arc dc endpoint commands.
55
author: MikeRayMSFT
66
ms.author: mikeray
77
ms.reviewer: seanw
8-
ms.date: 09/22/2020
8+
ms.date: 04/06/2021
99
ms.topic: reference
1010
ms.prod: sql
1111
ms.technology: big-data-cluster
@@ -25,17 +25,13 @@ The following article provides reference for the **sql** commands in the **azdat
2525
## azdata arc dc endpoint list
2626
List the data controller endpoint.
2727
```bash
28-
azdata arc dc endpoint list [--endpoint-name -e]
29-
28+
azdata arc dc endpoint list
3029
```
3130
### Examples
32-
Lists the data controller endpoint in a particular namespace.
31+
Lists all available data controller endpoints.
3332
```bash
34-
azdata arc dc endpoint list --namespace <ns>
33+
azdata arc dc endpoint list
3534
```
36-
### Optional Parameters
37-
#### `--endpoint-name -e`
38-
Arc data controller endpoint name.
3935
### Global Arguments
4036
#### `--debug`
4137
Increase logging verbosity to show all debug logs.

docs/azdata/reference/reference-azdata-arc-dc-status.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Reference article for azdata arc dc status commands.
55
author: MikeRayMSFT
66
ms.author: mikeray
77
ms.reviewer: seanw
8-
ms.date: 09/22/2020
8+
ms.date: 04/06/2021
99
ms.topic: reference
1010
ms.prod: sql
1111
ms.technology: big-data-cluster
@@ -25,17 +25,13 @@ The following article provides reference for the **sql** commands in the **azdat
2525
## azdata arc dc status show
2626
Shows the status of the data controller.
2727
```bash
28-
azdata arc dc status show [--namespace -ns]
29-
28+
azdata arc dc status show
3029
```
3130
### Examples
3231
Shows the status of the data controller in a particular namespace.
3332
```bash
3433
azdata arc dc status show --namespace <ns>
3534
```
36-
### Optional Parameters
37-
#### `--namespace -ns`
38-
The Kubernetes namespace in which the data controller exists.
3935
### Global Arguments
4036
#### `--debug`
4137
Increase logging verbosity to show all debug logs.

0 commit comments

Comments
 (0)