Enable familiar `docker build` semantics using kaniko on k8s
Project description
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:
namespace: kaniko-remote
builder:
instanceId: lucas
cpu: 1
memory: 1G
kanikoImage: ""
setupImage: ""
additionalLabels:
yes: hello
additionalAnnotations:
why: not
kanikoArgs:
- --use-new-run
auth:
- url: eliiza.azurecr.io
mount: always
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:
instanceId: lucas
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
Project details
Release history Release notifications | RSS feed
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.5.0.tar.gz
(21.6 kB
view hashes)
Built Distribution
Close
Hashes for kaniko_remote-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 988477ac5261d62f5c747707b1aed57568edde3021cb4a87e320667cd4c0e3bc |
|
MD5 | 633b540c9daab45fdceea3431c197460 |
|
BLAKE2b-256 | 393a4d40ae9c98048a6325bed4293254663a9d20852474e160350c3fa80c0f76 |