Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
63 lines (49 sloc) 1.57 KB
title meta_title meta_description custom_excerpt image author tags featured visibility status
Kaniko
Kaniko
Polyaxon allows users to build container images using the Kaniko project.
kaniko is a tool to build container images from a Dockerfile, inside a container or Kubernetes cluster.
../../content/images/integrations/kaniko.png
name slug website twitter github
Polyaxon
Polyaxon
polyaxonAI
polyaxon
containers
scheduling
true
public
beta

Polyaxon allows users to build container images using the Kaniko project.

Overview

Polyaxon supports multiple backend options to build container images used for running jobs or training experiments.

You can configure Kaniko as a build backend per job/experiment or as the default build backend.

Using Kaniko per job/experiment

In case the default build backend is not Kaniko, users who want to use Kaniko to build container images must define explicitly the backend option in their Polyaxon files:

...
build:
  ...
  backend: kaniko

Using Kaniko as the default build backend

In order to deploy Polyaxon with Kaniko as the default backend build option, users need to set buildBackend in their Polyaxon deployment config file.

...
buildBackend: kaniko
...

Changing the Kaniko image, image tag, and the image pull policy

You can change the default image and version used for creating the Kaniko build container:

...
kaniko:
  image: gcr.io/kaniko-project/executor
  imageTag: latest
  imagePullPolicy: IfNotPresent
...
You can’t perform that action at this time.