Stand alone kubernetes configuration files for Constellation AppStatic service
Note:
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.
The K8s yaml files are simple examples of how to deploy the service. They must be customised to the specific network and cluster configuration. Do not proceed if you do not know how to download, modify and execute the K8s files referenced below.
Prepare for the installation
Ensure that you have a working kubernetes cluster and the kubectl command line interface installed on your environment. You need a working ingress and access to a valid https certificate for your domain.
Create a namespace for Constellation App-Static service in your cluster. - namespace 'c11n-appstatic' is used in all examples here:
For example : kubectl create namespace c11n-appstatic
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
With the Constellation App-Static image available in your Docker repository, create a K8s secret to pull the docker image during cluster install. Make sure that this is created in the same namespace as above.
Please note that the above steps are only limited to deploying the constellation-appstatic-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 Infininty ConstellationSvcURL DSS to your service URL and use the appstatic service.
Example configuration of an ingress in AWS cloud.
Install the nginx-ingress on the kubernetes cluster. For more information please check this page
The above step will also have created a loadbalancer of your choice in the cloud.
Run the following command to setup the ingress in your kubernetes cluster.