From a5afeb6a8d8a7547bb29e68dbc981eec9925ce9d Mon Sep 17 00:00:00 2001 From: Cedric Verstraeten Date: Wed, 19 Feb 2025 09:26:12 +0100 Subject: [PATCH] Update README.kustomize.md --- README.kustomize.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.kustomize.md b/README.kustomize.md index 14abe1f..9c3e739 100644 --- a/README.kustomize.md +++ b/README.kustomize.md @@ -136,6 +136,25 @@ cd deployment In contrast to the detailed installation instructions, as mentioned here, an easier option to install is to use our Kustomize configure. This will allow you to specify and create your own overlays to install all the different components through a single command line. +Kustomize uses the concept of `bases` and `overlays`, allowing you to customize the base installation with different settings (an overlay). Before executing the `kustomize` command below, navigate to the `overlays/microk8s/kustomization.yaml` file and modify the `inlineValues` of the Hub to match the IP address of your node. + +```yaml +valuesInline: + license: "L/+FAw...sJZRBAA" + mqtt: + host: "" + port: "31080" + protocol: "ws" + ... + host: "turn::8443" + ... + kerberoshub: + api: + url: ":32081" +``` + +Run the modified overlay using the following command: + ```bash kubectl kustomize overlays/microk8s/ --enable-helm --load-restrictor LoadRestrictionsNone | kubectl apply -f - ```