prometheus-engine
prometheus-engine copied to clipboard
[DO NOT MERGE] Apply Kubernetes YAML files via kustomize
This change is a precursor to a few changes:
- Templating images: Kustomize lets us define images maps. You give Kustomize the original image and then tell Kustomize what to replace it with.
- Deploying the operator in a Kind cluster. This is really easy to do with #1 -- just make a template to point images to a local repository (
localhost) andkubectl applythat template. - Removing
manifest/altogether. Kustomize can take Github URLs so we can update our public docs to point to ourkustomization.yamland have Kustomize combine our YAML files.
Nice, thanks!
Removing manifest/ altogether. Kustomize can take Github URLs so we can update our public docs to point to our kustomization.yaml and have Kustomize combine our YAML files.
Interesting! Given kustomize is built in kubectl these days that might be a good idea. Looping @lyanco here for docs UX. What exactly we would point users to? I guess we need some kustomization.yaml that combines all components to mimic what we have now in manifests?
Closing, as we are now using helm to accomplish this.