Skip to content

kubectx

Kubectl plugin that helps you switch between clusters

Faster way to switch between clusters in kubectl.

devops

https://github.com/ahmetb/kubectx

amd64 armhf arm64

Installation

1. Add WakeMeOps repository

curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash

2. Install kubectx

sudo apt install kubectx

Snippets

FROM wakemeops/minideb:bookworm

RUN install_packages \
    kubectx=0.9.4*

USER 1001
- name: Install dependencies
  uses: upciti/wakemeops-action@v1
  with:
    packages: |
      kubectx=0.9.4*

Download URLs

Version SHA256 Size (KB)
0.9.4 fdfd49ef1209f20f6b3ddf62a9ef3946d93e38d1bcd4acb3ec8b565b7680ec14 803
Version SHA256 Size (KB)
0.10.2 4ef5200cedd2ffc05e9302a6ea8624a44f30e3d14bc18a5d0580d1cc91611fc2 1827
0.10.0 857a5efdfdd0c2bf3c38c73ad50da60ca95c83d235c543635b7e516aa98a0792 1826
0.9.5 3ca4ada3a93d7e76ddc57205481dc249a59e091881fd871f4214881235b0c070 710
0.9.4 8a98065b26a79d58b980414bd78c848fc709d7355cad3c8c0642e64cd9d70b5a 685
Version SHA256 Size (KB)
0.10.2 a251c525d5b5f4f0d57f81a2bc335f90be6a7af3516d0f66dddb3d63fc9a43cd 1875
0.10.0 099d4b595286a6a8510277c11925d349322bd6dd8ecaca990afb5fc166de1028 1872
0.9.5 f03910d8e9f37e3d1d5dd361fe248ad9552a1a7515fd514a63429def0810317f 737
0.9.4 e858fafeb26103547103722c62fe055562079fb2f3db1f101aa2c998c024b748 695

Blueprints

Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for kubectx are versioned here.

Click here to see kubectx ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/kubectx/ops2deb.yml
- name: kubectx
  version: 0.9.4
  revision: "3"
  homepage: https://github.com/ahmetb/kubectx
  summary: kubectl plugin that helps you switch between clusters
  description: Faster way to switch between clusters in kubectl.
  fetch: https://github.com/ahmetb/kubectx/releases/download/v{{version}}/kubectx_v{{version}}_linux_x86_64.tar.gz
  script:
    - mv kubectx {{src}}/usr/bin/kubectx
    - ln -s /usr/bin/kubectx {{src}}/usr/bin/kubectl-ctx

- name: kubectx
  matrix:
    architectures:
      - arm64
      - armhf
    versions:
      - 0.9.4
      - 0.9.5
      - 0.10.0
      - 0.10.2
  revision: "3"
  homepage: https://github.com/ahmetb/kubectx
  summary: kubectl plugin that helps you switch between clusters
  description: Faster way to switch between clusters in kubectl.
  fetch:
    url: https://github.com/ahmetb/kubectx/releases/download/v{{version}}/kubectx_v{{version}}_linux_{{target}}.tar.gz
    targets:
      amd64: x86_64
  script:
    - mv kubectx {{src}}/usr/bin/kubectx
    - ln -s /usr/bin/kubectx {{src}}/usr/bin/kubectl-ctx

The blueprint fetch keyword contains a URL template pointing to kubectx releases. Downloaded files are locked in a lockfile versioned here.

Click here to see kubectx release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/kubectx/ops2deb.lock.yml
- url: https://github.com/ahmetb/kubectx/releases/download/v0.9.4/kubectx_v0.9.4_linux_x86_64.tar.gz
  sha256: db5a48e85ff4d8c6fa947e3021e11ba4376f9588dd5fa779a80ed5c18287db22
  timestamp: 2021-12-14 15:37:09+00:00
- url: https://github.com/ahmetb/kubectx/releases/download/v0.9.4/kubectx_v0.9.4_linux_arm64.tar.gz
  sha256: 5fab3c0624a83cf8fff5c34d90f854af6fa8b501ed63306aaf5355303ae884ed
  timestamp: 2022-01-30 16:22:16+00:00
- url: https://github.com/ahmetb/kubectx/releases/download/v0.9.4/kubectx_v0.9.4_linux_armhf.tar.gz
  sha256: 7132ed27daf0c93b259452032703721bbc881bc1655a4eb5f6df3d489f1ef1bb
  timestamp: 2022-01-30 16:22:16+00:00
- url: https://github.com/ahmetb/kubectx/releases/download/v0.9.5/kubectx_v0.9.5_linux_arm64.tar.gz
  sha256: 40a69c3156984cffb2766e729c8d756aa8d8c0926ef697ae8be12bd25161cd35
  timestamp: 2023-07-14 03:27:40+00:00
- url: https://github.com/ahmetb/kubectx/releases/download/v0.9.5/kubectx_v0.9.5_linux_armhf.tar.gz
  sha256: 831a64a105191772f1810551f4a244449bd0cb771c5a83aeabc97856ba9a3337
  timestamp: 2023-07-14 03:27:40+00:00
- url: https://github.com/ahmetb/kubectx/releases/download/v0.10.0/kubectx_v0.10.0_linux_arm64.tar.gz
  sha256: 11bb7fb2c519c3f51b9a308894c1024a34632f0981ea3052b62e31c4408a42ca
  timestamp: 2026-03-21 00:11:40+00:00
- url: https://github.com/ahmetb/kubectx/releases/download/v0.10.0/kubectx_v0.10.0_linux_armhf.tar.gz
  sha256: 9680128578ba9514891b82f9552acf6e973ae8498a9c15e97f8aed488b7fb23b
  timestamp: 2026-03-21 00:11:40+00:00
- url: https://github.com/ahmetb/kubectx/releases/download/v0.10.2/kubectx_v0.10.2_linux_arm64.tar.gz
  sha256: 2d2fc0a2f34908f8f34ed6db5d83ad8b221d493836671d07cac27003168d34ce
  timestamp: 2026-03-24 00:11:54+00:00
- url: https://github.com/ahmetb/kubectx/releases/download/v0.10.2/kubectx_v0.10.2_linux_armhf.tar.gz
  sha256: 943ad6beefbd2551ff71bafa0ecf5c6fd16a3a1b6cbb2e20e2f2e07e2a8b06c6
  timestamp: 2026-03-24 00:11:54+00:00

Badge

WakeMeOps

[![WakeMeOps](https://docs.wakemeops.com/badges/kubectx.svg)](https://docs.wakemeops.com/packages/kubectx)
<a href="https://docs.wakemeops.com/packages/kubectx">
  <img src="https://docs.wakemeops.com/badges/kubectx.svg"/>
</a>
.. image:: https://docs.wakemeops.com/badges/kubectx.svg
:target: https://docs.wakemeops.com/packages/kubectx