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

Capacity block #543

Merged
merged 170 commits into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
170 commits
Select commit Hold shift + click to select a range
087d5d7
Safely access/mutate fargate coredns pod annotations
a-hilaly Jan 15, 2024
c74edb2
Merge pull request #7480 from a-hilaly/corednspanics
a-hilaly Jan 17, 2024
ce27549
Fix generating presigned URL for K8s authentication
Jan 19, 2024
3d0c65e
Merge pull request #7487 from cPu1/fix-sts-auth-failure
yuxiang-zhang Jan 19, 2024
8ddea75
Add release notes for 0.168.0
yuxiang-zhang Jan 19, 2024
6915dac
Merge pull request #7488 from yuxiang-zhang/release-notes-for-0.168.0
yuxiang-zhang Jan 19, 2024
1ce547f
Prepare for next development iteration
eksctl-bot Jan 19, 2024
002ce9a
Merge pull request #7489 from eksctl-io/main-6915dac67
yuxiang-zhang Jan 19, 2024
99593da
Handle unordered public endpoint CIDRs from EKS in endpoint updates
Emberwalker Jan 16, 2024
054a558
Merge pull request #7483 from Emberwalker/public-endpoint-cidrs-unord…
yuxiang-zhang Jan 19, 2024
7bf47e2
Fix outdated links
guessi Nov 17, 2023
37cc928
Merge pull request #7297 from guessi/fix-outdated-links
yuxiang-zhang Jan 19, 2024
b4b8935
Fix StringLike condition key for ebsCSIController IAM policy
teraflik Jan 20, 2024
b4d258d
Merge pull request #7451 from teraflik/patch-1
yuxiang-zhang Jan 22, 2024
ce6e6e6
Fix coredns pdb preventing cluster deletion
yuxiang-zhang Jan 22, 2024
ae510ae
Merge pull request #7496 from yuxiang-zhang/fix-coredns-cannot-be-evi…
yuxiang-zhang Jan 23, 2024
6574fa1
Add support for EKS 1.29
yuxiang-zhang Jan 12, 2024
d38585b
Merge pull request #7498 from yuxiang-zhang/eks-1.29
yuxiang-zhang Jan 23, 2024
28c842b
Add release notes for 0.169.0
yuxiang-zhang Jan 23, 2024
1c8cc62
Merge pull request #7499 from yuxiang-zhang/update-release-notes
yuxiang-zhang Jan 23, 2024
1e1d72f
Prepare for next development iteration
eksctl-bot Jan 23, 2024
e34c5ff
Merge pull request #7500 from eksctl-io/main-1c8cc6244
yuxiang-zhang Jan 23, 2024
7b89891
Update arm-support.md
yuxiang-zhang Jan 24, 2024
9575570
Merge pull request #7501 from eksctl-io/yuxiang-zhang-patch-1
yuxiang-zhang Jan 24, 2024
f75c48e
Expand Karpenter settings.aws block to settings for v0.33.0 and greater
yuxiang-zhang Jan 25, 2024
622f4fe
Merge pull request #7503 from yuxiang-zhang/update-karpenter-config-f…
yuxiang-zhang Jan 25, 2024
dbdfa18
Update stale.yml
yuxiang-zhang Jan 25, 2024
29e0d7e
Merge pull request #7505 from eksctl-io/update-stale-bot
yuxiang-zhang Jan 25, 2024
f694469
docs(fargate): eksctl update command is deprecated
skl Jan 30, 2024
a6aa06b
Fix deleting cluster sometimes drain managed nodegroups
yuxiang-zhang Jan 26, 2024
aec56df
Update userdocs on nodegroups
yuxiang-zhang Jan 27, 2024
71d8472
Merge pull request #7515 from yuxiang-zhang/drain-unmanaged-ng-only
yuxiang-zhang Jan 31, 2024
f79b052
Merge branch 'main' into skl/docs-fargate-support-upgrade
yuxiang-zhang Jan 31, 2024
b39bb66
Merge pull request #7517 from skl/skl/docs-fargate-support-upgrade
yuxiang-zhang Jan 31, 2024
9ce88cc
Update release drafter template
yuxiang-zhang Feb 2, 2024
3f0d81f
Merge pull request #7524 from yuxiang-zhang/patch-release-drafter
yuxiang-zhang Feb 2, 2024
fff42b5
Add support for Access Entry Type
yuxiang-zhang Feb 2, 2024
47c1309
Update access entries userdocs
yuxiang-zhang Feb 1, 2024
4af2dce
Merge pull request #7522 from yuxiang-zhang/add-access-entry-type
yuxiang-zhang Feb 2, 2024
e1b83ad
Add release notes for 0.170.0
yuxiang-zhang Feb 2, 2024
d03c123
Merge pull request #7525 from yuxiang-zhang/add-release-note
yuxiang-zhang Feb 2, 2024
97bde1e
Prepare for next development iteration
eksctl-bot Feb 2, 2024
02c2066
Merge pull request #7526 from eksctl-io/main-d03c12312
yuxiang-zhang Feb 2, 2024
275fefe
Improve userdocs layout
yuxiang-zhang Feb 3, 2024
3c2bb26
Announce eksctl Support Status Update
yuxiang-zhang Feb 7, 2024
4e3d0e4
Merge pull request #7539 from yuxiang-zhang/update-layout
yuxiang-zhang Feb 7, 2024
b4d7df7
Add support for Ubuntu 22.04 based EKS images
toabctl Jan 30, 2024
0415323
Merge pull request #7516 from toabctl/ubuntu-22.04-support
yuxiang-zhang Feb 9, 2024
61eb80b
Add release notes for 0.171.0
yuxiang-zhang Feb 9, 2024
9858c54
Merge pull request #7541 from yuxiang-zhang/update-release-notes
yuxiang-zhang Feb 9, 2024
c73022d
Prepare for next development iteration
eksctl-bot Feb 9, 2024
87e12f2
Merge pull request #7542 from eksctl-io/main-9858c5482
yuxiang-zhang Feb 9, 2024
1b84a48
Changed the error to more understandable when the region code isn't set
a2ush Feb 10, 2024
fade871
Merge pull request #7523 from a2ush/fix
yuxiang-zhang Feb 12, 2024
d9d55c2
Fix checks for updated addon versions
mttrb Jan 11, 2024
647874e
Merge pull request #7471 from mttrb/fix_addon_versions
yuxiang-zhang Feb 14, 2024
6c73af1
Extract common steps setting up build environment from workflows
yuxiang-zhang Feb 2, 2024
79e3f38
Disable slack notifications
yuxiang-zhang Feb 2, 2024
f5c0a54
Bump actions/cache from 3.3.2 to 4.0.0
yuxiang-zhang Feb 13, 2024
d07f0c3
Merge pull request #7551 from yuxiang-zhang/extract-setup-build
yuxiang-zhang Feb 14, 2024
2451626
Update userdocs dependencies
yuxiang-zhang Feb 14, 2024
f8e3d06
Update schema for new AMI family
yuxiang-zhang Feb 14, 2024
3ae9ae8
Update go dependencies
yuxiang-zhang Feb 14, 2024
f3b2eec
Bump k8s dependencies to v0.29
a-hilaly Feb 14, 2024
aa47542
Replace all deprecated sets.String with generic sets.Set
yuxiang-zhang Feb 15, 2024
2d16eaf
Update actions dependencies
yuxiang-zhang Feb 14, 2024
0cb2f05
Update build image manifest, tag file and workflows
yuxiang-zhang Feb 15, 2024
06029b0
Merge pull request #7554 from eksctl-io/bump-deps
yuxiang-zhang Feb 15, 2024
389f689
Update build image go version to 1.21
yuxiang-zhang Feb 15, 2024
123b48d
Merge pull request #7561 from eksctl-io/build-img
yuxiang-zhang Feb 15, 2024
b4d74c2
Revert removing RetryMetricsHeader in presigned requests
yuxiang-zhang Feb 16, 2024
d05aee2
Merge pull request #7563 from eksctl-io/revert-fix-presigned
yuxiang-zhang Feb 16, 2024
922ba42
Add release notes for 0.172.0
yuxiang-zhang Feb 16, 2024
65b338a
Merge pull request #7564 from yuxiang-zhang/update-release-notes
yuxiang-zhang Feb 16, 2024
7707c54
Revert misdeleted checkout step for publishing release
yuxiang-zhang Feb 16, 2024
024e22d
Add integ test without build target
yuxiang-zhang Feb 16, 2024
44c9e19
Remove unused slack token
yuxiang-zhang Feb 16, 2024
2d6ad0d
Merge pull request #7566 from yuxiang-zhang/update-workflows
yuxiang-zhang Feb 16, 2024
eb5dd44
Remove slackToken
yuxiang-zhang Feb 16, 2024
15a9f6e
Merge pull request #7570 from yuxiang-zhang/remove-slack-token
yuxiang-zhang Feb 16, 2024
7e82650
Prepare for next development iteration
eksctl-bot Feb 16, 2024
7447691
Merge pull request #7571 from eksctl-io/main-15a9f6e37
yuxiang-zhang Feb 21, 2024
8ef49ae
Bump dependencies for Dependabot alerts
dependabot[bot] Feb 21, 2024
0dd23e1
Fix generate-internal-groups.sh permission
yuxiang-zhang Feb 22, 2024
e88a717
Update dependencies
yuxiang-zhang Feb 22, 2024
f863aee
Merge pull request #7588 from eksctl-io/update-deps
yuxiang-zhang Feb 22, 2024
210f0ac
Make EKS 1.29 default
yuxiang-zhang Feb 3, 2024
1667a68
Merge pull request #7599 from yuxiang-zhang/default-1.29
yuxiang-zhang Feb 23, 2024
4b2179e
Automate PR with release notes draft
yuxiang-zhang Feb 23, 2024
f1fa4a1
Merge pull request #7604 from yuxiang-zhang/automate-release-draft
yuxiang-zhang Feb 27, 2024
75c95b1
Remove inline ELB and CloudWatch policies from Cluster Role (#7603)
ibnjunaid Feb 27, 2024
0318017
Update docs with Ubuntu 20.04 supported in EKS <= 1.29 (#7618)
rpocase Feb 27, 2024
b4af6fa
Bump github.com/cloudflare/circl from 1.3.3 to 1.3.7 (#7591)
dependabot[bot] Feb 27, 2024
6903772
Add profile flag support for get and delete access entry
yuxiang-zhang Feb 28, 2024
2f233fa
Merge pull request #7623 from yuxiang-zhang/add-profile-to-get-ae
yuxiang-zhang Feb 28, 2024
a294361
Fix caching credentials with assummed role MFA session
vutny Feb 29, 2024
7c62894
Merge pull request #7626 from vutny/fix-assume-role-session-duration
yuxiang-zhang Feb 29, 2024
1575882
Remove dependabot from contributors
yuxiang-zhang Feb 29, 2024
d0135d2
Merge pull request #7628 from yuxiang-zhang/tune-drafter
yuxiang-zhang Feb 29, 2024
aa4576a
Use eksctl-bot token for release draft PR (#7629)
yuxiang-zhang Feb 29, 2024
fb54247
Add release notes for v0.173.0
yuxiang-zhang Feb 29, 2024
a7ee893
Merge pull request #7619 from eksctl-io/update-release-notes
yuxiang-zhang Mar 1, 2024
90b3c3e
Prepare for next development iteration
eksctl-bot Mar 1, 2024
38ce9e6
Merge pull request #7631 from eksctl-io/main-a7ee89342
yuxiang-zhang Mar 1, 2024
fb3ec18
Bump peter-evans/create-pull-request to fix error in GH API
yuxiang-zhang Mar 1, 2024
3dad473
Merge pull request #7633 from yuxiang-zhang/bump-pr-action-version
yuxiang-zhang Mar 1, 2024
cbe870c
Update dependabot version updates frequency
yuxiang-zhang Mar 1, 2024
632768e
Merge pull request #7635 from eksctl-io/update-dependabot-config
yuxiang-zhang Mar 1, 2024
b6f24ff
Fix EFA network interface device index assignment
yuxiang-zhang Mar 12, 2024
22195e4
Merge pull request #7643 from yuxiang-zhang/fix-efa
yuxiang-zhang Mar 13, 2024
96006c8
Remove goreleaser from build deps
yuxiang-zhang Feb 28, 2024
7dbf272
Replace make build-all with goreleaser action
yuxiang-zhang Feb 28, 2024
04d3dac
Inline script files in publish release workflows
yuxiang-zhang Feb 28, 2024
4573609
Rename release workflows
yuxiang-zhang Feb 29, 2024
90e16ce
Merge pull request #7632 from yuxiang-zhang/enable-brew-pr
yuxiang-zhang Mar 14, 2024
9bb5780
Add release notes for v0.174.0
yuxiang-zhang Mar 14, 2024
4eb2b39
Merge pull request #7630 from eksctl-io/update-release-notes
yuxiang-zhang Mar 15, 2024
d3c6eaf
Fix typo in publish-release.yaml
yuxiang-zhang Mar 15, 2024
3c1a5c4
Merge pull request #7663 from eksctl-io/fix-typo
yuxiang-zhang Mar 15, 2024
419aebd
Prepare for next development iteration
eksctl-bot Mar 15, 2024
76902cd
Merge pull request #7664 from eksctl-io/main-3c1a5c4c2
yuxiang-zhang Mar 15, 2024
e1d1692
Upgrade with explicit version if release version is up-to-date
yuxiang-zhang Mar 19, 2024
febff8e
Test Bottlerocket node upgrade and verify version
yuxiang-zhang Mar 19, 2024
00c736d
Merge pull request #7666 from eksctl-io/fix-bottlerocket-upgrade
yuxiang-zhang Mar 21, 2024
5b28c17
Add release notes for v0.175.0 (#7669)
eksctl-bot Mar 22, 2024
1d18d74
Prepare for next development iteration (#7671)
eksctl-bot Mar 22, 2024
53aa373
Bump dependencies (#7668)
TiberiuGC Mar 22, 2024
78e6711
Aim for namespace uniqueness across parallel specs (#7680)
TiberiuGC Mar 22, 2024
42cab35
Include MixedInstancesPolicy LaunchTemplate for validation
yuxiang-zhang Mar 14, 2024
cfec0d9
Merge pull request #7661 from yuxiang-zhang/7644
yuxiang-zhang Mar 22, 2024
cdbbd6d
Allow GPU instance types for Windows nodes (#7681)
TiberiuGC Mar 27, 2024
025550a
Display full draft release notes in PR description (#7686)
qclaogui Mar 30, 2024
2ca7b65
Bump mkdocs version (#7696)
TiberiuGC Apr 2, 2024
f9475f8
Add support for AMIs based on AmazonLinux2023 (#7684)
TiberiuGC Apr 4, 2024
2addd3a
[EKSCTL create cluster command] Authorise self-managed nodes via `aws…
TiberiuGC Apr 4, 2024
66d1a5e
Enforce `authenticationMode:CONFIG_MAP` on Outposts (#7699)
TiberiuGC Apr 4, 2024
5b33f07
Add release notes for v0.176.0 (#7672)
eksctl-bot Apr 5, 2024
127757a
Prepare for next development iteration
eksctl-bot Apr 5, 2024
e747b99
Merge pull request #7701 from eksctl-io/main-5b33f073a
cPu1 Apr 8, 2024
3a00263
Bump dependencies
cPu1 Apr 8, 2024
33f60ef
Update build image tag
cPu1 Apr 8, 2024
d53aa6c
Merge pull request #7705 from cPu1/bump-deps
cPu1 Apr 8, 2024
0af6420
Bump dependencies
cPu1 Apr 16, 2024
ce836e8
Merge pull request #7712 from cPu1/bump-deps
cPu1 Apr 16, 2024
940b4bd
Fix arn build logic to support different aws partitions
timandy Apr 18, 2024
a6bc072
Merge pull request #7715 from timandy/main
cPu1 Apr 23, 2024
523605f
Fix reusing instanceRoleARN for nodegroups authorized with access ent…
Apr 15, 2024
e578254
Add note about deleting nodegroups
cPu1 Apr 15, 2024
c8be7d7
Add integration tests
cPu1 Apr 18, 2024
c2d8c80
Fix cluster deletion in tests
cPu1 Apr 22, 2024
752fded
Merge pull request #7707 from cPu1/accessentry-instance-role-arn
cPu1 Apr 24, 2024
00934fd
Allow nodegroup creation after a cluster subnet is deleted (#7714)
TiberiuGC Apr 24, 2024
9289bf8
Handle K8s service account lifecycle on `eksctl create/delete podiden…
TiberiuGC Apr 24, 2024
5cab628
Add support for Ubuntu Pro 22.04 based EKS images (#7711)
aciba90 Apr 24, 2024
5a63580
Disable IMDSv1 in unowned integration tests
cPu1 Apr 23, 2024
d35fa56
Merge pull request #7722 from cPu1/disable-imds-v1
cPu1 Apr 24, 2024
e80bb08
include pre-releases as full releases when drafting release notes
TiberiuGC Apr 24, 2024
2956a45
Merge pull request #7723 from TiberiuGC/improvement/include-pre-relea…
cPu1 Apr 25, 2024
c115419
Add utils command to migrate `iamidentitymappings` to EKS access entr…
punkwalker Apr 25, 2024
dfd89d8
Revert "[Release drafter] Treat RCs as full releases when drafting no…
TiberiuGC Apr 25, 2024
b17d037
Fix creating pod identities
cPu1 Apr 25, 2024
3a18083
Fix deleting pod identities
cPu1 Apr 25, 2024
c9ee358
Merge pull request #7727 from cPu1/fix-podidentity-creation
cPu1 Apr 25, 2024
119b4c4
Fix deleting clusters with a non-active status
cPu1 Apr 26, 2024
98e1228
Merge pull request #7728 from cPu1/fix-delete-cluster
cPu1 Apr 26, 2024
d648bc5
Add release notes for v0.177.0
TiberiuGC Apr 25, 2024
29a9324
update release notes for 0.177.0
TiberiuGC Apr 25, 2024
0229468
Merge pull request #7721 from eksctl-io/update-release-notes
cPu1 Apr 26, 2024
b788898
change purchase type to capacity block when using capacity reservation
evq Apr 29, 2024
f591565
Merge branch 'main' into capacity-block
hspencer77 Apr 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-all-distros-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ jobs:
message: ":ahhhhhhhhh: build-all-distros has failed"
channel: team-pitch-black
color: red
verbose: true
verbose: true
2 changes: 1 addition & 1 deletion .github/workflows/link-checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0
with:
go-version: 1.20.x
go-version: 1.21.x
cache: false
- name: Install doc dependencies
run: make install-site-deps
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ jobs:
message: ":ahhhhhhhhh: Docs publishing failed."
channel: team-pitch-black
color: red
verbose: true
verbose: true
101 changes: 0 additions & 101 deletions .github/workflows/test-and-build.yaml
Original file line number Diff line number Diff line change
@@ -1,102 +1 @@

name: test-and-build

on:
pull_request: {}
workflow_call: {}

jobs:
unit-test:
name: Unit tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b #v4.1.4
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0
with:
go-version: 1.20.x
cache: false
- name: Cache go-build and mod
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 #v4.0.2
with:
path: |
~/.cache/go-build/
~/go/pkg/mod/
key: go-${{ hashFiles('go.sum') }}
restore-keys: |
go-
- name: Setup deps
run: |
make install-build-deps
- name: Unit test
run: |
PATH=$PATH:$(go env GOPATH)/bin make build
PATH=$PATH:$(go env GOPATH)/bin make unit-test-no-generate
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
<<<<<<< HEAD
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b #v4.1.4
=======
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 #v4.1.2
>>>>>>> 3a0026362 (Bump dependencies)
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0
with:
go-version: 1.20.x
cache: false
- name: Cache go-build and mod
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 #v4.0.2
with:
path: |
~/.cache/go-build/
~/go/pkg/mod/
key: go-${{ hashFiles('go.sum') }}
restore-keys: |
go-
- name: Setup deps
run: |
make install-build-deps
- name: Lint
run: |
PATH=$PATH:$(go env GOPATH)/bin make lint
image:
name: Build and check image
runs-on: ubuntu-latest
steps:
- name: Checkout
<<<<<<< HEAD
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b #v4.1.4
=======
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 #v4.1.2
>>>>>>> 3a0026362 (Bump dependencies)
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0
with:
go-version: 1.20.x
cache: false
- name: Cache go-build and mod
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 #v4.0.2
with:
path: |
~/.cache/go-build/
~/go/pkg/mod/
key: go-${{ hashFiles('go.sum') }}
restore-keys: |
go-
- name: Setup deps
run: |
make install-build-deps
- name: build
run: |
PATH=$PATH:$(go env GOPATH)/bin make -f Makefile.docker check-build-image-manifest-up-to-date

3 changes: 3 additions & 0 deletions pkg/cfn/builder/managed_launch_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ func (m *ManagedNodeGroupResourceSet) makeLaunchTemplateData(ctx context.Context
CapacityReservationResourceGroupArn: valueOrNil(mng.CapacityReservation.CapacityReservationTarget.CapacityReservationResourceGroupARN),
}
}
tmp := "capacity-block"
launchTemplateData.InstanceMarketOptions = &gfnec2.LaunchTemplate_InstanceMarketOptions{}
launchTemplateData.InstanceMarketOptions.MarketType = valueOrNil(&tmp)
}

userData, err := m.bootstrapper.UserData()
Expand Down
9 changes: 6 additions & 3 deletions pkg/cfn/builder/nodegroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -451,9 +451,9 @@ func newLaunchTemplateData(ctx context.Context, n *NodeGroupResourceSet) (*gfnec
},
ImageId: gfnt.NewString(ng.AMI),
UserData: gfnt.NewString(userData),
MetadataOptions: makeMetadataOptions(n.spec.NodeGroupBase),
TagSpecifications: makeTags(n.spec.NodeGroupBase, n.clusterSpec.Metadata),
EnclaveOptions: &gfnec2.LaunchTemplate_EnclaveOptions{
MetadataOptions: makeMetadataOptions(ng.NodeGroupBase),
TagSpecifications: makeTags(ng.NodeGroupBase, n.options.ClusterConfig.Metadata),
EnclaveOptions: &gfnec2.LaunchTemplate_EnclaveOptions{
Enabled: gfnt.NewBoolean(n.spec.EnclaveEnabled),
},
}
Expand All @@ -473,6 +473,9 @@ func newLaunchTemplateData(ctx context.Context, n *NodeGroupResourceSet) (*gfnec
CapacityReservationResourceGroupArn: valueOrNil(ng.CapacityReservation.CapacityReservationTarget.CapacityReservationResourceGroupARN),
}
}
tmp := "capacity-block"
launchTemplateData.InstanceMarketOptions = &gfnec2.LaunchTemplate_InstanceMarketOptions{}
launchTemplateData.InstanceMarketOptions.MarketType = valueOrNil(&tmp)
}

if err := buildNetworkInterfaces(ctx, launchTemplateData, ng.InstanceTypeList(), api.IsEnabled(ng.EFAEnabled), n.securityGroups, n.ec2API); err != nil {
Expand Down
Loading