You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/chaos-studio/chaos-studio-private-networking.md
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,22 +26,23 @@ To configure VNet injection, use the following steps.
26
26
> [!NOTE]
27
27
> These instructions assume you already have a private AKS cluster. Learn more about private clusters here: [Create a private Azure Kubernetes Service cluster](../aks/private-clusters.md)
28
28
29
-
### [Azure portal](#tab/portal)
29
+
### [Azure portal](#tab/azure-portal)
30
30
31
-
1. Make sure the `Microsoft.ContainerInstance` and `Microsoft.Relay` resource providers are registered with your subscription (if applicable) by using the [Register resource provider](../azure-resource-manager/management/resource-providers-and-types.md) instructions.
31
+
1. Within the Azure portal, navigate to **Subscriptions**, then **Resource providers** within your subscription.
32
+
1. Register the `Microsoft.ContainerInstance` and `Microsoft.Relay` resource providers, if they aren't already registered, by selecting the provider and then the **Register** button. Additionally, re-register the `Microsoft.ChaosStudio` resource provider.
32
33

33
-
1. Navigate to Azure Chaos Studio and select Targets. Find your desired AKS cluster and select "Enable targets", then "Enable service-direct targets".
34
+
1. Navigate to Azure Chaos Studio and select **Targets**. Find your desired AKS cluster and select **Enable targets**, then **Enable service-direct targets**.
34
35

35
36
1. Select the cluster's Virtual Network. If the VNet already includes Subnets named `ChaosStudioContainerSubnet` and `ChaosStudioRelaySubnet`, select them. If they don't already exist, they will be automatically created for you.
36
37

37
-
1. Select "Review + Enable" and "Enable".
38
+
1. Select **Review + Enable** and **Enable**.
38
39

39
40
40
41
Now your private AKS cluster can be used with Chaos Studio! Use the following instructions to learn how to install Chaos Mesh and run the experiment: [Create a chaos experiment that uses a Chaos Mesh fault with the Azure portal](chaos-studio-tutorial-aks-portal.md).
41
42
42
-
### [Azure CLI](#tab/cli)
43
+
### [Azure CLI](#tab/azure-cli)
43
44
44
-
1. Register the `Microsoft.ContainerInstance` and `Microsoft.Relay` resource providers with your subscription. If they're both already registered, you can skip this step.
45
+
1. Register the `Microsoft.ContainerInstance` and `Microsoft.Relay` resource providers with your subscription by running the following commands. If they're both already registered, you can skip this step. For more detail, see the [Register resource provider](../azure-resource-manager/management/resource-providers-and-types.md) instructions.
45
46
46
47
```azurecli
47
48
az provider register --namespace 'Microsoft.ContainerInstance' --wait
@@ -51,7 +52,7 @@ Now your private AKS cluster can be used with Chaos Studio! Use the following in
51
52
az provider register --namespace 'Microsoft.Relay' --wait
52
53
```
53
54
54
-
Verify the registration by running the following command:
55
+
Verify the registration by running the following commands:
55
56
56
57
```azurecli
57
58
az provider show --namespace 'Microsoft.ContainerInstance' | grep registrationState
@@ -85,7 +86,7 @@ Now your private AKS cluster can be used with Chaos Studio! Use the following in
85
86
"registrationState": "Registered",
86
87
```
87
88
88
-
1. Create two subnets in the VNet you want to inject into:
89
+
1. Create two subnets in the VNet you want to inject into (such as the relevant AKS VNet):
89
90
90
91
- `ChaosStudioContainerSubnet`
91
92
- Delegate the subnet to `Microsoft.ContainerInstance/containerGroups` service.
@@ -130,7 +131,7 @@ Now your private AKS cluster can be used with Chaos Studio! Use the following in
130
131
---
131
132
132
133
## Limitations
133
-
* VNet injection is currently only possible in subscriptions/regions where Azure Container Instances and Azure Relay are available. They're deployed to target regions.
134
+
* VNet injection is currently only possible in subscriptions/regions where Azure Container Instances and Azure Relay are available.
134
135
* When you create a Target resource that you'll enable with VNet injection, you need `Microsoft.Network/virtualNetworks/subnets/write` access to the virtual network. For example, if the AKS cluster is deployed to VNet_A, then you must have permissions to create subnets in VNet_A in order to enable VNet injection for the AKS cluster. You have to specify a subnet (in VNet_A) that the container will be deployed to.
0 commit comments