useful-links / Minikube-Local-Helm-Chart

Example of helm chart in minikube cluster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minikube with Local Helm Chart

GitHub stars GitHub issues GitHub license

Requirements

  • Docker
  • Kubernetes CLI
  • Helm CLI
  • Minikube

Run Minikube

minikube start
kubectl config use-context minikube

Deployment

Set environment variables to dictate that docker should run a command against Minikube machine.

eval $(minikube docker-env)

Build your image

docker build . -f ./src/Minikube.Local.Helm.Chart.WebApplication/Dockerfile -t ealen.minikube.webapplication:latest

Deploy your app

helm upgrade -i webapp ./charts/minikube-helm-webapp --force

Use port forward

kubectl port-forward deployment/wepapp 8080:80

Go to http://127.0.0.1:8080

That's all folk !

About

Example of helm chart in minikube cluster

License:GNU Affero General Public License v3.0


Languages

Language:HTML 50.3%Language:C# 28.0%Language:Smarty 10.2%Language:CSS 7.6%Language:Dockerfile 2.4%Language:JavaScript 1.5%