Browse Source

HUE-8888 [docs] Refresh the website install instructions

Romain 5 years ago
parent
commit
1522399d76

+ 1 - 0
tools/kubernetes/README.md

@@ -46,6 +46,7 @@ Upgrade or delete:
     microk8s.enable dns ingress storage helm3
 
     sudo snap alias microk8s.kubectl kubectl
+
     sudo snap alias microk8s.helm3 helm
 
     microk8s.inspect

+ 8 - 1
tools/kubernetes/helm/hue/README.md

@@ -39,12 +39,19 @@ and open-up http://localhost:8888
 ### Minimal
 
     microk8s.enable ingress
+
     kubectl edit daemonsets nginx-ingress-microk8s-controller
 
 And can edit `--default-backend-service=$(POD_NAMESPACE)/default-http-backend`.
 
 ### NGINX
 
-    helm install stable/nginx-ingress -n nginx-ingress
+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](values.yaml).
+
+For SSL, one option is to check `jetstack/cert-manager`.

+ 13 - 2
tools/kubernetes/helm/website/README.md

@@ -8,13 +8,24 @@ This is an Helm chart to easily manage the Hue websites, gethue, docs, cdn, foru
 
 View the configuration [values.yaml](values.yaml), edit if needed and run:
 
-    helm install website -n website --namespace hue
+    helm install website website --namespace gethue
 
 [values.yaml](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](https://docs.gethue.com//administrator/configuration/server/).
 
 Then follow-up the instructions printed on the screen for getting the URL to connect to the sites.
 
+    kubectl get pods -ngethue
+    NAME                         READY   STATUS    RESTARTS   AGE
+    docs-5d6485d457-l6j95        1/1     Running   0          67s
+    website-5c6fbf8f4b-glh9v     1/1     Running   0          67s
+    website-jp-964f9cc57-2x68f   1/1     Running   0          67s
+
+
 ## Uninstall
 
-    helm delete website --purge --namespace hue
+    helm delete website --purge --namespace gethue
+
+## Domain name
+
+See the NGINX section in the [Hue chart README](tools/kubernetes/helm/hue/README.md).

+ 1 - 4
tools/kubernetes/helm/website/values.yaml

@@ -1,10 +1,7 @@
 image:
-   registry: "localhost:32000"
+   registry: "gethue"
    tag: "latest"
    pullPolicy: "Always"
-   # registry: "gethue"
-   # tag: "latest"
-   # pullPolicy: "IfNotPresent"
 website:
   enabled: true
   replicas: 1