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
cpu: 1
memory: 1G
kanikoArgs:
- --use-new-run
auth:
- url: eliiza.azurecr.io
mount: always
type: acr
env:
- fromSecret: eliiza-azurecr-push-sp
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.4.0.tar.gz
(20.2 kB
view hashes)
Built Distribution
Close
Hashes for kaniko_remote-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 365e5e86de15bbf3ae4aabe036cdfc17984f8490c4ebfac8c35821b7c2d7b1f2 |
|
MD5 | 80bd0edf4b75d5a4f11b93d7e50b3722 |
|
BLAKE2b-256 | d4c22bec9d0e6e7e84f35c912b1e301e9bd4c373c86c1e72b8b92494268db43f |