/helm-httpenv

Simple helm chart to deploy dbck/httpenv container.

Primary LanguageSmarty

Helm chart httpenv

Development

Environment

Start

# Advanced config: minikube start --vm=true --driver=hyperkit --cpus=4 --memory=8G --disk-size=40G
minikube start --vm=true
kubectl config use-context minikube
kubectl get nodes
minikube addons list
minikube addons enable ingress
minikube addons enable ingress-dns
minikube addons enable metrics-server
minikube addons enable dashboard
echo -e "Launch the dashboard:"
minikube dashboard

Configure DNS

echo -e "minikube ip:"
minikube ip
sudo mkdir -p /etc/resolver
sudo vi /etc/resolver/minikube-test
  domain test
  nameserver 172.16.46.149
  search_order 1
  timeout 5
#echo -e "Alternative: Added printed ip and url to /etc/hosts e.g. '172.16.46.149 httpenv.test'"

Stop

minikube stop

Delete

minikube delete

Chart

Test

helm template -f values-dev.yaml httpenv .

Install

helm install -f values-dev.yaml --create-namespace --namespace httpenv-dev httpenv .

Upgrade

helm upgrade -f values-dev.yaml --namespace httpenv-dev httpenv .
#helm upgrade -f values-dev.yaml --namespace httpenv-dev --version 1.x.x httpenv .

Uninstall

helm uninstall --namespace httpenv-dev httpenv .