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-tutorial-agent-based-cli.md
+33-4Lines changed: 33 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,32 +113,61 @@ The chaos agent is an application that runs in your VM or virtual machine scale
113
113
114
114
1. Install the Chaos Studio VM extension. Replace `$VM_RESOURCE_ID` with the resource ID of your VM or replace `$SUBSCRIPTION_ID`, `$RESOURCE_GROUP`, and `$VMSS_NAME` with those properties for your virtual machine scale set. Replace `$AGENT_PROFILE_ID` with the agent Profile ID. Replace `$USER_IDENTITY_CLIENT_ID` with the client ID of your managed identity. Replace `$APP_INSIGHTS_KEY` with your Application Insights instrumentation key. If you aren't using Application Insights, remove that key/value pair.
115
115
116
+
#### Full list of default Agent virtual machine extension configuration
117
+
118
+
Here is the **minimum agent vm extension configuration** required by the user:
119
+
120
+
```azcli-interactive
121
+
{
122
+
"profile": "$AGENT_PROFILE_ID",
123
+
"auth.msi.clientid": "$USER_IDENTITY_CLIENT_ID"
124
+
}
125
+
```
126
+
127
+
Here is **all values for agent vm extension configuration**
128
+
129
+
```azcli-interactive
130
+
{
131
+
"profile": "$AGENT_PROFILE_ID",
132
+
"auth.msi.clientid": "$USER_IDENTITY_CLIENT_ID",
133
+
"appinsightskey": "$APP_INSIGHTS_KEY",
134
+
"overrides": {
135
+
"region": string, default to be null
136
+
"logLevel": {
137
+
"default" : string , default to be Information
138
+
},
139
+
"checkCertRevocation": boolean, default to be false.
140
+
}
141
+
}
142
+
```
143
+
144
+
116
145
#### Install the agent on a virtual machine
117
146
118
147
Windows
119
148
120
149
```azurecli-interactive
121
-
az vm extension set --ids $VM_RESOURCE_ID --name ChaosWindowsAgent --publisher Microsoft.Azure.Chaos --version 1.0 --settings '{"profile": "$AGENT_PROFILE_ID", "auth.msi.clientid":"$USER_IDENTITY_CLIENT_ID", "appinsightskey":"$APP_INSIGHTS_KEY"}'
150
+
az vm extension set --ids $VM_RESOURCE_ID --name ChaosWindowsAgent --publisher Microsoft.Azure.Chaos --version 1.0 --settings '{"profile": "$AGENT_PROFILE_ID", "auth.msi.clientid":"$USER_IDENTITY_CLIENT_ID", "appinsightskey":"$APP_INSIGHTS_KEY"{"Overrides": "CheckCertRevocation" = true}}'
122
151
```
123
152
124
153
Linux
125
154
126
155
```azurecli-interactive
127
-
az vm extension set --ids $VM_RESOURCE_ID --name ChaosLinuxAgent --publisher Microsoft.Azure.Chaos --version 1.0 --settings '{"profile": "$AGENT_PROFILE_ID", "auth.msi.clientid":"$USER_IDENTITY_CLIENT_ID", "appinsightskey":"$APP_INSIGHTS_KEY"}'
156
+
az vm extension set --ids $VM_RESOURCE_ID --name ChaosLinuxAgent --publisher Microsoft.Azure.Chaos --version 1.0 --settings '{"profile": "$AGENT_PROFILE_ID", "auth.msi.clientid":"$USER_IDENTITY_CLIENT_ID", "appinsightskey":"$APP_INSIGHTS_KEY"{"Overrides": "CheckCertRevocation" = true}}'
128
157
```
129
158
130
159
#### Install the agent on a virtual machine scale set
1. If you're setting up a virtual machine scale set, verify that the instances were upgraded to the latest model. If needed, upgrade all instances in the model.
0 commit comments