Hydrate crawls a kubernetes cluster and generates a high level description of your deployments.
New updates will be located at microsoft/hydrate
Ensure you are using Python 3.6 or a newer version. Include a "kubeconfig" file for your cluster in the same directory as hydrate.py, or specify one with the -k argument. Finally, install the dependencies.
pip install -r requirements.txtpython -m hydrate [-h] [-n NAME] [-k FILE] [-o PATH] [-v] [-d] runThe component.yaml file that is created is based on the specification detailed in the Fabrikate repo.
Fabrikate Component Definition
| Arg | Usage |
|---|---|
| run | Generate component.yaml for current configuration |
| Arg | Usage |
|---|---|
| -h, --help | Show the help message and exit |
| -n NAME, --name NAME | Name of the main component (default:hydrated-cluster) |
| -k FILE, --kubeconfig FILE | Kubeconfig file for the cluster (default:kubeconfig) |
| -o PATH, --output PATH | Output path for the generated component.yaml. |
| -v, --verbose | Verbose output logs. |
| -d, --dry-run | Print component.yaml to the terminal. |