diff --git a/website/docs/getting-started/installation.md b/website/docs/getting-started/installation.md index c7f880c3..391036aa 100644 --- a/website/docs/getting-started/installation.md +++ b/website/docs/getting-started/installation.md @@ -75,6 +75,14 @@ helm install chaos litmuschaos/litmus --namespace=litmus --set portal.frontend.s > **Note:** If your Kubernetes cluster isn't local, you may want not to expose Litmus via `NodePort`. If so, remove `--set portal.frontend.service.type=NodePort` option. To connect to Litmus UI from your laptop, you can use `port-forward svc/chaos-litmus-frontend-service 9091:9091`. Then you can use your browser and open `127.0.0.1:9091`. +- If your Kubernetes cluster is local (such as minikube or kind) and only accessing Litmus locally, please replace the default endpoint with your custom CHAOS_CENTER_UI_ENDPOINT as shown below. + + ```bash + helm install chaos litmuschaos/litmus --namespace=litmus \ + --set portal.frontend.service.type=NodePort \ + --set portal.server.graphqlServer.genericEnv.CHAOS_CENTER_UI_ENDPOINT=http://chaos-litmus-frontend-service.litmus.svc.cluster.local:9091 + ``` + - Litmus helm chart depends on `bitnami/mongodb` [helm chart](https://github.com/bitnami/charts/tree/main/bitnami/mongodb), which uses a mongodb image not supported on ARM. If you want to install Litmus on an ARM-based server, please replace the default one with your custom mongodb arm image as shown below. ```bash diff --git a/website/versioned_docs/version-3.12.0/getting-started/installation.md b/website/versioned_docs/version-3.12.0/getting-started/installation.md index c7f880c3..391036aa 100644 --- a/website/versioned_docs/version-3.12.0/getting-started/installation.md +++ b/website/versioned_docs/version-3.12.0/getting-started/installation.md @@ -75,6 +75,14 @@ helm install chaos litmuschaos/litmus --namespace=litmus --set portal.frontend.s > **Note:** If your Kubernetes cluster isn't local, you may want not to expose Litmus via `NodePort`. If so, remove `--set portal.frontend.service.type=NodePort` option. To connect to Litmus UI from your laptop, you can use `port-forward svc/chaos-litmus-frontend-service 9091:9091`. Then you can use your browser and open `127.0.0.1:9091`. +- If your Kubernetes cluster is local (such as minikube or kind) and only accessing Litmus locally, please replace the default endpoint with your custom CHAOS_CENTER_UI_ENDPOINT as shown below. + + ```bash + helm install chaos litmuschaos/litmus --namespace=litmus \ + --set portal.frontend.service.type=NodePort \ + --set portal.server.graphqlServer.genericEnv.CHAOS_CENTER_UI_ENDPOINT=http://chaos-litmus-frontend-service.litmus.svc.cluster.local:9091 + ``` + - Litmus helm chart depends on `bitnami/mongodb` [helm chart](https://github.com/bitnami/charts/tree/main/bitnami/mongodb), which uses a mongodb image not supported on ARM. If you want to install Litmus on an ARM-based server, please replace the default one with your custom mongodb arm image as shown below. ```bash