diff --git a/k8s-manifests/README.org b/k8s-manifests/README.org index a79e049..eb6c030 100644 --- a/k8s-manifests/README.org +++ b/k8s-manifests/README.org @@ -1,5 +1,14 @@ #+TITLE: Setup Plausible +* Prelimiary requirements + +- Minikube +- Postgres-Operator + +** Notes +- Minikube can be switched out for Kind +- Postgres manifests are also included, in case you don't want to deploy a highly available Postgres database locally (~DATABASE_URL~ will need to be updated also) + * Setup #+NAME: create namespace @@ -38,7 +47,7 @@ #+NAME: create configuration #+begin_src shell :results silent kubectl -n plausible create configmap plausible \ - --from-literal=BASE_URL=http://192.168.39.97:31943 + --from-literal=BASE_URL=http://$(minikube ip):$(kubectl -n plausible get svc plausible -o=jsonpath='{.spec.ports[0].nodePort}') #+end_src #+NAME: install Plausible