Using Minikube

Minikube is a test environment that allows for a Kubernetes environment to run locally on a Windows, Mac or Linux machine. It can be used to run Qlik Sense Enterprise on Kubernetes for local test purposes.

Minikube does not support the LoadBalancer resource that all other Kubernetes providers use and requires running on a different port, an additional configuration section is required when using it.

Note: These additional configuration items should not be used with any other Kubernetes provider as they will not work.

Preparing Minikube

Tip: Before you start, review the installation documentation for Minikube for your operating system here: https://kubernetes.io/docs/setup/minikube/.

When you start Minikube, ensure that it has enough resources by running the following (you may need to run minikube delete first):

minikube start --memory 8000 --cpus=2

Additional configuration when using Minikube

With Minikube running, follow the installation steps in Installing Qlik Sense Enterprise on Kubernetes but add the following additional section into values.yaml.

# MINIKUBE SPECIFIC SETTINGS (dont not use with other K8 providers)_____________

elastic-infra:
 nginx-ingress:
   controller:
     service:
       type: NodePort
       nodePorts:
         https: 32443
     extraArgs.report-node-internal-ip-address: ""

hub:
 ingress:
   annotations:
     nginx.ingress.kubernetes.io/auth-signin: https://$host:32443/login?returnto=$request_uri

management-console:
 ingress:
   annotations:
     nginx.ingress.kubernetes.io/auth-signin: https://$host:32443/login?returnto=$request_uri

edge-auth:
  oidc:
    redirectUri: https://elastic.example:32443/login/callback

Accessing the installation on Minikube

Once it is started, you can get the IP address the Kubernetes cluster is running on with the following command:

minikube ip
Note: When using Minikube you must specify the port 32443 in the URLs used to access the product IP, for example https://elastic.example:32443.

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?