Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.04 KB

DEVELOPING.md

File metadata and controls

44 lines (35 loc) · 1.04 KB

Local Development

Refinery

Prerequisites:

  • local kubernetes cluster (Docker for Mac comes with one)
  • helm

Installing the Refinery chart:

cd charts/refinery
helm install refinery .

Configuring Ingress Locally:

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