Simple Python script for listing all namespaces in current configured Kubernetes cluster.
Make sure you have a valid ~/.kube/config file.
- Python 3.x
$ pip install -r requirements.txt
$ python list-ns.py
Simple Python script for listing all namespaces in current configured Kubernetes cluster.
Make sure you have a valid ~/.kube/config file.
$ pip install -r requirements.txt
$ python list-ns.py