Skip to content

chrisstaite-menlo/nativelink-provisioner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nativelink provisioner

This repository contains a simple tool that monitors a nativelink deployment to determine whether additional workers are required and starts Pods for those workers. It is meant to augment the Nativelink helm chart to override the worker provisioner that comes with it for specifically Chromium based build clusters.

You can build the Docker image using the following:

IMAGE_INFO=$(docker load < $(nix-build -A image default.nix) | tail -n1)
SOURCE_IMAGE=$(echo "$IMAGE_INFO" | sed 's/Loaded image: //')

An example Kubernetes deployment is available in the examples directory.

Note that you will need to update update the image in the deployment to match where the built image above is.

About

Automatically scale Nativelink in K8s for Chromium builds

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages