Enumerate kubernetes services
There's a better way to discover all services with one DNS query. Use the tool only if you can't query SRV record on
*.*.svc.cluster.local
Check it out here Kube-dns -> services
enumerate.sh [-h|--help] [-v|--verbose] dictionary...
k8numerate - enumerate kubernetes services
Usage:
enumerate.sh [options] services.txt
Options:
-v --verbose verbose output
-h --help show this screen
- Generate services dictionary
Run generate.py services.json svc.txt
- Run
enumerate.sh svc.txt
Array of:
{
"description": "Service description",
"name": ["service-name"],
"namespace": ["service-namespace"]
}