Skip to content

Commit d97b9e8

Browse files
authored
Merge pull request #184394 from MikeRayMSFT/20220106-arc-upgrade
Update version information in upgrade docs
2 parents 42100b4 + 3d45e4b commit d97b9e8

6 files changed

+27
-23
lines changed

articles/azure-arc/data/upgrade-data-controller-direct-cli.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,18 +77,20 @@ az arcdata dc upgrade --resource-group <resource group> --name <data controller
7777
The output for the preceding command is:
7878

7979
```output
80-
Preparing to upgrade dc arcdc in namespace arc to version 20211024.1.
81-
Preparing to upgrade dc arcdc in namespace arc to version 20211024.1.
80+
Preparing to upgrade dc arcdc in namespace arc to version <version-tag>.
81+
Preparing to upgrade dc arcdc in namespace arc to version <version-tag>.
8282
****Dry Run****
83-
Arcdata Control Plane would be upgraded to: 20211024.1
83+
Arcdata Control Plane would be upgraded to: <version-tag>
8484
```
8585

86-
To upgrade the data controller, run the `az arcdata dc upgrade` command. If you don't specify a target image, the data controller will be upgraded to the latest version. The following example uses a local variable (`$version`) to use the version you selected previously ([View available images and chose a version](#view-available-images-and-chose-a-version)).
86+
To upgrade the data controller, run the `az arcdata dc upgrade` command. If you don't specify a target image, the data controller will be upgraded to the latest version.
8787

8888
```azurecli
89-
az arcdata dc upgrade --resource-group <resource group> --name <data controller name> --desired-version <version> [--no-wait]
89+
az arcdata dc upgrade --resource-group <resource group> --name <data controller name> [--no-wait]
9090
```
9191

92+
In example above, you can include `--desired-version <version>` to specify a version if you do not want the latest version.
93+
9294
## Monitor the upgrade status
9395

9496
You can monitor the progress of the upgrade with CLI.

articles/azure-arc/data/upgrade-data-controller-indirect-cli.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ You will need an indirect mode data controller with the imageTag v1.0.0_2021-07-
2525
To check the version, run:
2626

2727
```console
28-
kubectl get datacontrollers -n -o custom-columns=BUILD:.spec.docker.imageTag
28+
kubectl get datacontrollers -n <namespace> -o custom-columns=BUILD:.spec.docker.imageTag
2929
```
3030

3131
## Install tools
@@ -42,7 +42,7 @@ Before you can proceed with the tasks in this article you need to install:
4242
Pull the list of available images for the data controller with the following command:
4343

4444
```azurecli
45-
az arcdata dc list-upgrades --k8s-namespace <namespace> –-use-k8s
45+
az arcdata dc list-upgrades --k8s-namespace <namespace>
4646
```
4747

4848
The command above returns output like the following example:
@@ -76,23 +76,23 @@ az arcdata dc upgrade --desired-version <version> --k8s-namespace <namespace> --
7676
The output for the preceding command is:
7777

7878
```output
79-
Preparing to upgrade dc arcdc in namespace arc to version 20211024.1.
80-
Preparing to upgrade dc arcdc in namespace arc to version 20211024.1.
79+
Preparing to upgrade dc arcdc in namespace arc to version <version-tag>.
80+
Preparing to upgrade dc arcdc in namespace arc to version <version-tag>.
8181
****Dry Run****
82-
Arcdata Control Plane would be upgraded to: 20211024.1
82+
Arcdata Control Plane would be upgraded to: <version-tag>
8383
```
8484

85-
To upgrade the data controller, run the `az arcdata dc upgrade` command. If you don't specify a target image, the data controller will be upgraded to the latest version. The following example uses a local variable (`$version`) to use the version you selected previously ([View available images and chose a version](#view-available-images-and-chose-a-version)).
85+
To upgrade the data controller, run the `az arcdata dc upgrade` command. If you don't specify a target image, the data controller will be upgraded to the latest version.
8686

8787
```azurecli
88-
az arcdata dc upgrade --desired-version $version --k8s-namespace <namespace> --use-k8s
88+
az arcdata dc upgrade --k8s-namespace <namespace> --use-k8s
8989
```
9090

9191
The output for the preceding command shows the status of the steps:
9292

9393
```output
94-
Preparing to upgrade dc arcdc in namespace arc to version 20211024.1.
95-
Preparing to upgrade dc arcdc in namespace arc to version 20211024.1.
94+
Preparing to upgrade dc arcdc in namespace arc to version <version-tag>.
95+
Preparing to upgrade dc arcdc in namespace arc to version <version-tag>.
9696
Creating service account: arc:cr-upgrade-worker
9797
Creating cluster role: arc:cr-upgrade-worker
9898
Creating cluster role binding: arc:crb-upgrade-worker
@@ -102,6 +102,8 @@ Service account arc:cr-upgrade-worker has been created successfully.
102102
Creating privileged job arc-elevated-bootstrapper-job
103103
```
104104

105+
In example above, you can include `--desired-version <version>` to specify a version if you do not want the latest version.
106+
105107
## Monitor the upgrade status
106108

107109
You can monitor the progress of the upgrade with kubectl or CLI.

articles/azure-arc/data/upgrade-data-controller-indirect-kubernetes-tools.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ such as the Kubernetes dashboard, oc, or helm if you are familiar with those too
5353
Pull the list of available images for the data controller with the following command:
5454

5555
```azurecli
56-
az arcdata dc list-upgrades --k8s-namespace <namespace> –-use-k8s
56+
az arcdata dc list-upgrades --k8s-namespace <namespace>
5757
```
5858

5959
The command above returns output like the following example:
6060

6161
```output
62-
Found 2 valid versions. The current datacontroller version is v1.0.0_2021-07-30.
63-
v1.1.0_2021-11-02
64-
v1.0.0_2021-07-30
62+
Found 2 valid versions. The current datacontroller version is <current-version>.
63+
<available-version>
64+
...
6565
```
6666

6767
## Create or download .yaml file

articles/azure-arc/data/upgrade-sql-managed-instance-cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The output will be:
4040

4141
```output
4242
Preparing to upgrade sql sqlmi-1 in namespace arc to data controller version.
43-
****Dry Run****1 instance(s) would be upgraded by this commandsqlmi-1 would be upgraded to 20211024.1.
43+
****Dry Run****1 instance(s) would be upgraded by this commandsqlmi-1 would be upgraded to <version-tag>.
4444
```
4545

4646
### General Purpose
@@ -99,7 +99,7 @@ Status:
9999
Observed Generation: 2
100100
Primary Endpoint: 30.76.129.38,1433
101101
Ready Replicas: 1/1
102-
Running Version: 20211024.1
102+
Running Version: <version-tag>
103103
State: Ready
104104
```
105105

articles/azure-arc/data/upgrade-sql-managed-instance-direct-cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The output will be:
4242

4343
```output
4444
Preparing to upgrade sql sqlmi-1 in namespace arc to data controller version.
45-
****Dry Run****1 instance(s) would be upgraded by this commandsqlmi-1 would be upgraded to 20211024.1.
45+
****Dry Run****1 instance(s) would be upgraded by this commandsqlmi-1 would be upgraded to <version-tag>.
4646
```
4747

4848
### General Purpose
@@ -95,7 +95,7 @@ Status:
9595
Observed Generation: 2
9696
Primary Endpoint: 30.76.129.38,1433
9797
Ready Replicas: 1/1
98-
Running Version: 20211024.1
98+
Running Version: <version-tag>
9999
State: Ready
100100
```
101101

articles/azure-arc/data/upgrade-sql-managed-instance-indirect-kubernetes-tools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Status:
8787
Observed Generation: 2
8888
Primary Endpoint: 30.76.129.38,1433
8989
Ready Replicas: 1/1
90-
Running Version: 20211024.1
90+
Running Version: <version-tag>
9191
State: Ready
9292
```
9393

0 commit comments

Comments
 (0)