LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

kubectl-api-resources

lists all resource types available in the Kubernetes cluster

TLDR

List all API resources
$ kubectl api-resources
copy
List namespaced resources only
$ kubectl api-resources --namespaced=true
copy
List resources with specific API group
$ kubectl api-resources --api-group=[apps]
copy
Show resource short names
$ kubectl api-resources -o wide
copy
List verbs for resources
$ kubectl api-resources --verbs=[list,get]
copy

SYNOPSIS

kubectl api-resources [options]

DESCRIPTION

kubectl api-resources lists all resource types available in the Kubernetes cluster. Shows resource names, short names, API group, and whether they are namespaced. Useful for discovering available resource types.

PARAMETERS

--namespaced bool

Filter namespaced/cluster-scoped resources.
--api-group group
Filter by API group.
--verbs verbs
Filter by supported verbs.
-o format
Output format (wide, name).

INSTALL

sudo apt install kubectl
copy
sudo pacman -S kubectl
copy
sudo apk add kubectl
copy
brew install kubectl
copy
nix profile install nixpkgs#kubectl
copy

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid