Red Hat
Get owner:
kubectl get $type/$name \
-o template \
--template \
'{{(index .metadata.ownerReferences 0).kind}}/'\
'{{(index .metadata.ownerReferences 0).name}}'
… and repeat
https://github.com/mkimuram/k8sviz
https://github.com/steveteuber/kubectl-graph
Thanks for attending!
Note
Title slide Photo by orbtal media on Unsplash