DataDog's security team has open-sourced a tool named KubeHound that can be used to analyze Kubernetes clusters and create graphs of possible attach paths.
Blog: https://securitylabs.datadoghq.com/articles/kubehound-identify-kubernetes-attack-paths/
Tool: https://kubehound.io/
