Deploy dashboards to OpenShift - KIE Community
source link: https://blog.kie.org/2023/01/deploy-dashboards-to-openshift.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Starting from the KIE Tools 0.26.0 release, the Serverless Logic Web Tools enables users to easily deploy their dashboards to OpenShift. Let’s check out how to set up and use this new feature in this post!
Introduction
Dashbuilder makes it easy for users to create rich dashboards to accommodate their data in meaningful visualizations.
Just like for serverless workflow files, the capability to deploy dashboards to OpenShift has also been added to Serverless Logic Web Tools. It allows users not only to design their dashboards but also to make them available to be shared with others through their OpenShift instance.
The deploy button will be available on the toolbar once a dashboard is open in the editor. Users can either deploy only the dashboard they are currently visualizing or the entire workspace, which may have more dashboards and related data files to be deployed.
Behind the scenes, the files are placed along with a pre-built container image that includes a web application and the Dashbuilder viewer. On the OpenShift side, all necessary resources are created on top of Knative Serving and a builder is triggered to prepare the deployment.
The deployment will scale up and be ready to be accessed once the building process is completed. After one minute of inactivity, the deployment will scale down to zero pods. In case of the deployment is accessed again, it will automatically scale up. This is Knative making sure you save resources of your OpenShift instance.
Set up connections
There are two mandatory configurations that must be done in order to use the deploy operation: (1) run the KIE Sandbox Extended Services; (2) set up the OpenShift instance information.
KIE Sandbox Extended Services
It is mandatory to run the KIE Sandbox Extended Services since it bridges the requests between the Serverless Logic Web Tools and OpenShift.
If the KIE Sandbox Extended Services is not running, go to Serverless Logic Web Tools and click on the Settings button ️located in the top right corner of the page (⚙).
Access the KIE Sandbox Extended Services tab and click on "Click to setup". Then follow the instructions for your Operating system to get the KIE Sandbox Extended Services up and running.
KIE Sandbox Extended Services tab – not connectedKIE Sandbox Extended Services tab — connected
OpenShift instance information
If the OpenShift instance information is not configured yet, go to Serverless Logic Web Tools and click on the Settings button ️located in the top right corner of the page (⚙).
Access the OpenShift tab and fill in the fields with your OpenShift instance information (namespace/project, host, and token).
Note: The personal access token from OpenShift expires every 24 hours.
Note: You can use the Developer Sandbox for Red Hat OpenShift, which gives you 30 days of free access to a shared OpenShift and Kubernetes cluster. You will only need your phone to confirm the activation of your instance.
OpenShift tab — connected
Deploy the dashboard
Go to Serverless Logic Web Tools and open a dashboard. The Products Dashboard sample will be used as an example for this post.
Once the dashboard is ready to be deployed, click on "Try on OpenShift" located in the toolbar and "Deploy". A popup will be open for you to confirm this operation.
Confirmation popup for deploying dashboards
If you simply confirm, only the dashboard you are currently visualizing will be deployed. If you want to deploy the entire workspace, check the "Deploy workspace" box. After the confirmation, all resources will be created in your OpenShift instance and a builder will be started.
You can follow the progress of the deployment operation either on Serverless Logic Web Tools or in your OpenShift instance. Once the building process is completed, the deployment will be scaled up and ready to be shared.
Now, let’s take a look at this feature in action.
And that’s all for today. Thanks for reading! 😃
Recommend
-
10
What are errors within processes?First, we need to define the most usual type of errors, they can be divided into two main categories: technical and business errors.Technical Errors could be defined as general errors that are...
-
11
Using TrustyAI's explainability from PythonUsing TrustyAI’s explainability from Pythonby
-
8
Kogito Tooling i18n updateWith our previous release, we’ve introduced a new feature to our
-
7
Kogito Process Eventing Add-onsKogito Process Eventing Add-onsThis post illustrates the usage of Kogito add-ons which, during process execution, in an a...
-
7
Introducing Kogito API IncubationIntroducing Kogito API IncubationWould you like to be able to evaluate a process in Kogito with a simple Java API...
-
3
The Kogito Tooling release 0.16.0 includes three container images to make it easy to deploy the KIE Sandbox to an OpenShift instance. All these container images are publicly available on Quay.io.
-
9
Creating tabs using DashBuilderDashBuilder is a full-featured web application that allows non-technical users and programmers to crea...
-
9
Refactoring the Drools CompilerIn the past few weeks we have been working hard on redesigning the architecture of Drools the rules engine and...
-
4
Introduction to TrustyAI and DroolsEx...
-
7
KIE Community welcomes IBM Business Automation KIE Community welcomes IBM Business AutomationAlex Porcelli and I (Mark Proctor) are very pleased to a...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK