Skip to content

Commit fa73a4a

Browse files
committed
Remove redeploy
1 parent 72987fa commit fa73a4a

File tree

1 file changed

+2
-39
lines changed

1 file changed

+2
-39
lines changed

articles/iot-operations/manage-mqtt-broker/howto-configure-availability-scale.md

Lines changed: 2 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -97,43 +97,6 @@ By default, Azure IoT Operations Preview deploys a default Broker resource named
9797
kubectl get broker default -n azure-iot-operations -o yaml
9898
```
9999

100-
### Modify default broker by redeploying
101-
102-
Only [cardinality](#configure-scaling-settings) and [memory profile](#configure-memory-profile) are configurable with Azure portal or Azure CLI during initial deployment. Other settings and can only be configured by modifying the YAML file and redeploying the broker.
103-
104-
To delete the default broker, run the following command:
105-
106-
```bash
107-
kubectl delete broker default -n azure-iot-operations
108-
```
109-
110-
Then, create a YAML file with desired settings. For example, the following YAML file configures the broker with name `default` in namespace `azure-iot-operations` with `medium` memory profile and `distributed` mode with two frontend replicas and two backend chains with two partitions and two workers each. Also, the [encryption of internal traffic option](#configure-encryption-of-internal-traffic) is disabled.
111-
112-
```yaml
113-
apiVersion: mqttbroker.iotoperations.azure.com/v1beta1
114-
kind: Broker
115-
metadata:
116-
name: default
117-
namespace: azure-iot-operations
118-
spec:
119-
memoryProfile: medium
120-
cardinality:
121-
backendChain:
122-
partitions: 2
123-
redundancyFactor: 2
124-
workers: 2
125-
frontend:
126-
replicas: 2
127-
workers: 2
128-
encryptInternalTraffic: false
129-
```
130-
131-
Then, run the following command to deploy the broker:
132-
133-
```bash
134-
kubectl apply -f <path-to-yaml-file>
135-
```
136-
137100
## Configure MQTT broker advanced settings
138101

139102
The broker advanced settings include client configurations, encryption of internal traffic, and certificate rotations. For more information on the advanced settings, see the [Broker](/rest/api/iotoperations/broker/create-or-update) API reference.
@@ -212,7 +175,7 @@ spec:
212175
## Configure encryption of internal traffic
213176

214177
> [!IMPORTANT]
215-
> At this time, this feature can't be configured using the Azure CLI or Azure portal during initial deployment. To modify this setting, you need to modify the YAML file and [redeploy the broker](#modify-default-broker-by-redeploying).
178+
> At this time, this feature can't be configured using the Azure CLI or Azure portal during initial deployment.
216179

217180
The **encryptInternalTraffic** feature is used to encrypt the internal traffic between the frontend and backend pods. To use this feature, cert-manager must be installed in the cluster, which is installed by default when using the Azure IoT Operations.
218181

@@ -235,7 +198,7 @@ By default, the **encryptInternalTraffic** feature is enabled. To disable the fe
235198
## Configure disk-backed message buffer behavior
236199

237200
> [!IMPORTANT]
238-
> At this time, this feature can't be configured using the Azure CLI or Azure portal during initial deployment. To modify this setting, you need to modify the YAML file and [redeploy the broker](#modify-default-broker-by-redeploying).
201+
> At this time, this feature can't be configured using the Azure CLI or Azure portal during initial deployment.
239202

240203
The **diskBackedMessageBufferSettings** feature is used for efficient management of message queues within the MQTT broker distributed MQTT broker. The benefits include:
241204

0 commit comments

Comments
 (0)