#After build and push to the docker image Create HELM chart
- helm create helloworld-chart
- Update the image and service in Value.yaml.
Run this commabd inside directory "helm lint" 3) helm package helloworld-chart 4) helm install helloworld-chart-0.1.0.tgz --generate-name
o/p :
$ helm install helloworld-chart-0.1.0.tgz --generate-name NAME: helloworld-chart-0-1691839714 LAST DEPLOYED: Sat Aug 12 16:58:35 2023 NAMESPACE: default STATUS: deployed REVISION: 1 NOTES:
- Get the application URL by running these commands: NOTE: It may take a few minutes for the LoadBalancer IP to be available. You can watch the status of by running 'kubectl get --namespace default svc -w helloworld-chart-0-1691839714' export SERVICE_IP=$(kubectl get svc --namespace default helloworld-chart-0-1691839714 --template "{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}") echo http://$SERVICE_IP:80
- kubectl get svc --watch