Kubernetes

All files relevant for Kubernetes deployment can be found in /kubernetes directory of the project.
Updating secrets and environment variables
-
Update the password in the
cma-pass-secret.ymlwith your controller's user password base64 encoded. -
Update environment variables defined in a file
cma-configmap.yaml. -
In a pod definition that you pick, for example,
cma-pod-standard.yml, set theenv:section to reflect your application and/or controller settings.
Create a Pod
Example command of how to create the Pod:
kubectl apply -f <pod-manifest.yaml>
You can use some of the available Pod specifications, currently available are:
cma-pod-standard.yml- standard deployment, without Business Transactions and Branding,cma-pod-bt-volume.yml- includes Business Transactions frombt-config.ymlfile,cma-pod-branding-volume.yml- mounts a volume for Branding feature.
Verify that the ConfigMyApp container is running:
kubectl get pod <pod-name>
Due to the short lived life span of ConfigMyApp, you may consider running it as a Kubernetes job.