Raghunandana S K 1a2fc3b1c8 remove prometheusrule from values.yaml 4 years ago
..
templates 8dcd139b53 Move promtheus rules to template 4 years ago
.helmignore dcca94e573 HUE-8724 [k8s] Provide how to run Hue server in Kubernetes 6 years ago
Chart.yaml 60d5ef43df PR1130 [helm] Fix typo in Chart.yml description (#1130) 5 years ago
README.md 1522399d76 HUE-8888 [docs] Refresh the website install instructions 5 years ago
values.yaml 1a2fc3b1c8 remove prometheusrule from values.yaml 4 years ago

README.md

Hue Chart

This is an Helm chart to easily start a Hue service.

Install

cd tools/kubernetes/helm/hue

View the configuration values.yaml, edit if needed and run:

helm install hue -n hue

values.yaml contains the most important parameters in the hue section with for example which database to use. The ini section let you add any extra regular parameter.

Then follow-up the instructions printed on the screen for getting the URL to connect to Hue.

By default you should see these running containers:

kubectl get pods
NAME                                          READY   STATUS    RESTARTS   AGE
hue-4n2ck                                     1/1       Running   0          3h
postgres-hue-5jg77                            1/1       Running   0          12d

And just copy paste the information printed on the screen or run

kubectl port-forward svc/hue 8888:8888 --address 0.0.0.0

and open-up http://localhost:8888

Uninstall

helm delete hue --purge

Ingress

Minimal

microk8s.enable ingress

kubectl edit daemonsets nginx-ingress-microk8s-controller

And can edit --default-backend-service=$(POD_NAMESPACE)/default-http-backend.

NGINX

Follow https://kubernetes.github.io/ingress-nginx/deploy/#using-helm

helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx

helm install ingress-nginx ingress-nginx/ingress-nginx

And set ingress.create=true and ingress.type=nginx in values.yaml.

For SSL, one option is to check jetstack/cert-manager.