Installing Cosmos React UI by using Helm for Kubernetes
Test the latest run-time improvements by installing Cosmos React UI, which offers improved performance, responsiveness, and a more convenient authoring experience for portals and views. Kubernetes users can deploy the Cosmos React UI update by using a Helm chart.
By using Helm for Kubernetes, you can set up Cosmos React UI as a multitenant service for your system.
- Pega Platform is hosted on Pega Cloud Services.
- Pega Platform is hosted on a client-managed cloud environment.
- Cosmos React UI was installed with Pega Infinity.
- Contact Pega to gain access to the customer repository. Cosmos React UI files are in the Pega Infinity folder.
- Ensure that you have a working Kubernetes cluster.
- Ensure that you have Helm and Kubectl command line interface installed on your on-premises environment.
- Ensure that you can communicate with the Kubernetes cluster by using Kubectl.
- Review the process of implementing Cosmos React UI on your system. For more information, see Implementing Cosmos React UI in Pega Platform.
In the Kubectl terminal window, create a namespace to which you want to deploy the service by entering kubectl create namespace <name of the namespace>.kubectl create namespace ReactUI.
Create a secret with
dockerconfigin the namespace by entering kubectl create secret generic regard --from-file=.dockerconfigjson=<path to dockerconfig.json> --type=kubernetes.io/dockerconfigjson -n <name of the namespace>.The system downloads the Cosmos React UI image to the cluster.
Create a TLS secret with a certificate and a key by entering kubectl create secret tls ingresssecret --key <path to the key> --cert <path to the certificate> -n <name of the namespace>.
Install NGINX Ingress Controller for Kubernetes.For more information, go to the NGINX website.
In the terminal window, install React UI by entering helm install <path to the ReactUI helm charts> --values <path to values.yaml> —namespace <name of the namespace> --generate-name.The service is now available at https://<host name used in ingress>:<port exposed by nginx>/c11n.