Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ilyasstrh/helm-chart
Deploy a helloworld web-app using Helm Chart to minikube
https://github.com/ilyasstrh/helm-chart
helm helm-chart helm-charts ingress-nginx kubernetes kubernetes-helm-chart nginx nginx-docker
Last synced: about 2 months ago
JSON representation
Deploy a helloworld web-app using Helm Chart to minikube
- Host: GitHub
- URL: https://github.com/ilyasstrh/helm-chart
- Owner: ilyasstrh
- Created: 2021-09-29T23:39:43.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-30T00:08:25.000Z (over 3 years ago)
- Last Synced: 2023-07-16T00:23:11.103Z (over 1 year ago)
- Topics: helm, helm-chart, helm-charts, ingress-nginx, kubernetes, kubernetes-helm-chart, nginx, nginx-docker
- Language: Smarty
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# helm-chart
Deploy a helloworld web-app using Helm Chart to minikube## Start minikub
```
minikube start
```
Check minikube status with:
```
minikube status
```
You will receive as a result:> minikube
> type: Control Plane
> host: Running
> kubelet: Running
> apiserver: Running
> kubeconfig: Configured## Install the Helm Chart
To install the helm chart use this command:
```
helm install -f values.yaml nginx-app .
```
Result:
> NAME: nginx-app
LAST DEPLOYED: Wed Sep 29 23:02:36 2021
NAMESPACE: default
STATUS: deployed
> REVISION: 1
> NOTES:
> Get the application URL by running these commands:
- ``` export NODE_PORT=$(kubectl get --namespace default -o jsonpath="{.spec.ports[0].nodePort}" services helloworld-chart) ```
- ``` export NODE_IP=$(kubectl get nodes --namespace default -o jsonpath="{.items[0].status.addresses[0].address}") ```
> - ``` echo http://$NODE_IP:$NODE_PORT ```The aboce command deploys our application. Now we will export the NODE_IP and NODE_PORT, so we can use them to check our application.
``` echo http://$NODE_IP:$NODE_PORT ```
> http://192.168.49.2:30186## TODO
- [ ] include the Ingress object with TLS termination