Setup the service requires good understanding of containers and docker, https certificates, domain names and network server configuration. This is usually a task done by a K8s sys. admin.
In case you need help with the setup please contact pega support.
The K8s yaml files are simple examples of how to deploy the service. They must be customised to the specific network and cluster configuration.
In case you need help with the setup contact pega support.
Ensure that you have a working kubernetes cluster and the kubectl command line interface installed on your environment.
Create a namespace for the Constellation static service in your cluster. - namespace 'c11n' is used in all examples here
For example : kubectl create namespace c11n
Obtain an API key from the Pega Digital Delivery site. For more information please check this page
Prepare docker authentication. For more information please check this page
Now create a secret to pull the docker images. Make sure that this is created in the same namespace as above.
kubectl create secret generic regcred --from-file=.dockerconfigjson=<path to config.json from previous step> --type=kubernetes.io/dockerconfigjson -n c11n
Run the following command to setup the service in your kubernetes cluster.
kubectl apply -f https://documents.constellation.pega.io/static/86-87/c11n-static.yaml -n c11n
ConstellationUI static service should now be reachable on http://constellation:3000/c11n inside your cluster.
Please note that the above steps are only limited to deploying the constellation service in a working kubernetes cluster. Configuring the routing using the kubernetes ingress objects and a traditional loadbalancer should be done by the customers themselves. An example of configuring the ingress on AWS cloud is shown below.
Once the service routing(with SSL) is setup you can set the Infinity ConstellationSvcURL DSS to your service URL and use the appstatic service.
kubectl apply -f https://documents.constellation.pega.io/static/86-87/c11n-static-ingress.yaml -n c11n
<load-balancer-URL>/c11n/v860/ping