This documentation relates to QuickBuild 8.0.x
Select here if you are using a different version

Launch Node in Kubernetes

You are viewing an old version (v. 4) of this page.
The latest version is v. 7, last edited on Jan 11, 2018 (view differences | )
<< View previous version | view page history | view next version >>

Cloud profiles rely on cloud providers to do its job. QuickBuild 8.0 ships with the Kubernetes cloud provider. To use it, one has to enable the Kubernetes plugin by providing a configuration file in Administration/Plugin Management page as demonstrated below:

Then one can follow the cloud profiles guide to create cloud profiles using Kubernetes launchers like below:

You should use your own docker image when define the Kubernetes profile. The image should be pre-configured with your build environment as well as QuickBuild build agent. An example Dockerfile to build the image is as below:

FROM openjdk:8-jdk
ADD . /app
EXPOSE 8811
CMD ["/app/bin/wrapper-linux-x86-64", "/app/conf/wrapper.conf"]

This file is placed under the build agent installation directory, and runs build agent from a Debian Linux machine with OpenJDK8 installed.

After creating and pushing your image, run a docker container from another machine using the image to make sure it can connect to QuickBuild build server.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.