Skip to main content

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
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

Project details


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.3.0.tar.gz (19.9 kB view hashes)

Uploaded Source

Built Distribution

kaniko_remote-0.3.0-py3-none-any.whl (14.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page