How madhuakula/kubernetes-goat works
Kubernetes Goat is an intentionally vulnerable Kubernetes training environment. A learner provisions its workloads into a Kubernetes cluster, exposes the home interface locally, then uses the guide and scenarios to practice attacks, security analysis, and defenses. The graph groups scenarios into useful learning domains while retaining the main workload examples. Relationships are limited to the setup and access workflow documented in the README; sampled application code confirms selected workload behavior, but not how every scenario is wired.
Main entry points: docs Learning Guide · setup-kubernetes-goat.sh Setup Scripts · access-kubernetes-goat.sh Access Scripts · scenarios Scenario Manifests
Components 21
Setup and Access
- Setup Scripts
setup-kubernetes-goat.sh - Access Scripts
access-kubernetes-goat.sh
Learning Guide
- Learning Guide
guide/docs
Scenario Exercises
- Scenario Manifests
scenarios - Sensitive Keys
guide/docs/scenarios/scenario-1 - Container Exploits
guide/docs/scenarios/scenario-2 - SSRF and Internal Access
guide/docs/scenarios/scenario-3 - Security Benchmarks
guide/docs/scenarios/scenario-5 - Registry Attacks
guide/docs/scenarios/scenario-7 - RBAC and Namespaces
guide/docs/scenarios/scenario-11 - Runtime Security
guide/docs/scenarios/scenario-18 - Network and Policy
guide/docs/scenarios/scenario-20
Vulnerable Workloads
- Scenario Home
infrastructure/goat-home - Ping Application
infrastructure/health-check/main.go - Internal API
infrastructure/internal-api/code/server.js - Metadata Service
infrastructure/metadata-db/main.go - Info Application
infrastructure/info-app/app.py - Repository Lookup
infrastructure/users-repo/app.py
Other components
- Learner
- Kubernetes Cluster
- GitHub API
Connections 18
- Learner → Setup Scripts: runs setup
- Setup Scripts → Kubernetes Cluster: provisions resources
- Learner → Access Scripts: runs access
- Access Scripts → Kubernetes Cluster: exposes services
- Learner → Scenario Home: opens interface
- Learner → Learning Guide: studies
- Learning Guide → Sensitive Keys: explains exercise
- Learning Guide → Container Exploits: explains exercise
- Learning Guide → SSRF and Internal Access: explains exercise
- Learning Guide → Security Benchmarks: explains exercise
- Learning Guide → Registry Attacks: explains exercise
- Learning Guide → RBAC and Namespaces: explains exercise
- Learning Guide → Runtime Security: explains exercise
- Learning Guide → Network and Policy: explains exercise
- Setup Scripts → Scenario Manifests: applies manifests
- Scenario Manifests → Kubernetes Cluster: defines workloads
- Info Application → Metadata Service: references service
- Repository Lookup → GitHub API: requests repositories