|
9 | 9 |
|
10 | 10 | ### Examples |
11 | 11 |
|
12 | | -Install the Helm chart example using `docker app` |
13 | | - |
14 | | -**Note**: This example comes from |
15 | | -[deislabs/example-bundles](https://github.com/deislabs/example-bundles/tree/d1d95e25a2092ac170d9accd749dffa8babb2e05/hellohelm). See the [license file](./LICENSE) in this directory. |
| 12 | +Install the Helm chart example using `docker app`: |
16 | 13 |
|
17 | 14 | ```console |
18 | | -$ docker app install --credential-set mycreds.yml bundle.json |
| 15 | +$ docker app install --credential-set creds.yaml bundle.json |
19 | 16 | Do install for hellohelm |
20 | 17 | helm install --namespace hellohelm -n hellohelm /cnab/app/charts/alpine |
21 | 18 | NAME: hellohelm |
22 | | -LAST DEPLOYED: Wed Nov 28 13:58:22 2018 |
| 19 | +LAST DEPLOYED: Tue Jun 11 15:31:10 2019 |
23 | 20 | NAMESPACE: hellohelm |
24 | 21 | STATUS: DEPLOYED |
25 | 22 |
|
26 | 23 | RESOURCES: |
27 | 24 | ==> v1/Pod |
28 | | -NAME AGE |
29 | | -hellohelm-alpine 0s |
| 25 | +NAME READY STATUS RESTARTS AGE |
| 26 | +hellohelm-alpine 0/1 ContainerCreating 0 0s |
| 27 | + |
| 28 | + |
| 29 | +Application "hellohelm" installed on context "default" |
30 | 30 | ``` |
31 | 31 |
|
| 32 | +**Note**: When using Docker Desktop, you will need to change the IP address in |
| 33 | +your Kubernetes configuration file from `127.0.0.1` to its internal IP address. |
| 34 | + |
32 | 35 | Check the status of the Helm-based application: |
33 | 36 |
|
34 | 37 | ```console |
35 | | -$ docker app status --credential-set mycreds.yml hellohelm |
36 | | -Do Status |
37 | | -helm status hellohelm |
38 | | -LAST DEPLOYED: Wed Nov 28 13:58:22 2018 |
39 | | -NAMESPACE: hellohelm |
40 | | -STATUS: DEPLOYED |
| 38 | +$ docker app status --credential-set creds.yaml hellohelm |
| 39 | +INSTALLATION |
| 40 | +------------ |
| 41 | +Name: hellohelm |
| 42 | +Created: 39 seconds |
| 43 | +Modified: 36 seconds |
| 44 | +Revision: 01DD3JM99WRGVAV7T56RMAW13E |
| 45 | +Last Action: install |
| 46 | +Result: SUCCESS |
41 | 47 |
|
42 | | -RESOURCES: |
43 | | -==> v1/Pod |
44 | | -NAME AGE |
45 | | -hellohelm-alpine 2m |
| 48 | +APPLICATION |
| 49 | +----------- |
| 50 | +Name: hellohelm |
| 51 | +Version: 0.1.0 |
| 52 | +Reference: |
| 53 | + |
| 54 | +PARAMETERS |
| 55 | +---------- |
| 56 | +port: 8080 |
46 | 57 | ``` |
47 | 58 |
|
48 | 59 | Uninstall the Helm-based application: |
49 | 60 |
|
50 | 61 | ```console |
51 | | -docker app uninstall --credential-set mycreds.yml hellohelm |
| 62 | +docker app uninstall --credential-set creds.yaml hellohelm |
52 | 63 | Do Uninstall |
53 | 64 | helm delete --purge hellohelm |
54 | 65 | release "hellohelm" deleted |
| 66 | +Application "hellohelm" uninstalled on context "default" |
55 | 67 | ``` |
| 68 | + |
| 69 | +**Note**: This example comes from |
| 70 | +[deislabs/example-bundles](https://github.com/deislabs/example-bundles/tree/d1d95e25a2092ac170d9accd749dffa8babb2e05/hellohelm). See the [license file](./LICENSE) in this directory. |
0 commit comments