-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running the extension in kibertnetes cluster #104
Comments
Hi Sidi, The communication between the SSE and Qlik is using the gRPC protocol. Last time I checked this needed some extra config for load balancing. I don't have much experience with Kubernetes. The repository below might help. It includes PyTools and a couple of other SSE's deployed for use with Qlik Sense Enterprise on Kubernetes. https://github.com/AnalyticsEarth/qlik-k8s-demo-resources Cheers, |
Hello Nabeel, Finally we deployed the extension on kibernetes and it's working fine. However, we need to setup readinessProbe and livenessProbe for kibernetes (https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/). To do so, we need to execute a command to check if the extension is ready and another command to check if the extension is working. Do you have an idea of what commands we can excute to check the readiness and liveness of the extension ? Best Regards |
Hi Sidi, Glad you have the extension running on Kubernetes. I think you may be able to set the probes using a gRPC CLI (e.g. https://github.com/grpc/grpc/blob/master/doc/command_line_tool.md). You could check that the gRPC service is exposed at the given port and call the GetCapabilities function to check that the service is live. |
Hi Nabeel, Thanks for the answer. Best Regards. |
Hi Sidi, The docker image I publish doesn't contain a gRPC CLI, so you'd have to build a new image. You can refer to the docker files here. You could build a new image starting with PyTools v.8.1 as the parent image.
|
Hello, Ok thanks, I will see to do that. Best Regards. |
Hello Nabeel,
The POC on the local machine with QlikSense dektop and docker desktop for Windows was conclusive.
The next step is to run the extension into the enterprise kibernetes cluster.
So we created three .yaml files (deployment, service and ingress), see the attached file (yaml.zip).
Then we created the deployment, service and ingress with kubectl commands using the .yam files.
And finally we configured the Analytics connection in QMC.
However we are not able to get the extension working in QlikSense, it seems that the service is not exposed correctly.
When we expose the deployment using this kubectl command, the extension is exposed correctly and we can use it in QlikSesnse using the external IP in the analytics connection configuration in QMC.
kubectl expose deployment qliksense-qqsens-datascience --type=LoadBalancer --name=qliksense-qqsens-datascience-test-load-balancer2
Do you have an idea on how to expose the service correctly using . YAML file with a configured DNS ? Have you already run the extension in kibernetes ? Does the service support type: NodePort in the service YAML file ?
What is the protocol used in the communication between the extension and Qlik ?
Is there a simple way to check if the extension is working from commande line? for example from the kibernetes linux client machine.
Best regards.
Sidi
yaml.zip
The text was updated successfully, but these errors were encountered: