Skip to content

Commit eea5837

Browse files
committed
Wait for resources to get ready before running post-install job
Signed-off-by: Kai Hudalla <[email protected]>
1 parent ba8db02 commit eea5837

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

charts/hono/README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ kubectl create namespace hono
3838
The chart can then be installed to name space `hono` using release name `eclipse-hono`:
3939

4040
```bash
41-
helm install --dependency-update -n hono eclipse-hono eclipse-iot/hono
41+
helm install --dependency-update --wait -n hono eclipse-hono eclipse-iot/hono
4242
```
4343

4444
## Verifying the Installation
@@ -109,13 +109,13 @@ In order to set a property to a non-default value, the `--set key=value[,key=val
109109
`helm install`. For example:
110110

111111
```bash
112-
helm install --dependency-update -n hono --set useLoadBalancer=false eclipse-hono eclipse-iot/hono
112+
helm install --dependency-update --wait -n hono --set useLoadBalancer=false eclipse-hono eclipse-iot/hono
113113
```
114114

115115
Alternatively, one or more YAML files that contain the properties can be provided when installing the chart:
116116

117117
```bash
118-
helm install --dependency-update -n hono -f /path/to/config.yaml -f /path/to/other-config.yaml eclipse-hono eclipse-iot/hono
118+
helm install --dependency-update --wait -n hono -f /path/to/config.yaml -f /path/to/other-config.yaml eclipse-hono eclipse-iot/hono
119119
```
120120

121121

@@ -128,7 +128,7 @@ Both Prometheus and Grafana are completely optional and are not required to run
128128
properties can be used to install the Prometheus and Grafana servers along with Hono:
129129

130130
```bash
131-
helm install --dependency-update -n hono --set prometheus.createInstance=true --set grafana.enabled=true eclipse-hono eclipse-iot/hono
131+
helm install --dependency-update --wait -n hono --set prometheus.createInstance=true --set grafana.enabled=true eclipse-hono eclipse-iot/hono
132132
```
133133

134134
### Accessing the Example Grafana Dashboard
@@ -160,14 +160,14 @@ The following command installs Hono using the standard images published on Docke
160160
*1.9.0* instead of the ones indicated by the chart's *appVersion* property:
161161

162162
```bash
163-
helm install --dependency-update -n hono --set honoImagesTag=1.9.0 eclipse-hono eclipse-iot/hono
163+
helm install --dependency-update --wait -n hono --set honoImagesTag=1.9.0 eclipse-hono eclipse-iot/hono
164164
```
165165

166166
The following command installs Hono using custom built images published on a private registry with tag
167167
*1.9.0-custom* instead of the ones indicated by the chart's *appVersion* property:
168168

169169
```bash
170-
helm install --dependency-update -n hono --set honoImagesTag=1.9.0-custom --set honoContainerRegistry=my-registry:9090 eclipse-hono eclipse-iot/hono
170+
helm install --dependency-update --wait -n hono --set honoImagesTag=1.9.0-custom --set honoContainerRegistry=my-registry:9090 eclipse-hono eclipse-iot/hono
171171
```
172172

173173
It is also possible to define the image and tag names and container registry for each component separately.
@@ -211,7 +211,7 @@ Assuming that the file is named `customImages.yaml`, the values can then be pass
211211
Helm `install` command as follows:
212212

213213
```bash
214-
helm install --dependency-update -n hono -f /path/to/customImages.yaml eclipse-hono eclipse-iot/hono
214+
helm install --dependency-update --wait -n hono -f /path/to/customImages.yaml eclipse-hono eclipse-iot/hono
215215
```
216216

217217
## Using a production grade AMQP Messaging Network and Device Registry
@@ -291,7 +291,7 @@ Assuming that the file is named `customAmqpNetwork.yaml`, the values can then be
291291
command as follows:
292292

293293
```bash
294-
helm install --dependency-update -n hono -f /path/to/customAmqpNetwork.yaml eclipse-hono eclipse-iot/hono
294+
helm install --dependency-update --wait -n hono -f /path/to/customAmqpNetwork.yaml eclipse-hono eclipse-iot/hono
295295
```
296296

297297
### Integrating with a custom Device Registry
@@ -350,7 +350,7 @@ Assuming that the file is named `customRegistry.yaml`, the values can then be pa
350350
as follows:
351351

352352
```bash
353-
helm install --dependency-update -n hono -f /path/to/customRegistry.yaml eclipse-hono eclipse-iot/hono
353+
helm install --dependency-update --wait -n hono -f /path/to/customRegistry.yaml eclipse-hono eclipse-iot/hono
354354
```
355355

356356
## Configuring Storage for Command Routing Data
@@ -369,7 +369,7 @@ Hono comes with a ready to use implementation of the Command Router API which is
369369
deploying Hono using the Helm chart:
370370

371371
```bash
372-
helm install --dependency-update -n hono eclipse-hono eclipse-iot/hono
372+
helm install --dependency-update --wait -n hono eclipse-hono eclipse-iot/hono
373373
```
374374

375375
#### Using an Embedded Cache
@@ -388,7 +388,7 @@ The Helm chart supports deployment of an example data grid which can be used for
388388
*dataGridExample.enabled* property to `true`:
389389

390390
```bash
391-
helm install --dependency-update -n hono --set dataGridExample.enabled=true eclipse-hono eclipse-iot/hono
391+
helm install --dependency-update --wait -n hono --set dataGridExample.enabled=true eclipse-hono eclipse-iot/hono
392392
```
393393

394394
This will deploy the data grid based Command Router service component.
@@ -410,7 +410,7 @@ Hono's file based example Device Registry component contains a simple in-memory
410410
Connection API. To use this implementation, deploy the example registry as follows:
411411

412412
```bash
413-
helm install --dependency-update -n hono --set useCommandRouter=false --set deviceRegistryExample.type=file eclipse-hono eclipse-iot/hono
413+
helm install --dependency-update --wait -n hono --set useCommandRouter=false --set deviceRegistryExample.type=file eclipse-hono eclipse-iot/hono
414414
```
415415

416416
#### Data Grid based Implementation
@@ -424,7 +424,7 @@ The Helm chart supports deployment of an example data grid which can be used for
424424
*dataGridExample.enabled* property to `true`:
425425

426426
```bash
427-
helm install --dependency-update -n hono --set useCommandRouter=false --set deviceConnectionService.enabled=true --set dataGridExample.enabled=true eclipse-hono eclipse-iot/hono
427+
helm install --dependency-update --wait -n hono --set useCommandRouter=false --set deviceConnectionService.enabled=true --set dataGridExample.enabled=true eclipse-hono eclipse-iot/hono
428428
```
429429

430430
This will deploy the data grid based Device Connection service and configure all protocol adapters to use it instead of
@@ -457,7 +457,7 @@ The following table provides an overview of the corresponding configuration prop
457457
The following command will deploy the LoRa adapter along with Hono's standard adapters (AMQP, HTTP and MQTT):
458458

459459
```bash
460-
helm install --dependency-update -n hono --set adapters.lora.enabled=true eclipse-hono eclipse-iot/hono
460+
helm install --dependency-update --wait -n hono --set adapters.lora.enabled=true eclipse-hono eclipse-iot/hono
461461
```
462462

463463
## Jaeger Tracing
@@ -471,7 +471,7 @@ The chart can be configured to deploy and use an example Jaeger back end by mean
471471
*jaegerBackendExample.enabled* property to `true` when running Helm:
472472

473473
~~~sh
474-
helm install --dependency-update -n hono --set jaegerBackendExample.enabled=true eclipse-hono eclipse-iot/hono
474+
helm install --dependency-update --wait -n hono --set jaegerBackendExample.enabled=true eclipse-hono eclipse-iot/hono
475475
~~~
476476

477477
This will create a Jaeger back end instance suitable for testing purposes and will configure all deployed Hono
@@ -522,7 +522,7 @@ The Helm chart can be configured to use these *native* images by means of settin
522522
to `quarkus-native` during installation:
523523

524524
```bash
525-
helm install --dependency-update -n hono --set honoImagesType=quarkus-native eclipse-hono eclipse-iot/hono
525+
helm install --dependency-update --wait -n hono --set honoImagesType=quarkus-native eclipse-hono eclipse-iot/hono
526526
```
527527

528528
## Using Kafka based Messaging
@@ -538,7 +538,7 @@ The following command provides a quick start for Kafka based messaging (ensure `
538538
Minikube):
539539

540540
```bash
541-
helm install --dependency-update -n hono --set messagingNetworkTypes[0]=kafka --set kafkaMessagingClusterExample.enabled=true --set amqpMessagingNetworkExample.enabled=false eclipse-hono eclipse-iot/hono
541+
helm install --dependency-update --wait -n hono --set messagingNetworkTypes[0]=kafka --set kafkaMessagingClusterExample.enabled=true --set amqpMessagingNetworkExample.enabled=false eclipse-hono eclipse-iot/hono
542542
```
543543

544544
The parameters enable the deployment of an example Kafka cluster, disable the deployment of the AMQP 1.0 messaging
@@ -592,5 +592,5 @@ Assuming that the file is named `customKafkaCluster.yaml`, the values can then b
592592
command as follows:
593593

594594
```bash
595-
helm install --dependency-update -n hono -f /path/to/customKafkaCluster.yaml eclipse-hono eclipse-iot/hono
595+
helm install --dependency-update --wait -n hono -f /path/to/customKafkaCluster.yaml eclipse-hono eclipse-iot/hono
596596
```

0 commit comments

Comments
 (0)