Skip to content

huangyisan/kubernetes-resource-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubernetes-resource-list

This app can show a list of Kubernetes API resources and subresources

Why

When I was writing my RBAC configuration, I couldn't find resources, especially subresources, and the official kubernetes documentation doesn't list them anywhere.

How To Use

$ ./kube-resource --help
Usage of ./kube-resource:
  -c, --kubeconfig string   (optional) absolute path to the kubeconfig file
  -p, --prefer              (optional) only display the supported resources with the version preferred by the server.
  -s, --search string       (optional) only display the supported resources for a group and version.
  -v, --version             show app version

Example

$ ./kube-resource
APIGROUPS                	GROUPVERSION        	NAME                               	VERBS
core                     	v1                  	bindings                           	[create]
core                     	v1                  	componentstatuses                  	[get list]
core                     	v1                  	configmaps                         	[create delete deletecollection get list patch update watch]
core                     	v1                  	endpoints                          	[create delete deletecollection get list patch update watch]
core                     	v1                  	events                             	[create delete deletecollection get list patch update watch]
core                     	v1                  	limitranges                        	[create delete deletec

...
..
.

About

Show a list of Kubernetes API resources and subresources

Resources

Stars

Watchers

Forks

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy