Skip to content

Commit 381c4fb

Browse files
committed
updates per awesome gatekeeping
1 parent 7d70583 commit 381c4fb

File tree

2 files changed

+21
-13
lines changed

2 files changed

+21
-13
lines changed

articles/azure-arc/kubernetes/connect-cluster.md

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -171,13 +171,23 @@ kubectl -n azure-arc get deploy,po
171171
**Output:**
172172

173173
```console
174-
NAME READY UP-TO-DATE AVAILABLE AGE
175-
deployment.extensions/config-agent 1/1 1 1 5h43m
176-
deployment.extensions/controller-manager 1/1 1 1 5h43m
177-
178-
NAME READY STATUS RESTARTS AGE
179-
pod/config-agent-c74f6695f-89hp8 1/1 Running 0 5h43m
180-
pod/controller-manager-7cf48dc76b-m9g74 2/2 Running 0 5h43m
174+
NAME READY UP-TO-DATE AVAILABLE AGE
175+
deployment.apps/cluster-metadata-operator 1/1 1 1 16h
176+
deployment.apps/clusteridentityoperator 1/1 1 1 16h
177+
deployment.apps/config-agent 1/1 1 1 16h
178+
deployment.apps/controller-manager 1/1 1 1 16h
179+
deployment.apps/flux-logs-agent 1/1 1 1 16h
180+
deployment.apps/metrics-agent 1/1 1 1 16h
181+
deployment.apps/resource-sync-agent 1/1 1 1 16h
182+
183+
NAME READY STATUS RESTART AGE
184+
pod/cluster-metadata-operator-7fb54d9986-g785b 2/2 Running 0 16h
185+
pod/clusteridentityoperator-6d6678ffd4-tx8hr 3/3 Running 0 16h
186+
pod/config-agent-544c4669f9-4th92 3/3 Running 0 16h
187+
pod/controller-manager-fddf5c766-ftd96 3/3 Running 0 16h
188+
pod/flux-logs-agent-7c489f57f4-mwqqv 2/2 Running 0 16h
189+
pod/metrics-agent-58b765c8db-n5l7k 2/2 Running 0 16h
190+
pod/resource-sync-agent-5cf85976c7-522p5 3/3 Running 0 16h
181191
```
182192

183193
## Azure Arc agents for Kubernetes

articles/azure-arc/kubernetes/create-onboarding-service-principal.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,13 @@ az role assignment create \
7979

8080
## Use Service Principal with CLI
8181

82-
Reference the newly created Service Principal by passing `--onboarding-spn-id` and `--onboarding-spn-secret` arguments:
82+
Reference the newly created Service Principal:
8383

8484
```console
85-
az connectedk8s connect \
86-
--name AzureArcTest1 \
87-
--resource-group AzureArcTest \
88-
--onboarding-spn-id 22cc2695-54b9-49c1-9a73-2269592103d8 \
89-
--onboarding-spn-secret 09d3a928-b223-4dfe-80e8-fed13baa3b3
85+
az login --service-principal -u mySpnClientId -p mySpnClientSecret --tenant myTenantID
86+
az connectedk8s connect -n myConnectedClusterName -g myResoureGroupName
9087
```
88+
9189
## Next steps
9290

9391
* [Use Azure Policy to govern cluster configuration](./use-azure-policy.md)

0 commit comments

Comments
 (0)