Many modern compute platforms support bring-your-own-container models where the user can provide container images with their custom software environme

GitHub - NVIDIA/container-canary: A tool for testing and validating container requirements against versioned manifests

submited by
Style Pass
2022-05-12 11:00:06

Many modern compute platforms support bring-your-own-container models where the user can provide container images with their custom software environment. However platforms commonly have a set of requirements that the container must conform to, such as using a non-root user, having the home directory in a specific location, having certain packages installed or running web applications on specific ports.

Container Canary is a tool for recording those requirements as a manifest that can be versioned and then validating containers against that manifest. This is particularly useful in CI environments to avoid regressions in containers.

The Kubeflow documentation has a list of requirements for container images that can be used in the Kubeflow Notebooks service.

The Canary Validator spec reuses parts of the Kubernetes configuration API including probes. In Kubernetes probes are used to check on the health of a pod, but in Container Canary we use them to validate if the container meets our specification.

Leave a Comment