Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 74197d3

Browse files
Merge pull request #544 from chris-crone/cnab-helm-example-update
Update CNAB Helm example
2 parents 2a585be + 3f3812d commit 74197d3

File tree

1 file changed

+34
-19
lines changed

1 file changed

+34
-19
lines changed

examples/cnab-helm/README.md

Lines changed: 34 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,47 +9,62 @@
99

1010
### Examples
1111

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`:
1613

1714
```console
18-
$ docker app install --credential-set mycreds.yml bundle.json
15+
$ docker app install --credential-set creds.yaml bundle.json
1916
Do install for hellohelm
2017
helm install --namespace hellohelm -n hellohelm /cnab/app/charts/alpine
2118
NAME: hellohelm
22-
LAST DEPLOYED: Wed Nov 28 13:58:22 2018
19+
LAST DEPLOYED: Tue Jun 11 15:31:10 2019
2320
NAMESPACE: hellohelm
2421
STATUS: DEPLOYED
2522

2623
RESOURCES:
2724
==> 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"
3030
```
3131

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+
3235
Check the status of the Helm-based application:
3336

3437
```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
4147

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
4657
```
4758

4859
Uninstall the Helm-based application:
4960

5061
```console
51-
docker app uninstall --credential-set mycreds.yml hellohelm
62+
docker app uninstall --credential-set creds.yaml hellohelm
5263
Do Uninstall
5364
helm delete --purge hellohelm
5465
release "hellohelm" deleted
66+
Application "hellohelm" uninstalled on context "default"
5567
```
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

Comments
 (0)