Table of Contents
Run it with a single kubeconfig file:
Use --network host for VPNs like Cloudflare Warp
docker run --network host -v "$KUBECONFIG:/config.yaml" ghcr.io/andrewthomaslee/kubefetch -kubeconfig /config.yamlAuto uses $KUBECONFIG if already set
nix run "https://flakehub.com/f/andrewthomaslee/kubefetch/*"- Add repo to
flake.nix
{
inputs.kubefetch.url = "https://flakehub.com/f/andrewthomaslee/kubefetch/0.9.*";
outputs = { self, kubefetch }: {
# Use in your outputs
};
}- Add to
systemPackages
{
environment.systemPackages = [
inputs.kubefetch.packages.${pkgs.stdenv.hostPlatform.system}.default
];
}The flake also exposes an oci-kubefetch output with the binary in a minimal OCI image, for use with the Docker CLI or in OCI environments like Kubernetes.
nix build "https://flakehub.com/f/andrewthomaslee/kubefetch/*"#oci-kubefetch
docker load < result- With
makeClone the repo
git clone https://github.com/andrewthomaslee/kubefetch
cd kubefetch- Build and install the binary
make build
sudo make install- To uninstall, run:
sudo make uninstall
make clean
- Rolling SemVer Releases
- OCI Artifact
- Binary Cache ( FlakeHub )
- Nix Flake
- Auth via kubeconfig
- CNI used (currently only detection for Cilium, Calico, WeaveNet and Flannel)
- CRI used
- Storage Solutions used
- More displayed info
- AUR package
- Nixpkgs package
See the open issues for a full list of proposed features (and known issues).
Distributed under the GNU GPL v3 License. See LICENSE.txt for more information.
Project Link: https://github.com/andrewthomaslee/kubefetch



