Custom Docker Image for Scripts
This section provides details on the custom worker image for callouts/scripts
Create a public or private docker registry to host the new Docker worker image.
This Docker registry must be reachable from the CloudCenter Suite cluster
If the registry requires authentication, create a Kubernetes secret.
The bundle store contains the agent and service bundles. This custom Docker image is hosted by Workload Manager at http://cdn.cliqr.com/release-5.1.0/docker/worker-release-5.1.0.tar for the CloudCenter Suite 5.1.1 release. See
Customize the Docker Image
Access the Local Bundle Store (Conditional) and verify that you have access to the custom Docker image.
Log into any server that has access to custom Docker image.
Download the file and create a worker:release-5.1.0 docker image in your Docker registry by issuing the following command.
Now create a file within this folder with the following contents and name it Dockerfile.
Save this file and run the following commands.
Upload created image in Step 4 to your docker repository.
Update the configMap Image set
To update the configured image set you must edit the following name, value pairs in the cloudcenter-ces config map as listed in this procedure.
Edit the cloudcenter-ces config map.
Add the following lines into the data section of the ConfigMap.
Save the configMap changes. This should cause the cloudcenter-ces pod to restart.
Run callouts to pick up the new images for all callouts.
Additional Considerations for Cloud Remote
If you are using Cloud Remote in your environment to execute the callout scripts, the above process to build the Docker images remains the same.
Be sure to save the Docker image and load this on the Cloud Remote worker nodes.
Save the Docker image as a tgz file.
As Docker is already installed on the Cloud Remote instance(s), load the above tar file on each instance.
- No labels