Skip to content

Commit 7a009e0

Browse files
committed
Clarify pod restart
1 parent 7d9ed16 commit 7a009e0

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

articles/iot-operations/deploy-iot-ops/howto-manage-secrets.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ You will need the Key Vault resource ID when you run `az iot ops init`. To retri
101101
az keyvault show --name "<your unique key vault name>" --resource-group "<the name of the resource group>" --query id -o tsv
102102
```
103103

104-
### Set service principal access policy in Azue Key Vault
104+
### Set service principal access policy in Azure Key Vault
105105

106106
The newly created service principal needs **Secret** `list` and `get` access policy for the Azure IoT Operations to work with the secret store.
107107

@@ -156,7 +156,12 @@ Once you have the secret store set up on your cluster, you can create and add Az
156156
157157
1. Save your changes and apply them to your cluster. If you use k9s, your changes are automatically applied.
158158
159-
The CSI driver updates secrets according to a polling interval, so a new secret won't be updated on the pods until the next polling interval. If you want the secrets to be updated immediately, update the pods for that component. For example, for the Azure IoT Data Processor component, update the `aio-dp-reader-worker-0` and `aio-dp-runner-worker-0` pods.
159+
The CSI driver updates secrets by using a polling interval, therefore the new secret isn't available to the pod until the next polling interval. To update a component immediately, restart the pods for the component. For example, to restart the Data Processor component, run the following commands:
160+
161+
```console
162+
kubectl delete pod aio-dp-reader-worker-0 -n azure-iot-operations
163+
kubectl delete pod aio-dp-runner-worker-0 -n azure-iot-operations
164+
```
160165

161166
## Azure IoT MQ secrets
162167

0 commit comments

Comments
 (0)