Graphmize is a tool to visualize the dependencies of kustomize.
brew tap hourglasshoro/homebrew-graphmize
brew install graphmize
go get github.com/hourglasshoro/graphmize
Run the graphmize command under the directory that contains the kustomization file.
graphmize
You can also specify a directory by using the source flag.However, only relative paths can be used.
graphmize -s [source path]
The actual directory structure, manifest, etc. can be found on this page. If you run Graphmize with this directory specified, the output will look like this.
example/overlays/production
└── example/base
└── example/base/a_service
├── deployment.yaml
│ └── example/overlays/production/a_service/deployment.yaml(p)
└── service.yaml
└── example/overlays/production/a_service/service.yaml(p)
example/overlays/staging
└── example/base
└── example/base/a_service
├── deployment.yaml
│ └── example/overlays/staging/a_service/deployment.yaml(p)
└── service.yaml