$ kubectl plugin list Unable read directory "/home/ubuntu/go/bin" from your PATH: open /home/ubuntu/go/bin: no such file or directory. Skipping... error: unable to find any kubectl plugins in your PATH
Krew is a tool that makes it easy to use kubectl plugins. Krew helps you discover plugins, install and manage them on your machine. It is similar to tools like apt, dnf or brew. Today, over 70 kubectl plugins are available on Krew.
$ kubectl krew krew is the kubectl plugin manager. You can invoke krew through kubectl: "kubectl krew [command]..."
Usage: kubectl krew [command]
Available Commands: help Help about any command index Manage custom plugin indexes info Show information about an available plugin install Install kubectl plugins list List installed kubectl plugins search Discover kubectl plugins uninstall Uninstall plugins update Update the local copy of the plugin index upgrade Upgrade installed plugins to newer versions version Show krew version and diagnostics
Flags: -h, --helphelpfor krew -v, --v Level number for the log level verbosity
Use "kubectl krew [command] --help"for more information about a command.
$ kubectl krew search NAME DESCRIPTION INSTALLED access-matrix Show an RBAC access matrix for server resources no advise-psp Suggests PodSecurityPolicies for cluster. no apparmor-manager Manage AppArmor profiles for cluster. no auth-proxy Authentication proxy to a pod or service no bd-xray Run Black Duck Image Scans no bulk-action Do bulk actions on Kubernetes resources. no ca-cert Print the PEM CA certificate of the current clu... no capture Triggers a Sysdig capture to troubleshoot the r... no cert-manager Manage cert-manager resources inside your cluster no change-ns View or change the current namespace via kubectl. no cilium Easily interact with Cilium agents. no cluster-group Exec commands across a group of contexts. no config-cleanup Automatically clean up your kubeconfig no cssh SSH into Kubernetes nodes no ctx Switch between contexts in your kubeconfig no custom-cols A "kubectl get" replacement with customizable c... no datadog Manage the Datadog Operator no debug Attach ephemeral debug container to running pod no debug-shell Create pod with interactive kube-shell. no deprecations Checks for deprecated objects in a cluster no df-pv Show disk usage (like unix df) for persistent v... no doctor Scans your cluster and reports anomalies. no duck List custom resources with ducktype support no edit-status Edit /status subresources of CRs no eksporter Export resources and removes a pre-defined set ... no emit-event Emit Kubernetes Events for the requested object no evict-pod Evicts the given pod no example Prints out example manifest YAMLs no exec-as Like kubectl exec, but offers a `user` flag to ... no exec-cronjob Run a CronJob immediately as Job no fields Grep resources hierarchy by field name no flame Generate CPU flame graphs from pods no fleet Shows config and resources of a fleet of clusters no fuzzy Fuzzy and partial string search for kubectl no gadget Gadgets for debugging and introspecting apps no get-all Like `kubectl get all` but _really_ everything no gke-credentials Fetch credentials for GKE clusters no gopass Imports secrets from gopass no graph Visualize Kubernetes resources and relationships. no grep Filter Kubernetes resources by matching their n... no gs Handle custom resources with Giant Swarm no iexec Interactive selection tool for `kubectl exec` no images Show container images used in the cluster. no ingress-nginx Interact with ingress-nginx no ipick A kubectl wrapper for interactive resource sele... no konfig Merge, split or import kubeconfig files no krew Package manager for kubectl plugins. yes kubesec-scan Scan Kubernetes resources with kubesec.io. no kudo Declaratively build, install, and run operators... no kuttl Declaratively run and test operators no kyverno Kyverno is a policy engine for kubernetes no match-name Match names of pods and other API objects no modify-secret modify secret with implicit base64 translations no mtail Tail logs from multiple pods matching label sel... no neat Remove clutter from Kubernetes manifests to mak... no net-forward Proxy to arbitrary TCP services on a cluster ne... no node-admin List nodes and run privileged pod with chroot no node-restart Restart cluster nodes sequentially and gracefully no node-shell Spawn a root shell on a node via kubectl no np-viewer Network Policies rules viewer no ns Switch between Kubernetes namespaces no oidc-login Log in to the OpenID Connect provider no open-svc Open the Kubernetes URL(s) for the specified se... no operator Manage operators with Operator Lifecycle Manager no oulogin Login to a cluster via OpenUnison no outdated Finds outdated container images running in a cl... no passman Store kubeconfig credentials in keychains or pa... no pod-dive Shows a pod's workload tree and info inside a node no pod-logs Display a list of pods to get logs from no pod-shell Display a list of pods to execute a shell in no podevents Show events for pods no popeye Scans your clusters for potential resource issues no preflight Executes application preflight tests in a cluster no profefe Gather and manage pprof profiles from running pods no prompt Prompts for user confirmation when executing co... no prune-unused Prune unused resources no psp-util Manage Pod Security Policy(PSP) and the related... no rbac-lookup Reverse lookup for RBAC no rbac-view A tool to visualize your RBAC permissions. no resource-capacity Provides an overview of resource requests, limi... no resource-snapshot Prints a snapshot of nodes, pods and HPAs resou... no restart Restarts a pod with the given name no rm-standalone-pods Remove all pods without owner references no rolesum Summarize RBAC roles for subjects no roll Rolling restart of all persistent pods in a nam... no schemahero Declarative database schema migrations via YAML no score Kubernetes static code analysis. no service-tree Status for ingresses, services, and their backends no sick-pods Find and debug Pods that are "Not Ready" no snap Delete half of the pods in a namespace or cluster no sniff Start a remote packet capture on pods using tcp... no sort-manifests Sort manifest files in a proper order by Kind no split-yaml Split YAML output into one file per resource. no spy pod debugging tool for kubernetes clusters with... no sql Query the cluster via pseudo-SQL no ssh-jump A kubectl plugin to SSH into Kubernetes nodes u... no sshd Run SSH server in a Pod no ssm-secret Import/export secrets from/to AWS SSM param store no starboard Toolkit for finding risks in kubernetes resources no status Show status details of a given resource. no sudo Run Kubernetes commands impersonated as group s... no support-bundle Creates support bundles for off-cluster analysis no tail Stream logs from multiple pods and containers u... no tap Interactively proxy Kubernetes Services with ease no tmux-exec An exec multiplexer using Tmux no topology Explore region topology for nodes or pods no trace bpftrace programs in a cluster no tree Show a tree of object hierarchies through owner... no unused-volumes List unused PVCs no view-allocations List allocations per resources, nodes, pods. no view-secret Decode Kubernetes secrets no view-serviceaccount-kubeconfig Show a kubeconfig setting to access the apiserv... no view-utilization Shows cluster cpu and memory utilization no virt Control KubeVirt virtual machines using virtctl no warp Sync and execute local files in Pod no who-can Shows who has RBAC permissions to access Kubern... no whoami Show the subject that's currently authenticated... no
1 2 3 4 5 6 7 8 9 10
$ kubectl krew search pod NAME DESCRIPTION INSTALLED evict-pod Evicts the given pod no pod-dive Shows a pod's workload tree and info inside a node no pod-logs Display a list of pods to get logs from no pod-shell Display a list of pods to execute a shell in no podevents Show events for pods no rm-standalone-pods Remove all pods without owner references no sick-pods Find and debug Pods that are "Not Ready" no support-bundle Creates support bundles for off-cluster analysis no