Fixing README

This commit is contained in:
Elia El Lazkani 2019-03-07 18:43:13 -05:00
parent 14b5af34c9
commit 2bec96f972

View file

@ -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