Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cybersecurityup/k8senumeration
Kubernetes, Clusters and Dockers Enumeration in GCP and AWS environments
https://github.com/cybersecurityup/k8senumeration
Last synced: about 1 month ago
JSON representation
Kubernetes, Clusters and Dockers Enumeration in GCP and AWS environments
- Host: GitHub
- URL: https://github.com/cybersecurityup/k8senumeration
- Owner: CyberSecurityUP
- Created: 2023-10-26T18:33:27.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-23T17:59:09.000Z (about 1 year ago)
- Last Synced: 2023-11-24T18:41:33.507Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# k8senumgcp
Kubernetes, Clusters and Dockers Enumeration in GCP and AWS environments## Install kubectl in GCP
### Install kubectl component in gcloud:
`
gcloud components install kubectl
`### Check if kubectl is installed:
`
kubectl version
`### Install authentication k8s Plugin
`
gke-gcloud-auth-plugin --version
`### Update kubectl configuration to use the plugin:
`
gcloud container clusters get-credentials CLUSTER_NAME \
--region=COMPUTE_REGION
`## Configure EKS
### AWS Configure Key
`
aws configure
`### AWS Authentication Info
`
aws sts get-caller-identity
`### AWS Kube Configuration
`
aws eks update-kubeconfig --name cluster-name1 --region us-east-1
aws eks update-kubeconfig --name cluster-name2 --region us-east-1
`## Using K8SEnumeration
### Running Tool
`
python3 k8senumgcp.py
`