kubectx
Kubectl plugin that helps you switch between clusters
Faster way to switch between clusters in kubectl.
https://github.com/ahmetb/kubectx
amd64 arm64 armhf
Installation
1. Add WakeMeOps repository
curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash
2. Install kubectx
Snippets
Download URLs
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
  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