├── README.md └── doc ├── HelmKubernetesDistro.png └── HelmTemplate1.png /README.md: -------------------------------------------------------------------------------- 1 | # Helm Repository Demonstration 2 | 3 | This GitHub repo is used to demonstrate GitHub’s ability to act as a static serving web server. GitHub provides this capability through its Pages feature. 4 | 5 | With the Pages feature enabled, you can host your own Helm charts within it, thereby making it a Helm chart repository. 6 | 7 | ![Helm](./doc/HelmKubernetesDistro.png) 8 | 9 | :metal: 10 | 11 | # STEP 1: 12 | Examine the Helm repo ```index.yaml``` chart file 13 | 14 | ``` 15 | curl -i https://cloudacademy.github.io/helm-repo/index.yaml 16 | ``` 17 | 18 | # STEP 2: 19 | Add the CloudAcademy GitHub Pages enabled Helm repo to local Helm setup 20 | 21 | ``` 22 | helm repo add cloudacademy-gh-repo https://cloudacademy.github.io/helm-repo/ 23 | ``` 24 | 25 | # STEP 3: 26 | List the currently configured Helm repos 27 | 28 | ``` 29 | helm repo list 30 | ``` 31 | 32 | # STEP 4: 33 | Perform a Helm repo update 34 | 35 | ``` 36 | helm repo update 37 | ``` 38 | 39 | # STEP 5: 40 | Search within the locally configured Helm repos for the ```cloudacademy-webapp``` Helm chart 41 | 42 | ``` 43 | helm search repo cloudacademy 44 | ``` 45 | 46 | # STEP 6: 47 | Install the ```cloudacademy-gh-repo/cloudacademy-webapp``` Helm chart 48 | 49 | ``` 50 | helm install ca-demo2 cloudacademy-gh-repo/cloudacademy-webapp 51 | ``` 52 | 53 | # STEP 7: 54 | Perform an HTTP GET request, send it to the newly created cluster service and confirm that the response containse the ```CloudAcademy DevOps 2020 v1``` message stored in the ```values.yaml``` file 55 | 56 | ``` 57 | kubectl run --image=busybox bbox1 --rm -it --restart=Never \ 58 | -- /bin/sh -c "wget -qO- http://ca-demo2-cloudacademy-webapp" 59 | ``` -------------------------------------------------------------------------------- /doc/HelmKubernetesDistro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudacademy/helm-repo/8da34c6d2d9d34fe2ca1566f40aba29f8f30decf/doc/HelmKubernetesDistro.png -------------------------------------------------------------------------------- /doc/HelmTemplate1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudacademy/helm-repo/8da34c6d2d9d34fe2ca1566f40aba29f8f30decf/doc/HelmTemplate1.png --------------------------------------------------------------------------------