Skip to content

Commit f49be41

Browse files
authored
Merge pull request #203988 from anraghun/aak8s-updates
Refreshing stale Arc K8s docs
2 parents 21b5bec + 343fcee commit f49be41

File tree

5 files changed

+8
-19
lines changed

5 files changed

+8
-19
lines changed

articles/azure-arc/kubernetes/azure-rbac.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ A conceptual overview of this feature is available in the [Azure RBAC on Azure A
3636
- [Upgrade your agents](agent-upgrade.md#manually-upgrade-agents) to version 1.1.0 or later.
3737
3838
> [!NOTE]
39-
> You can't set up this feature for managed Kubernetes offerings of cloud providers like Elastic Kubernetes Service or Google Kubernetes Engine where the user doesn't have access to the API server of the cluster. For Azure Kubernetes Service (AKS) clusters, this [feature is available natively](../../aks/manage-azure-rbac.md) and doesn't require the AKS cluster to be connected to Azure Arc.
39+
> You can't set up this feature for managed Kubernetes offerings of cloud providers like Elastic Kubernetes Service or Google Kubernetes Engine where the user doesn't have access to the API server of the cluster. For Azure Kubernetes Service (AKS) clusters, this [feature is available natively](../../aks/manage-azure-rbac.md) and doesn't require the AKS cluster to be connected to Azure Arc. This feature isn't supported on AKS on Azure Stack HCI.
4040
4141
## Set up Azure AD applications
4242

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

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,6 @@ A conceptual overview of this feature is available in [Cluster connect - Azure A
8484

8585
---
8686

87-
## Enable Cluster Connect feature
88-
89-
You can enable the Cluster Connect on any Azure Arc-enabled Kubernetes cluster by running the following command on a machine where the `kubeconfig` file is pointed to the cluster of concern:
90-
91-
```azurecli
92-
az connectedk8s enable-features --features cluster-connect -n $CLUSTER_NAME -g $RESOURCE_GROUP
93-
```
94-
9587
## Azure Active Directory authentication option
9688

9789
### [Azure CLI](#tab/azure-cli)
@@ -101,7 +93,7 @@ az connectedk8s enable-features --features cluster-connect -n $CLUSTER_NAME -g $
10193
- For an Azure AD user account:
10294

10395
```azurecli
104-
AAD_ENTITY_OBJECT_ID=$(az ad signed-in-user show --query objectId -o tsv)
96+
AAD_ENTITY_OBJECT_ID=$(az ad signed-in-user show --query userPrincipalName -o tsv)
10597
```
10698
10799
- For an Azure AD application:

articles/azure-arc/kubernetes/kubernetes-resource-view.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ The Azure portal includes a Kubernetes resource view for easy access to the Kube
1717

1818
- An existing Kubernetes cluster [connected](quickstart-connect-cluster.md) to Azure as an Azure Arc-enabled Kubernetes resource.
1919

20-
- [Cluster Connect feature has to be enabled](cluster-connect.md#enable-cluster-connect-feature) on the Azure Arc-enabled Kubernetes cluster.
21-
2220
- [Service account token](cluster-connect.md#service-account-token-authentication-option) for authentication to the cluster.
2321

2422
## View Kubernetes resources

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ For a conceptual look at connecting clusters to Azure Arc, see [Azure Arc-enable
4040
* [Kubernetes in Docker (KIND)](https://kind.sigs.k8s.io/)
4141
* Create a Kubernetes cluster using Docker for [Mac](https://docs.docker.com/docker-for-mac/#kubernetes) or [Windows](https://docs.docker.com/docker-for-windows/#kubernetes)
4242
* Self-managed Kubernetes cluster using [Cluster API](https://cluster-api.sigs.k8s.io/user/quick-start.html)
43-
* If you want to connect a OpenShift cluster to Azure Arc, execute the following command one time on your cluster before running `az connectedk8s connect`:
44-
45-
```bash
46-
oc adm policy add-scc-to-user privileged system:serviceaccount:azure-arc:azure-arc-kube-aad-proxy-sa
47-
```
4843

4944
>[!NOTE]
5045
> The cluster needs to have at least one node of operating system and architecture type `linux/amd64`. Clusters with only `linux/arm64` nodes aren't yet supported.

articles/azure-arc/kubernetes/troubleshooting.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ If your cluster is behind an outbound proxy or firewall, verify that websocket c
457457

458458
### Cluster Connect feature disabled
459459

460-
If the Cluster Connect feature is disabled on the cluster, then `az connectedk8s proxy` will fail to establish a session with the cluster.
460+
If the `clusterconnect-agent` and `kube-aad-proxy` pods are missing, then the cluster connect feature is likely disabled on the cluster, and `az connectedk8s proxy` will fail to establish a session with the cluster.
461461

462462
```azurecli
463463
az connectedk8s proxy -n AzureArcTest -g AzureArcTest
@@ -467,7 +467,11 @@ az connectedk8s proxy -n AzureArcTest -g AzureArcTest
467467
Cannot connect to the hybrid connection because no agent is connected in the target arc resource.
468468
```
469469

470-
To resolve this error, [enable the Cluster Connect feature](cluster-connect.md#enable-cluster-connect-feature) on your cluster.
470+
To resolve this error, enable the Cluster Connect feature on your cluster.
471+
472+
```azurecli
473+
az connectedk8s enable-features --features cluster-connect -n $CLUSTER_NAME -g $RESOURCE_GROUP
474+
```
471475

472476
## Enable custom locations using service principal
473477

0 commit comments

Comments
 (0)