Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Access the Google Kubernetes Engine console. In the Clusters page, click on the Create cluster button.
You will be presented with several configuration pages. Adjust the cluster configuration as desired, or just use the default values.
In the Cluster basics page, you can configure the name, zone and Kubernetes version for the cluster.
In the Node Pools page, you can configure the number of nodes and scaling options.
Under the Nodes page, you can choose the machine configuration to specify the machine type, CPU and disk options.
Click on the CREATE button at the bottom to start creating the cluster.
When the cluster has been created, you will see a tick next to the cluster name, and a Connect button will become available.
Once we have a running cluster, you will need to deploy a database to be used by the Joget platform. In this case, we will use a MariaDB database that is available in the Google Cloud Marketplace.
Open the Applications page, and click on the Deploy from Marketplace button.
In the Marketplace, search for MariaDB, click on the MariaDB entry and click on the Configure button.
Change the configuration as required, or just use the default values, and click on Deploy. Wait for a few minutes while the MariaDB instance is starting.
Once the status is OK, click on the name and view the details. Under Details, look for MariaDB root password and click on preview secret data.
If you are running a multiple node Kubernetes cluster, you will need to allocate shared persistent storage with read write access by multiple nodes. For this purpose, you can use Google Cloud Filestore, a fully managed storage service.
Access the Google Cloud Filestore console. The first time you access it, you will need to click on the Enable button.
In the Instances page, click on the Create Instance button.
Key in an Instance ID, File share name and Region/Zone, then click on the Create button.
File Share Name
Once the instance has been initialized, take note of the IP address and File share name to be used later.
With the prerequisite database and persistent storage available, you can now deploy Joget.
Download the joget-dx7-tomcat9-gke.yaml file below, and modify the PersistentVolume to match the Filestore settings for the path (file share name) and server (IP address).
You can now use the kubectl command line tool to apply the entire YAML. In GKE, you can run a Cloud Shell directly in the browser.
In the GKE Clusters page, click on the Connect button for your cluster, then Run in Cloud Shell.
Once you have access to the Cloud Shell command line, use your favourite editor (e.g. vi or nano) to save your YAML into a file.
You can then apply the YAML using kubectl e.g.
Wait for a few minutes while the required Kubernetes objects (Deployment, PersistentVolume, PersistentVolumeClaim, Deployment, Service and ClusterRoleBinding) are created for the Joget deployment.
You can view the deployment in the Workloads page in the GKE console.
In the Services & Ingress page, you can see an External load balancer service with a corresponding Endpoint URL.
Click on that Endpoint URL to access Joget.
To complete the Joget deployment, you need to perform a one-time Database Setup.
Key in the previously created MariaDB service name in the Database Host, and the root password in the Database Password fields. Click on Save.
Once the setup is complete, click on Done and you will be brought to the Joget App Center.
To scale the number of pods running Joget, you can use the GKE console.
In the Workloads page, choose the Joget deployment and in the Deployment details header, select Actions > Scale.
Key in the required number of replicas (pods) that you require and click on the Scale button.
The desired number of pods will initialize and startup. These instances will have session replication configured, so load can be balanced between them and transparent failover will happen in the event of failure.