Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for setting MarketType/InstanceMarketOptions for use with "capacity-block" #8207

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dims
Copy link
Contributor

@dims dims commented Feb 11, 2025

Needed for enabling/using Capacity Blocks for ML

Ensures that LaunchTemplateData will end up with InstanceMarketOptions/MarketType when CapacityReservation/CapacityReservationID is set like so:

nodeGroups:
  - name: cbr
    instanceType: p5en.48xlarge
    minSize: 2
    maxSize: 2
    availabilityZones: ["us-east-2c"] # match AZ where reservation is deployed
    capacityReservation:
      capacityReservationTarget:
        capacityReservationID: "cr-028e8bdd6334b8012"
    instanceMarketOptions:
      marketType: capacity-block
    overrideBootstrapCommand: | # utilize the local instance store volumes
      apiVersion: node.eks.aws/v1alpha1
      kind: NodeConfig
      spec:
        instance:
          localStorage:
            strategy: RAID0

Resolves #8155

@bryantbiggs bryantbiggs added kind/feature New feature or request area/nodegroup labels Feb 11, 2025
@dims dims changed the title [WIP] Support for setting MarketType/InstanceMarketOptions for use with "capacity-block" Support for setting MarketType/InstanceMarketOptions for use with "capacity-block" Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/nodegroup kind/feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Add support for Capacity Blocks in eksctl config file schema
2 participants