sozercan / kubectl-ai

✨ Kubectl plugin for OpenAI GPT
MIT License
996 stars 73 forks source link

Feature request: enable updating of existing manifest files #102

Closed clarkezone closed 4 months ago

clarkezone commented 7 months ago

Current the plugin generates new YAML from a prompt and can apply it to a cluster. I doesn't appear to be able to write the resultant manifests to disk or update existing on disk manifests. There are some interesting scenarios for using a plugin like this to update existing manifests e.g.

  1. Generate manifests and write them to disk for manual tweeking
  2. Add cpu limits to all deployments
  3. Add PDBs
  4. Refactor manifests using kustomize bases and overlays to create prod, staging