Skip to main content

kaniko-remote

Enable familiar docker build semantics using kaniko remotely on a preconfigured k8s cluster

Quick Start

Install with pip, optionally with the docker alias:

pip install kaniko-remote[docker]

Run docker build commands as expected:

docker build -t registry.fish/my/cool-image:latest .
# Or without the docker alias:
kaniko-remote build -t registry.fish/my/cool-image:latest .

Config

kubernetes:
  # kubeconfig: 
  # context
  namespace: kaniko-remote # Default is default
builder:
  name: lucas # Default is to get the username from the environment
  cpu: 1 # Default is 1, accepts any value k8s accepts
  memory: 1G # Default is 1G, accepts any value k8s accepts
  kanikoImage: "" # Default is gcr.io/kaniko-project/executor:latest
  setupImage: "" # Default is busybox:stable
  additionalLabels:
    yes: hello
  additionalAnnotations:
    why: not
  kanikoArgs: # Replaces default if provided, default is:
  - --use-new-run
  podStartTimeout: 300 # In seconds, default 5 mins
  podTransferPacketSize: 14e3 # In bytes, default 14kB
tag:
  default: eliiza.azurecr.io/some-default-image
  static: eliiza.azurecr.io/specific-image:v1
  prefix: eliiza.azurecr.io/dataiku
  regexes:
    pattern: template
auth: # Default is to have none of these
  - url: eliiza.azurecr.io
    mount: always # Defaults to only mounting each auth into the builder if the url matches the tag being built
    type: acr
    env:
    - fromSecret: eliiza-azurecr-push-sp
  - url: gs://kaniko-bucket
    type: pod-only
  - url: s3://kaniko-bucket
  - url: https://myaccount.blob.core.windows.net/container
kubernetes:
  namespace: kaniko-remote
builder:
  name: lucas
tag:
  prepend: eliiza.azurecr.io/lucas-dev
auth:
  - url: eliiza.azurecr.io
    mount: always
    type: acr
    env:
    - fromSecret: eliiza-azurecr-push-sp

License

kaniko-remote is licensed under the MIT license

Dependencies with other licenses are included under /docs/3rd_party_licenses

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kaniko-remote-0.6.1.tar.gz (22.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kaniko_remote-0.6.1-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file kaniko-remote-0.6.1.tar.gz.

File metadata

  • Download URL: kaniko-remote-0.6.1.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for kaniko-remote-0.6.1.tar.gz
Algorithm Hash digest
SHA256 71534434e5a408bdb2b0688cb37a78169e70495d3e63805b9cd26861abe7f158
MD5 a6639322c88e38c8b7fae90cacd63b4d
BLAKE2b-256 57ec08413519d44e0910f98ca03b00c92ce93c3d70077c931a06ba51da217091

See more details on using hashes here.

File details

Details for the file kaniko_remote-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: kaniko_remote-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for kaniko_remote-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2106bfcaaee4d749f412b647797cce46818d8059198b1f708457b2a7ca9cd734
MD5 bc52c565c876bb32b9c5d5ecdfe7bed0
BLAKE2b-256 76b5ca818b5c084def40f4498c9cc50c3297604de6c4057f94b20ba60f2d1c02

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.6.1 This release

2 files

0.6.0

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.0

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.2

2 files

0.2.1

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page