| Crates.io | fakos |
| lib.rs | fakos |
| version | 0.0.2 |
| created_at | 2025-12-22 14:48:10.728242+00 |
| updated_at | 2025-12-22 14:48:10.728242+00 |
| description | fakos enables users to efficiently access the state and metadata of all Kubernetes resources |
| homepage | |
| repository | https://github.com/koithos/fakos |
| max_upload_size | |
| id | 1999808 |
| size | 115,622 |
fakos (φακός; greek for lens) enables users to efficiently access the state, logs and metadata of different Kubernetes resources.
This cli utility can:
If you have Rust installed, you can install fakos using cargo:
cargo install fakos
Once published to the krew index, you can install fakos as a kubectl plugin:
kubectl krew install fakos
kubectl fakos get pods
brew tap koithos/cli/fakos
brew install fakos
Clone the repository and build from source:
git clone https://github.com/koithos/fakos.git
cd fakos
cargo build --release
# The binary will be available at target/release/fakos
--kubeconfig <PATH>: Path to kubeconfig file (default: ~/.kube/config or $KUBECONFIG)-v, --verbose: Enable verbose logging (use multiple times for increased verbosity)
-v: WARN level-vv: INFO level-vvv: DEBUG level-vvvv: TRACE level--log-format <FORMAT>: Log format to use (default: plain, options: plain, json)List and inspect pods in your Kubernetes cluster.
# Normal output (default)
fakos get pods -o normal
# Wide output (shows additional columns)
fakos get pods -o wide
# Display only labels for pods
fakos get pods --labels
# Display only annotations for pods
fakos get pods --annotations
# Display both labels and annotations
fakos get pods --labels --annotations
# Get labels for a specific pod
fakos get pods my-pod --labels -n default
# Get labels for a specific pod on a specific node in a specific namespace
fakos get pods my-pod --labels --annotations -n default --node node-1
# Display only labels for nodes
fakos get nodes --labels
# Display only annotations for nodes
fakos get nodes --annotations
# Display both labels and annotations
fakos get nodes --labels --annotations
# Get labels for a specific node
fakos get nodes node-1 --labels
# Get all pods in production namespace with verbose logging
fakos get pods -n production -vv
# Get all pods on a specific node with labels
fakos get pods --node worker-1 --labels
# Get node information with custom kubeconfig
fakos get nodes --kubeconfig /path/to/kubeconfig
# Get wide output for all pods across all namespaces
fakos get pods -A -o wide
# Get annotations for a specific pod with debug logging
fakos get pods my-app-pod -n default --annotations -vvv