repo built in cooperation with Qlik OEM partner Q-nnect AG, Mannheim/Germany
Whereas the more wellknown Kubernetes variant "Minikube" is for test and development purposes, Micro Kubernetes (https://microk8s.io/) is an autonomous low-ops Kubernetes for clusters and it works on most flavours of Linux. It can also run on multiple nodes and can scale.
The bash scripts of this repo will
- install a local NFS (Network Filesystem)
- Docker Community Edition
- MicroK8s
- MongoDB Community Edition
- A local identity provider (Keycloak https://www.keycloak.org/) and Postgres for persistance
- QSEoK (Qlik Sense Enterprise on Kubernetes)
- To get it run
git clone https://github.com/ChristofSchwarz/qseok_on_Microk8s
- To launch it go to
cd qseok_on_Microk8s/
- Make sure you edit the
settings.sh
file to match your system. - Then run
sudo bash deploy_all.sh
file | install method | object installed |
---|---|---|
deploy_2.sh | helm | stable/nfs-client-provisioner |
deploy_2.sh | kubectl | pvc "qvc-qse" |
deploy_2.sh | kubectl | pvc "qvc-mongo" |
deploy_2.sh | helm | stable/mongodb |
deploy_2.sh | kubectl | pvc "pvc-postgres" |
deploy_2.sh | kubectl | configmap "postgres-config" |
deploy_2.sh | kubectl | deployment "postgres" |
deploy_2.sh | kubectl | service "postgres-svc" |
deploy_2.sh | kubectl | deployment "keycloak" |
deploy_2.sh | kubectl | service "keycloak-svc" |
deploy_2.sh | kubectl | ingress "keycloak-ingress" |
deploy_2.sh | curl | configure new client in keycloak |
Using two bash files, one to
- run K8s dashboard with port forwarding (port 32000) in background mode: k8s-dashboard-start.sh
- one to elimiante port forwarding and undeploy it: k8s-dashboard-stop.sh
Using this version https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.1/aio/deploy/recommended.yaml