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

Kubernetes Integration


Set up QuickBuild the same as tutorial One Build For One Agent, except that build agents should be started in Kubernetes cluster as necessary. Launched build agents should be able to be closed if they are idle for specified amount of time to save resource.


  1. Set up QuickBuild according to resolution section of tutorial One Build For One Agent.
  2. Login to QuickBuild as administrator and switch to administration menu, then follow the plugin management link, and edit plugin setting of Kubernetes Plugin to provide a config file for QuickBuild to access Kubernetes.
  3. Create appropriate build agent docker image following this guide if necessary.
  4. Switch to grid page and follow the Cloud Profiles link to bring out the cloud profiles page. Add a cloud profile with node launch setting specified as Launch Node into Kubernetes and fill relevant Kubernetes node launch options. Specifically the docker image should be filled with the the build agent image you created previously.
  5. QuickBuild will proceed to do a test launch of your defined cloud profile to grab system/user attribute of node launched by your profile. Grabbed system/user attributes will be used afterwards to match against node matcher setting of build steps to determine which profile has to be used to launch node if no active agents satisfy the criteria. Only after test launch the profile can be used by builds to launch node on demand. Normally the test launch should be done in two or three minutes, if it takes too long, please check instance status as well as agent log at Kubernetes pod side.
  6. Now run the build. If configured correctly, QuickBuild will launch build agent using your defined cloud profile to run the build. By default the launched build agent will stay active for 30 minutes before terminating. If more builds are set to run in the same time, more agents will be launched to accommodate the concurrency. You may check all launched instances by examining the active launched nodes tab of certain cloud profile, and may manually terminate them there.


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