Sign inSign up

lexauw/kubectl

By lexauw

•Updated 3 days ago

kubectl on Alpine, amd64/arm64; tag suffix -cloud adds gcloud, aws-cli, teleport

Image
0

5.6K

lexauw/kubectl repository overview

⁠lexauw/kubectl

kubectl⁠ — the Kubernetes command-line tool.

⁠Variants

  • <version> — Alpine with kubectl only. Use it by default: CI jobs, clusters reached with a kubeconfig.
  • <version>-cloud — the same binary on top of google-cloud-cli (Alpine) with gcloud and gke-gcloud-auth-plugin, aws (AWS CLI v2) and Teleport (tsh, tctl, …). Use it when cluster access goes through a cloud CLI (GKE, EKS) or Teleport.

⁠Tags

TagImageUpdates
<version>slimfloating: a rebuild of the same version (base image bump) moves it to a new digest
<version>-cloudcloudfloating, same rule
<version>-<short-sha>slimimmutable, bound to a commit of main
<version>-cloud-<short-sha>cloudimmutable

<version> is the kubectl version without the v prefix.

⁠Usage

The entrypoint is kubectl. Runs as the non-root user tools (uid/gid 1000, home /home/tools), working directory /app.

docker run --rm -v "$HOME/.kube:/home/tools/.kube:ro" lexauw/kubectl:<version> get nodes

Platforms: linux/amd64, linux/arm64. Every published digest is listed in the releases⁠ of the source repository — use it to pin or roll back a floating tag.

Source, Dockerfile and build pipeline: gitlab.com/libs-for-dev/devops/tools⁠.

Tag summary

Content type

Image

Digest

sha256:50eb76c3f…

Size

326.1 MB

Last updated

over 3 years ago

docker pull lexauw/kubectl