kubectl extensions
Project description
kubek
kubectlplugins for friendlier Kubernetes interactions.
kubek (kubernetes extension kit) is a collection of CLI tools that plug into kubectl and add interactive, developer-friendly shortcuts on top of it.
Plugins
🔌 portfwd — Interactive port forwarding
Forwarding ports to Kubernetes services usually means running a separate kubectl port-forward command for each service, keeping track of which local port maps to what, and restarting them when they die. portfwd (port forward) replaces all of that with a single interactive command — pick your services, and it handles the rest.
- Fuzzy-search namespaces and services interactively
- Forward multiple services simultaneously in one command
- Live status table with real-time updates when a process dies
- Pin preferred local ports per service in a TOML config
- Fallback to a random free port if the preferred port is taken
- Inform user which services are currently forwarded and on which ports
📦 envx — Export env vars from Kubernetes manifests
Getting credentials out of a running deployment usually means digging through kubectl get deployment -o yaml, copying values by hand, and reformatting them into a .env file. envx (environment exporter) does it in one command — pick any Deployment or Argo WorkflowTemplate you have access to and get its env vars exported instantly.
- Fully interactive (fuzzy-search, arrow key navigation)
- Output as
.envor JSON - Pipe directly:
kubectl envx ... > .envto produce a dotenv file
Installation
Prerequisites
- Python 3.11+
kubectlinstalled and configured with cluster access
Install
The recommended way to install kubek is with pipx, which installs it in an isolated environment and automatically makes the plugin executables available on your PATH:
# Latest stable release (recommended)
pipx install kubek
# Newest development version
pipx install git+https://github.com/ohmycoffe/kubek.git
If you use pip or another package manager, make sure the installation's bin/ directory is on your PATH — kubectl discovers plugins by scanning PATH for executables prefixed with kubectl-.
Verify
After installing, confirm both plugins are available:
kubectl portfwd --help
kubectl envx --help
See each plugin's README for full usage details.
License
MIT — see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kubek-0.4.2.tar.gz.
File metadata
- Download URL: kubek-0.4.2.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
237407e39c7adf8d558a07021e504e0ad89bbde82c99613ca48d144582daf227
|
|
| MD5 |
74461d0759965373f42bc9e4d2798671
|
|
| BLAKE2b-256 |
9d8fb0399d7133f1229916bec68daecb5791e54f9cecf7d71ef2efb4ca1a506e
|
Provenance
The following attestation bundles were made for kubek-0.4.2.tar.gz:
Publisher:
release.yml on ohmycoffe/kubek
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kubek-0.4.2.tar.gz -
Subject digest:
237407e39c7adf8d558a07021e504e0ad89bbde82c99613ca48d144582daf227 - Sigstore transparency entry: 1511796248
- Sigstore integration time:
-
Permalink:
ohmycoffe/kubek@4b49b47fc6ac64bf89dd4a3d34f385b8bf53671d -
Branch / Tag:
refs/tags/v0.4.2 - Owner: https://github.com/ohmycoffe
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4b49b47fc6ac64bf89dd4a3d34f385b8bf53671d -
Trigger Event:
push
-
Statement type:
File details
Details for the file kubek-0.4.2-py3-none-any.whl.
File metadata
- Download URL: kubek-0.4.2-py3-none-any.whl
- Upload date:
- Size: 17.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
899d09cedf00a03450104000ff5dcd0932dd32b715a3d4fa5a18f4156d1df438
|
|
| MD5 |
0987178dd3c2e5b6ca8db6a491ea9875
|
|
| BLAKE2b-256 |
7c064f2a7e32bfdf2032748e1a577fe6894cd994028776c2fbe624a376233dc5
|
Provenance
The following attestation bundles were made for kubek-0.4.2-py3-none-any.whl:
Publisher:
release.yml on ohmycoffe/kubek
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kubek-0.4.2-py3-none-any.whl -
Subject digest:
899d09cedf00a03450104000ff5dcd0932dd32b715a3d4fa5a18f4156d1df438 - Sigstore transparency entry: 1511796334
- Sigstore integration time:
-
Permalink:
ohmycoffe/kubek@4b49b47fc6ac64bf89dd4a3d34f385b8bf53671d -
Branch / Tag:
refs/tags/v0.4.2 - Owner: https://github.com/ohmycoffe
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4b49b47fc6ac64bf89dd4a3d34f385b8bf53671d -
Trigger Event:
push
-
Statement type: