All Projects → kvaps → Kubectl Build

kvaps / Kubectl Build

Licence: apache-2.0
Build dockerfiles directly in your Kubernetes cluster.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Kubectl Build

Kubelogin
kubectl plugin for Kubernetes OpenID Connect authentication (kubectl oidc-login)
Stars: ✭ 495 (+489.29%)
Mutual labels:  kubectl
Kube Aliases
Kubernetes Aliases and Bash Functions
Stars: ✭ 40 (-52.38%)
Mutual labels:  kubectl
Kubectl Capture
A kubectl plugin which triggers a Sysdig capture
Stars: ✭ 66 (-21.43%)
Mutual labels:  kubectl
Gcr.io mirror
all of the gcr.io docker image mirror
Stars: ✭ 650 (+673.81%)
Mutual labels:  kubectl
Colossus
Colossus — An example microservice architecture for Kubernetes using Bazel, Go, Java, Docker, Kubernetes, Minikube, Gazelle, gRPC, Prometheus, Grafana, and more
Stars: ✭ 917 (+991.67%)
Mutual labels:  kubectl
Bitnami Docker Kubectl
Bitnami Docker Image for Kubectl
Stars: ✭ 50 (-40.48%)
Mutual labels:  kubectl
Krew Index
Plugin index for https://github.com/kubernetes-sigs/krew. This repo is for plugin maintainers.
Stars: ✭ 476 (+466.67%)
Mutual labels:  kubectl
Terraform Eks
Terraform for AWS EKS
Stars: ✭ 82 (-2.38%)
Mutual labels:  kubectl
K8s Utils
Kubernetes Utility / Helper Scripts
Stars: ✭ 33 (-60.71%)
Mutual labels:  kubectl
Kauthproxy
Local authentication proxy for Kubernetes Dashboard (kubectl auth-proxy)
Stars: ✭ 54 (-35.71%)
Mutual labels:  kubectl
Kubie
A more powerful alternative to kubectx and kubens
Stars: ✭ 647 (+670.24%)
Mutual labels:  kubectl
Kubectl Restart
A kubectl plugin to restart a pod
Stars: ✭ 19 (-77.38%)
Mutual labels:  kubectl
Docker Kubectl
Containerized Kubernetes kubectl
Stars: ✭ 52 (-38.1%)
Mutual labels:  kubectl
Geodesic
🚀 Geodesic is a DevOps Linux Distro. We use it as a cloud automation shell. It's the fastest way to get up and running with a rock solid Open Source toolchain. ★ this repo! https://slack.cloudposse.com/
Stars: ✭ 629 (+648.81%)
Mutual labels:  kubectl
Kubectl Trace
Schedule bpftrace programs on your kubernetes cluster using the kubectl
Stars: ✭ 1,194 (+1321.43%)
Mutual labels:  kubectl
Kubelive
kubectl tool reinvented to be more reactive and interactive 🔥
Stars: ✭ 497 (+491.67%)
Mutual labels:  kubectl
Helm Docker
☸️ helm, gcloud, kubectl, jq
Stars: ✭ 41 (-51.19%)
Mutual labels:  kubectl
Kubeplay
kubeplay – a new way to interact with Kubernetes API from your terminal
Stars: ✭ 83 (-1.19%)
Mutual labels:  kubectl
Kubectl Cssh
A kubectl plugin to ssh into Kubernetes nodes within separate tmux panes
Stars: ✭ 76 (-9.52%)
Mutual labels:  kubectl
Kubernetes Cheatsheet
This is Kubernetes Cheatsheet based on Kubernetes API 1.19 version.
Stars: ✭ 53 (-36.9%)
Mutual labels:  kubectl

kubectl build

(formerly known as kubectl-kaniko)

Kubectl build mimics the kaniko executor, but performs building on your Kubernetes cluster side.
This allows you to simply build your local dockerfiles remotely without leaving your cozy environment.

demo

Installation

using krew:

kubectl krew index add kvaps https://github.com/kvaps/krew-index
kubectl krew install kvaps/build

or using curl:

curl -LO https://github.com/kvaps/kubectl-build/raw/master/kubectl-build
chmod +x ./kubectl-build
sudo mv ./kubectl-build /usr/local/bin/kubectl-build

Usage

kubectl build [args]

Examples

# Show all kaniko commands
kubectl build --help

# Build from current directory
kubectl build --context . --no-push

# Specify namespace and kubeconfig
kubectl build --context . --no-push --namespace default --kubeconfig ~/.kube/someconfig

# Login to remote registry
docker login docker.io

# Short form
kubectl build -c . -d docker.io/some/image:latest

# Use cache building
kubectl build --context . --destination docker.io/some/image:latest --cache --cache-repo docker.io/some/cache

# Save image name and digest to file
kubectl build --context . --destination docker.io/some/image:latest --digest-file /tmp/digest --image-name-with-digest-file /tmp/image

# Build from stdin
tar -cvf- . | kubectl build --destination docker.io/some/image:latest --context tar://stdin
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].