Generate svg diagrams from k8s manifest files
generate dot
file from manifest
kubegraph flux.yaml #creates flux.dot
or from a helm chart
helm template vault banzai/vault-operator > x.yaml
kubegraph x.yaml
convert dot to svg
docker run --rm -v $PWD:/data -w /data nshine/dot dot -Tsvg flux.dot > flux.svg
Please note that svg has references to the icons
dir, so it work opnly in that directory.