feat(sks): add Karpenter credential rotation and active nodepool template lookupJbruinink/sks karpenter rotation nodepool templates#797
Open
jbruinink wants to merge 1 commit intoexoscale:masterfrom
Conversation
69c1814 to
656b055
Compare
656b055 to
08e3870
Compare
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.
Description
sks: add Karpenter credential rotation and active nodepool template lookup.
This PR adds two new SKS CLI commands:
exo compute sks rotate-karpenter-credentials <CLUSTER-NAME|ID> [-z ZONE]exo compute sks active-nodepool-templates <KUBERNETES-VERSION> [--variant standard|nvidia] [-z ZONE]Details:
rotate-karpenter-credentialsmirrors existing SKS credential rotation commands (CCM/CSI), triggers the SKS API rotation operation, and waits for operation success.active-nodepool-templatesqueries active SKS nodepool templates for a Kubernetes version and returns both template ID and resolved template name.active-nodepool-templatesqueries bothstandardandnvidiavariants;--variantlimits lookup to one variant.exo compute sksand appear in help output.Checklist
(For exoscale contributors)
Testing
go test ./cmd/compute/sksgo run . compute sks --helpactive-nodepool-templatesandrotate-karpenter-credentialsare listedrotate-karpenter-credentials