Prerequisites:
- local kubernetes cluster (Docker for Mac comes with one)
- helm
Installing the Refinery chart:
cd charts/refinery
helm install refinery .
Configuring Ingress Locally:
- install nginx ingress controller
- enable ingress in
values.yaml
ingress:
enabled: true
labels: {}
annotations:
kubernetes.io/ingress.class: nginx
If you now run
kubectl get ingress
You should see something like:
NAME | CLASS | HOSTS | ADDRESS | PORTS | AGE |
---|---|---|---|---|---|
refinery | refinery.local | localhost | 80 | 9m43s |
If you don't see an address, check the ingress controller logs:
kubectl --namespace=ingress-nginx get pods
kubectl --namespace=ingress-nginx logs pods/ingress-nginx-controller-XYZ
- add
127.0.0.1 refinery.local
to/etc/hosts
- you can now connect to refinery at
refinery.local:80
from your machine