feat: add Karpenter, EKS, and Terraform output formats#26
Open
alexei-led wants to merge 1 commit intomasterfrom
Open
feat: add Karpenter, EKS, and Terraform output formats#26alexei-led wants to merge 1 commit intomasterfrom
alexei-led wants to merge 1 commit intomasterfrom
Conversation
Co-authored-by: Marvin <marvin@openclaw.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements issue #15: Infrastructure-ready output formats for spotinfo.
Features
Three New Output Formats
1. Karpenter (
--output karpenter)Generates
NodePoolmanifests with requirements for instance types, architecture, and capacity type.2. eksctl (
--output eksctl)Generates eksctl
managedNodeGroupsYAML configuration snippets with Spot spot instance options.3. Terraform (
--output terraform)Generates HCL
localsblock withspot_instance_typeslist for use in infrastructure-as-code.Implementation
printAdvicesKarpenter,printAdvicesEksctl,printAdvicesTerraformhandlers incmd/spotinfo/main.goImpact
This turns spotinfo from an exploration tool into a configuration tool — engineers can now copy-paste results directly into their Karpenter, EKS, and Terraform configs.
Fixes #15
🤖 Automated response by Marvin • alexei-led