Skip to content

Latest commit

 

History

History

helm-chart

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

helm chart

Cheatsheet

prepare

first make sure you have ingress on your kubernetes cluster

second optionally override some params such as domain name if you want public dns

basic operations

install on your kubernetes

helm install <name> <path to chart folder>

see it running and get its full name

kubectl get pods

see that it has ingressed and has address

kubectl get ingress

stop it again

helm delete <name>

For debug you might want to see ngingx logx. First get name of the pod

kubectl get pods -n ingress-nginx

Then the logs

kubectl logs -n ingress-nginx nginx-ingress-controller-5876d56d4c-f4x2z

See your endpoint

kubectl get endpoints

FAQ

I used docker desktop and then I had to enable ingress

https://kubernetes.github.io/ingress-nginx/deploy/#docker-for-mac

I generated self signed cert

openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout tls.key -out tls.crt -subj "/CN=nginxsvc/O=nginxsvc"
kubectl create secret tls tls-secret --key tls.key --cert tls.crt