prometheus-engine icon indicating copy to clipboard operation
prometheus-engine copied to clipboard

[DO NOT MERGE] Apply Kubernetes YAML files via kustomize

Open TheSpiritXIII opened this issue 3 years ago • 1 comments

This change is a precursor to a few changes:

  1. Templating images: Kustomize lets us define images maps. You give Kustomize the original image and then tell Kustomize what to replace it with.
  2. 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) and kubectl apply that template.
  3. 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.

TheSpiritXIII avatar Nov 28 '22 14:11 TheSpiritXIII

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?

bwplotka avatar Nov 27 '23 15:11 bwplotka

Closing, as we are now using helm to accomplish this.

TheSpiritXIII avatar May 28 '24 20:05 TheSpiritXIII