Skip to content

Commit 1c2f366

Browse files
committed
Updates from review
1 parent 27f4457 commit 1c2f366

File tree

2 files changed

+38
-36
lines changed

2 files changed

+38
-36
lines changed

articles/service-connector/how-to-use-service-connector-in-aks.md

Lines changed: 36 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
2-
title: How to use Service Connector in AKS
2+
title: How to use Service Connector in Azure Kubernetes Service (AKS)
33
description: Learn how to use Service Connector to connect AKS to other Azure services. Learn about Service Connector operations, resource management, and troubleshooting.
44
author: houk-ms
5+
ms.reviewer: malev
56
ms.service: service-connector
67
ms.topic: how-to
78
ms.date: 02/06/2025
@@ -127,64 +128,64 @@ The Service Connector Kubernetes extension is built on top of [Azure Arc-enabled
127128
128129
1. Install the `k8s-extension` Azure CLI extension.
129130

130-
```azurecli
131-
az extension add --name k8s-extension
132-
```
131+
```azurecli
132+
az extension add --name k8s-extension
133+
```
133134

134135
1. Retrieve the status of the Service Connector extension. Check the `statuses` property in the command output to identify any errors.
135136

136-
```azurecli
137-
az k8s-extension show \
138-
--resource-group MyClusterResourceGroup \
139-
--cluster-name MyCluster \
140-
--cluster-type managedClusters \
141-
--name sc-extension
142-
```
137+
```azurecli
138+
az k8s-extension show \
139+
--resource-group MyClusterResourceGroup \
140+
--cluster-name MyCluster \
141+
--cluster-type managedClusters \
142+
--name sc-extension
143+
```
143144

144145
### Check Kubernetes cluster logs
145146

146147
If an error occurs during the extension installation and the error message in the `statuses` property doesn't provide sufficient information, you can further investigate by checking the Kubernetes logs with the followings steps.
147148

148149
1. Connect to your AKS cluster.
149150

150-
```azurecli
151-
az aks get-credentials \
152-
--resource-group MyClusterResourceGroup \
153-
--name MyCluster
154-
```
155-
1. The Service Connector extension is installed in the `sc-system` namespace using a Helm chart. Check the namespace and the Helm release uding the following commands.
151+
```azurecli
152+
az aks get-credentials \
153+
--resource-group MyClusterResourceGroup \
154+
--name MyCluster
155+
```
156+
1. The Service Connector extension is installed in the `sc-system` namespace using a Helm chart. Check the namespace and the Helm release using the following commands.
156157

157158
- Check the namespace exists.
158159

159-
```Bash
160-
kubectl get ns
161-
```
160+
```Bash
161+
kubectl get ns
162+
```
162163

163164
- Check the helm release status.
164165

165-
```Bash
166-
helm list -n sc-system
167-
```
166+
```Bash
167+
helm list -n sc-system
168+
```
168169

169170
1. During the extension installation or update, a Kubernetes job called `sc-job` creates the Kubernetes resources for the service connection. A job execution failure typically causes the extension to fail. Check the job status by running the following commands. If `sc-job` doesn't exist in the `sc-system` namespace, it should have been executed successfully. This job is designed to be automatically deleted after successful execution.
170171

171172
- Check the job exists.
172173

173-
```Bash
174-
kubectl get job -n sc-system
175-
```
174+
```Bash
175+
kubectl get job -n sc-system
176+
```
176177

177178
- Get the job status.
178179

179-
```Bash
180-
kubectl describe job/sc-job -n sc-system
181-
```
180+
```Bash
181+
kubectl describe job/sc-job -n sc-system
182+
```
182183

183184
- View the job logs.
184185

185-
```Bash
186-
kubectl logs job/sc-job -n sc-system
187-
```
186+
```Bash
187+
kubectl logs job/sc-job -n sc-system
188+
```
188189

189190
### Common errors and mitigations
190191

@@ -229,9 +230,9 @@ This error typically occurs when attempting to create a service connection while
229230
1. Ensure your cluster is in a "Succeeded" state and retry the creation.
230231
1. Run the following command to make sure your subscription is registered with the `Microsoft.KubernetesConfiguration` resource provider.
231232

232-
```azurecli
233-
az provider register -n Microsoft.KubernetesConfiguration
234-
```
233+
```azurecli
234+
az provider register -n Microsoft.KubernetesConfiguration
235+
```
235236

236237
#### Unauthorized resource access
237238

articles/service-connector/quickstart-portal-aks-connection.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
2-
title: Create a service connection in AKS from the Azure portal
2+
title: Create a service connection in Azure Kubernetes Service (AKS) from the Azure portal
33
description: Quickstart showing how to create a service connection in Azure Kubernetes Service (AKS) from the Azure portal
44
author: houk-ms
55
ms.author: honc
6+
ms.reviewer: malev
67
ms.service: service-connector
78
ms.topic: quickstart
89
ms.date: 01/28/2025

0 commit comments

Comments
 (0)