/k8listns-python

Listing k8s namespaces using Python

Primary LanguagePython

k8listns-python

Simple Python script for listing all namespaces in current configured Kubernetes cluster.

Make sure you have a valid ~/.kube/config file.

Requirements

  • Python 3.x
$ pip install -r requirements.txt

Usage

$ python list-ns.py