Fixing README
This commit is contained in:
parent
14b5af34c9
commit
2bec96f972
1 changed files with 16 additions and 16 deletions
32
README.rst
32
README.rst
|
@ -7,22 +7,22 @@ Usage
|
||||||
-----
|
-----
|
||||||
|
|
||||||
::
|
::
|
||||||
$ get-k8s-resources -h
|
$ get-k8s-resources -h
|
||||||
usage: get-k8s-resources.py [-h] [-n NAMESPACE] [-c CONTEXT] -t
|
usage: get-k8s-resources.py [-h] [-n NAMESPACE] [-c CONTEXT] -t
|
||||||
{deployments,services,pods,ingresses}
|
{deployments,services,pods,ingresses}
|
||||||
|
|
||||||
Returns a json list of kubernetes deployments.
|
Returns a json list of kubernetes deployments.
|
||||||
|
|
||||||
optional arguments:
|
optional arguments:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
-n NAMESPACE, --namespace NAMESPACE
|
-n NAMESPACE, --namespace NAMESPACE
|
||||||
filter by namespace
|
filter by namespace
|
||||||
-c CONTEXT, --context CONTEXT
|
-c CONTEXT, --context CONTEXT
|
||||||
context to use
|
context to use
|
||||||
-t {deployments,services,pods,ingresses}, --type {deployments,services,pods,ingresses}
|
-t {deployments,services,pods,ingresses}, --type {deployments,services,pods,ingresses}
|
||||||
type of kubernetes resource to get
|
type of kubernetes resource to get
|
||||||
--kubeconfig KUBECONFIG
|
--kubeconfig KUBECONFIG
|
||||||
path to the kubeconfig
|
path to the kubeconfig
|
||||||
|
|
||||||
|
|
||||||
Requirements
|
Requirements
|
||||||
|
|
Loading…
Reference in a new issue