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

[pull] pull from awslabs:master #15

Open
wants to merge 621 commits into
base: pull
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
621 commits
Select commit Hold shift + click to select a range
6676005
Skip sandbox image pull if already present (#1090)
vpineda1996 Nov 22, 2022
f6c96de
Fix typo in comment (#1110)
vpineda1996 Nov 23, 2022
4305812
Add link to doc/USER_GUIDE.md (#1114)
cartermckinnon Dec 1, 2022
acf0d78
Remove aws_region and binary_bucket_region overrides (#1115)
cartermckinnon Dec 5, 2022
cb9c8a8
Lookup instanceId using IMDSv2 (#1116)
gezb Dec 9, 2022
f1bb10b
Handle indentation when parsing `sandbox_image` (#1119)
cartermckinnon Dec 10, 2022
c5a09be
Discover latest eksbuild version when caching container images (#1120)
bwagner5 Dec 10, 2022
d022ac2
Add cached images to version-info (#1122)
bwagner5 Dec 12, 2022
9c0da34
Document daemon.json change in GPU AMI (#1123)
cartermckinnon Dec 12, 2022
d4e0921
Add ECR accounts for eu-south-2, eu-central-2, ap-south-2 (#1125)
zaf6862 Dec 13, 2022
5da3eb7
Update to runc-1.1.4-1.amzn2 (#1124)
cartermckinnon Dec 13, 2022
671ed37
Fix runc_version typo (#1127)
cartermckinnon Dec 13, 2022
3e1c6c2
Do not cache addons images if none are available (#1133)
bwagner5 Dec 19, 2022
6b1df11
Update CHANGELOG for v20221222 (#1140)
cartermckinnon Dec 30, 2022
eab112a
Decrease launch_block_device_mappings_volume_size to 4 (#1143)
cartermckinnon Jan 4, 2023
6fefb50
AMI Release v20230105 (#1146)
cartermckinnon Jan 10, 2023
e2ef710
Cache image content without unpacking/snapshotting (#1144)
cartermckinnon Jan 10, 2023
b95c3e6
Use external cloud provider for EKS Local deployments (#1111)
vpineda1996 Jan 11, 2023
d0baa7a
Remove 1.20 (#1147)
Issacwww Jan 11, 2023
b798b4f
Clean up log collector SSM documents, README's (#1135)
guessi Jan 12, 2023
c0318da
Use runtime.slice for containerd runtime (#1051)
stevehipwell Jan 26, 2023
d498b68
Update max pods values (#1153)
jdn5126 Jan 26, 2023
292239b
Skip docker installation for Kubernetes 1.25+ (#1157)
cartermckinnon Jan 31, 2023
7f022ff
Update kubelet version and build date to 2023-01-11 (#1160)
Issacwww Jan 31, 2023
1eed59e
Uses IMDSv2 in log collector script (#1163)
mmerkes Jan 31, 2023
343e830
update CHANGELOG for AMI Release v20230127 (#1165)
Issacwww Feb 2, 2023
aafd2c6
Add C7g.metal, M7g, R7g instance (#1166)
Issacwww Feb 2, 2023
4b9b546
Revert "Use external cloud provider for EKS Local deployments" (#1167)
vpineda1996 Feb 3, 2023
3fb4010
Add ALAS issue workflow (#1158)
cartermckinnon Feb 3, 2023
ccf5b15
Upgrade 1.24 to kernel 5.10 (#1118)
cartermckinnon Feb 7, 2023
671ce3f
Enable PSI
cartermckinnon Jan 31, 2023
61f45dd
Pause after kernel upgrade
cartermckinnon Feb 7, 2023
da96ebc
Add 1.25 make target (#1173)
cartermckinnon Feb 7, 2023
ecc413a
Exclude docker from 1.25+ AMI metadata (#1174)
cartermckinnon Feb 7, 2023
6137856
Update CHANGELOG for release v20230203 (#1170)
mmerkes Feb 7, 2023
24f9081
Allow any KERNEL_VERSION (#1175)
cartermckinnon Feb 7, 2023
58bdc86
Version lock kernel (#1177)
Issacwww Feb 8, 2023
e32d368
Update max pods (#1178)
Issacwww Feb 8, 2023
1f8bb31
Add Action to generate eni-max-pods.txt (#1184)
cartermckinnon Feb 15, 2023
4319d22
Move eni-max-pods.txt Action to correct location (#1186)
cartermckinnon Feb 15, 2023
c242245
Updating kubelet versions and build date to 1-30 (#1187)
camrakin Feb 15, 2023
3a6a0c8
Set title and body of eni-max-pods PR's (#1190)
cartermckinnon Feb 16, 2023
8b10a76
Updating CHANGELOG for 1.25 Release (#1188)
camrakin Feb 17, 2023
2b75446
Version lock kernel after removing old kernels (#1191)
cartermckinnon Feb 17, 2023
77ca881
Mark v20230211 as recalled (#1192)
saurav-agarwalla Feb 17, 2023
fdb91d8
Update CHANGELOG for new AMI release (#1196)
prasad0896 Feb 22, 2023
f2ade62
Add `Using the AMI` (#1201)
cartermckinnon Feb 24, 2023
3731ff0
Add doc on version-locked packages (#1199)
cartermckinnon Feb 24, 2023
2fcd227
Add pause container accounts for ap-southeast-4, il-central-1 (#1204)
zaf6862 Feb 24, 2023
e3dee63
Disable eni-max-pods.txt workflow in forks (#1209)
cartermckinnon Mar 2, 2023
c893137
Add quotes to repository name (#1213)
cartermckinnon Mar 5, 2023
951c6ec
Validate package versionlocks (#1195)
cartermckinnon Mar 6, 2023
17e1e3d
Remove 1.21 (#1210)
cartermckinnon Mar 8, 2023
afea191
Add --update to AWS CLI installation (#1205)
joseeden Mar 8, 2023
1e3c108
Use --cloud-provider=external on 1.26+ (#1203)
cartermckinnon Mar 8, 2023
1f8ec9f
update CHANGELOG.md for v20230304 release (#1218)
Issacwww Mar 10, 2023
e989803
Update eni-max-pods.txt (#1194)
github-actions[bot] Mar 21, 2023
93b61ac
Update eni-max-pods.txt (#1226)
github-actions[bot] Mar 22, 2023
1d17dd0
Don't pass URL to --content (#1227)
cartermckinnon Mar 22, 2023
ec01efc
Collect logs for fsx & file-cache (#1232)
jacobwolfaws Mar 27, 2023
1dde199
Update binaries to 2023-03-17 (#1233)
cartermckinnon Mar 28, 2023
e535e78
Add clean target to Makefile (#1236)
cartermckinnon Mar 28, 2023
4376066
Mount eBPF filesystem by default on 1.27+ (#1223)
cartermckinnon Mar 29, 2023
0e5fa87
AMI Release v20230322 (#1238)
cartermckinnon Mar 30, 2023
fbb0ded
Always configure kubelet to use external ecr-credential-provider (#1240)
cartermckinnon Mar 30, 2023
d664255
Use default kubelet API QPS for 1.27+ (#1241)
tzneal Mar 30, 2023
a22169e
Add 1.26 (#1246)
cartermckinnon Apr 3, 2023
2252d0b
Remove --container-runtime kubelet flag for 1.27+ (#1250)
cartermckinnon Apr 4, 2023
9ea1a7a
Use gp3 volume_type for 1.27+ (#1197)
cartermckinnon Apr 4, 2023
f9fa3f6
Adding inf2 and trn1n instances (#1251)
ljosyula Apr 5, 2023
8875417
Create KUBELET_ARGS dropin after configuration container runtime (#1257)
cartermckinnon Apr 5, 2023
8d7078a
Install latest containerd 1.6.x (#1247)
cartermckinnon Apr 5, 2023
e02ca98
Remove stale issue workflow (#1256)
cartermckinnon Apr 7, 2023
e56aa65
Parameterize Packer template and default variable file (#1252)
cartermckinnon Apr 7, 2023
1efc3d6
Updating CHANGELOG.MD for 1.26 Release (#1260)
camrakin Apr 8, 2023
9456c6a
Add ethtool (#1261)
tzneal Apr 10, 2023
db6ba55
Override hostname to match EC2's PrivateDnsName (#1264)
cartermckinnon Apr 19, 2023
42c3f52
Use credential provider API v1 in 1.27+, v1alpha1 in 1.26- (#1269)
cartermckinnon Apr 19, 2023
76c1b1b
AMI Release v20230411 (#1270)
zaf6862 Apr 20, 2023
0711325
Fix mount-bpf-fs test cases (#1271)
guessi Apr 20, 2023
e39d71f
Keep actions up-to-date (#1243)
guessi Apr 20, 2023
406954d
Make imds-token directory world-writeable (#1267)
cartermckinnon Apr 21, 2023
1ec4d5c
Improve bootstrap logging (#1276)
cartermckinnon Apr 24, 2023
fcfca67
add bootstrap option to create a local NVMe raid0 or individual volum…
bwagner5 Apr 25, 2023
a6f7186
Define region so CLI uses correct endpoint for localzones (#1284)
cartermckinnon Apr 26, 2023
3986eb0
Add pigz (#1283)
steved Apr 27, 2023
f247c96
Adding inf2 and trn1n instances (#1290)
ljosyula May 2, 2023
c70686c
Update CHANGELOG.md (#1292)
ljosyula May 4, 2023
3e40a8b
Upgrades docker to 20.10.23-1.amzn2.0.1 (#1293)
mmerkes May 5, 2023
e4dd2ab
Updating instance type for AMI build and making changes for us-iso-we…
ljosyula May 8, 2023
59212d4
Fix ECR pattern for aws-cn (#1280)
cartermckinnon May 9, 2023
f68e0e6
Fix imds setting for multiple enis on ipv6 (#1275)
willgleich May 9, 2023
2bf3293
Revert gp3 volume_type due to lack of Local Zone support (#1295)
cartermckinnon May 11, 2023
0719460
fix: add local-disk info log and fix typo (#1298)
bwagner5 May 12, 2023
0de475c
Update eni-max-pods.txt (#1296)
github-actions[bot] May 12, 2023
e2618f9
Update Makefile for 2023-05-11 Binaries (#1300)
camrakin May 12, 2023
7465fc8
AMI Release v20230509 (#1299)
zaf6862 May 13, 2023
3e27dbc
Update CHANGELOG for AMI Release v20230513 (#1305)
camrakin May 18, 2023
63334e8
Collect vpc-bridge CNI conf on Windows (#1306)
KlwntSingh May 19, 2023
43cc459
Collect Karpenter user-data.log (#1310)
cartermckinnon May 24, 2023
8369d06
Update managed policy name for SSM (#1311)
cartermckinnon May 26, 2023
cee3aad
Update CHANGELOG.md `v20230526` release (#1314)
mmerkes Jun 1, 2023
4878306
Updates runc to 1.1.5 (#1319)
mmerkes Jun 7, 2023
3cd35c7
Updating changelog for release (#1323)
ravisinha0506 Jun 10, 2023
05f1146
Mount bpffs by default on 1.25+ (#1320)
cartermckinnon Jun 14, 2023
6412bee
Add configurable working directory (#1231)
cartermckinnon Jun 16, 2023
7c45dde
Update eni-max-pods.txt (#1330)
github-actions[bot] Jun 23, 2023
056e31f
Use recommended clocksources (#1328)
cartermckinnon Jun 29, 2023
fac5ae3
Update CHANGELOG.md for v20230703 AMI release (#1337)
xr1776 Jul 6, 2023
2ae9f65
Update CHANGELOG.md (#1338)
xr1776 Jul 6, 2023
fdee26a
Add logging for aws managed csi drivers (#1336)
jacobwolfaws Jul 7, 2023
b21ce6e
Update CHANGELOG.md latest AMI release notes to highlight this was la…
prasad0896 Jul 7, 2023
453da19
Removing 1.22 from Makefile (#1343)
camrakin Jul 7, 2023
6ab0808
Generate version info for cached images only when is active (#1341)
cartermckinnon Jul 7, 2023
2e92ea0
Remove region names from us-iso/us-isob credential provider config (#…
prasad0896 Jul 10, 2023
070ddc3
Amazon Linux 2023 proof-of-concept (#1340)
dims Jul 10, 2023
f9da7e7
Remove hardcoded pull_cni_from_github var (#1346)
cartermckinnon Jul 11, 2023
d31fc7a
Remove sonobuoy_e2e_registry (#1249)
cartermckinnon Jul 11, 2023
44d652f
Revert "avoid hard coding provisioner index array" (#1347)
dims Jul 12, 2023
b408291
Update sync-eni-max-pods.yaml role ARN (#1350)
cartermckinnon Jul 13, 2023
6ff42cf
Add CodeCommit sync action (#1351)
cartermckinnon Jul 13, 2023
a819875
update core CNI plugins version (#1308)
jdn5126 Jul 14, 2023
91c6002
Update internal build config (#1353)
cartermckinnon Jul 14, 2023
40c96b7
Update binary references (#1355)
prasad0896 Jul 17, 2023
b1b8bd6
Update CHANGELOG.md for 20230711 AMI release (#1357)
prasad0896 Jul 18, 2023
80dd9e5
Enable discard_unpacked_layers by default (#1360)
cartermckinnon Jul 20, 2023
9307b07
Mount bpffs on all supported Kubernetes versions (#1349)
cartermckinnon Jul 20, 2023
8d68370
Cleanup /var/log/audit (#1363)
cartermckinnon Jul 21, 2023
55cbc55
Use GitHub bot user as committer/author (#1366)
cartermckinnon Jul 27, 2023
e91cf9f
Update eni-max-pods.txt (#1365)
github-actions[bot] Aug 1, 2023
d0db8b2
Update CHANGELOG.md for 20230728 AMI release (#1371)
Issacwww Aug 1, 2023
b15ebe1
Update eni-max-pods.txt (#1373)
github-actions[bot] Aug 3, 2023
4f89179
Install latest amazon-ssm-agent from S3 (#1370)
vincentmrg Aug 4, 2023
30ccd21
Do not set KubeletCredentialProviders feature flag for 1.28+ (#1375)
camrakin Aug 4, 2023
bf391c8
Fix bug in var doc gen (#1378)
cartermckinnon Aug 7, 2023
3ef7e96
Generate docs for GitHub Pages (#1379)
cartermckinnon Aug 7, 2023
dc68dc4
Add write permissions to deploy-docs workflow (#1381)
cartermckinnon Aug 7, 2023
c2cf65d
Force-push docs to gh-pages (#1382)
cartermckinnon Aug 7, 2023
95f1141
Cache IMDS tokens per-user (#1386)
cartermckinnon Aug 15, 2023
0ff39d4
Install latest runc 1.1.* (#1384)
cartermckinnon Aug 15, 2023
1f49248
Update eni-max-pods.txt (#1388)
github-actions[bot] Aug 16, 2023
865f9f2
Update binary build dates (#1390)
cartermckinnon Aug 16, 2023
bc2c80c
Fetch new IMDS token for every request (#1395)
cartermckinnon Aug 17, 2023
9d6e2a8
Update CHANGELOG for v20230816 (#1396)
cartermckinnon Aug 18, 2023
ec2aaf6
Update eni-max-pods.txt (#1397)
github-actions[bot] Aug 22, 2023
f74b8e6
Update Makefile with latest binaries (#1403)
prasad0896 Aug 23, 2023
4bae289
Add CI bot (#1402)
cartermckinnon Aug 25, 2023
7e3dc9b
Disable janitor in forks (#1407)
cartermckinnon Aug 25, 2023
93203d9
Add note about bot authorization (#1406)
cartermckinnon Aug 26, 2023
e0a5372
noproxy for direct communication to apiserver and timeouts of 3 secon…
ajohnstone Aug 29, 2023
b882d0a
Update CHANGELOG.md for 20230825 AMI release (#1408)
wwvela Aug 30, 2023
477759a
Allow --reserved-cpus kubelet arg to be used (#1405)
raghs-aws Aug 30, 2023
b07e59a
Install kernel-headers, kernel-devel (#1302)
cartermckinnon Aug 31, 2023
da0c7f5
Handle eventually-consistent PrivateDnsName (#1383)
cartermckinnon Aug 31, 2023
7c168c0
Add .git-commit to archivebuild (#1411)
cartermckinnon Aug 31, 2023
45a7f30
Use archivebuild-wrapper system (#1413)
cartermckinnon Sep 1, 2023
83facb6
Discover .git-commit from environment (#1418)
cartermckinnon Sep 1, 2023
c36daaf
Update eni-max-pods.txt (#1423)
github-actions[bot] Sep 8, 2023
524a566
Update eni-max-pods.txt (#1424)
github-actions[bot] Sep 12, 2023
34ea940
Require builder instance to use IMDSv2 (#1422)
wongma7 Sep 12, 2023
20ce145
Add release note config (#1426)
cartermckinnon Sep 12, 2023
a32f4dd
Update eni-max-pods.txt (#1429)
github-actions[bot] Sep 15, 2023
4462356
Use 2023-09-14 binaries, add 1.28 target (#1431)
ndbaker1 Sep 18, 2023
3b3487d
Update eni-max-pods.txt (#1432)
github-actions[bot] Sep 19, 2023
d028dee
Set pid_max to 4194304 (#1434)
cartermckinnon Sep 21, 2023
2b5e6ee
Install nerdctl (#1321)
ddl-retornam Sep 21, 2023
6f68d59
Update CHANGELOG.md for 20230919 AMI release (#1439)
ndbaker1 Sep 23, 2023
5d5db2f
bump latest Kubernetes build target version (#1440)
ndbaker1 Sep 23, 2023
be7bc10
fix: Tag cached image with the ECR URI for the target region (#1442)
bryantbiggs Sep 27, 2023
4cc2ed2
Add H100 into gpu clock (#1447)
Issacwww Sep 29, 2023
371a234
bug: incorrect region variable name (#1449)
ljosyula Oct 2, 2023
a92c481
Update eni-max-pods.txt (#1452)
github-actions[bot] Oct 5, 2023
79c0b64
Update CHANGELOG.md for 20231002 AMI release (#1456)
ljosyula Oct 6, 2023
1dc843d
Build with latest binaries by default (#1391)
cartermckinnon Oct 7, 2023
fae39c4
Fix region in cached image names (#1461)
cartermckinnon Oct 10, 2023
1c9e032
Add 1.28 to CI (#1464)
cartermckinnon Oct 10, 2023
1f04e26
Add optional FIPS support (#1458)
AlexSchultz-clumio Oct 11, 2023
a989821
Set remote_folder on all shell provisioners (#1462)
julienbaladier Oct 11, 2023
4835c67
Pull eksctl supported versions for CI (#1465)
ndbaker1 Oct 11, 2023
5b54e37
Add CHANGELOG entry placeholder (#1466)
cartermckinnon Oct 11, 2023
915ce22
Add named arguments to bot commands (#1463)
cartermckinnon Oct 12, 2023
14fb76d
get-ecr-uri.sh falls back to use another region in partition if regio…
mmerkes Oct 13, 2023
54795f7
Force delete CI clusters, don't wait for pod eviction (#1472)
cartermckinnon Oct 13, 2023
5b8b129
Add CHANGELOG workflow for new releases (#1467)
cartermckinnon Oct 14, 2023
b5138d2
Allow more flexible kernel_version (#1469)
cartermckinnon Oct 16, 2023
bf1203c
Add r7i to eni-max-pods.txt (#1473)
github-actions[bot] Oct 17, 2023
7b1ff22
Fix containerd slice configuration (#1437)
reegnz Oct 18, 2023
dc273ea
Correctly tag cached images for us-gov-west-1 FIPS endpoint (#1476)
donovanrost Oct 18, 2023
bde408b
Lint space errors (#1121)
cartermckinnon Oct 19, 2023
bd6844d
Ignore commit to address space errors (#1478)
cartermckinnon Oct 19, 2023
dbf0d15
Collect more info about Amazon VPC CNI (#1245)
guessi Oct 20, 2023
a181b02
Update eni-max-pods.txt (#1485)
github-actions[bot] Oct 26, 2023
967fb36
Fail fast if we cannot determine kubelet version (#1484)
dims Oct 26, 2023
094c797
Persist CI version-info.json as artifact (#1493)
cartermckinnon Oct 26, 2023
78983e5
Add new i4i sizes to eni-max-pods.txt (#1495)
github-actions[bot] Oct 27, 2023
b3207e0
Update eni-max-pods.txt (#1497)
github-actions[bot] Oct 30, 2023
d61b307
Drop the FIPS related provisioners for al2023 (#1499)
dims Oct 31, 2023
7e6c213
Set nerdctl default namespace to k8s.io (#1488)
reegnz Nov 1, 2023
2980eaf
Update CHANGELOG.md for release v20231027 (#1502)
github-actions[bot] Nov 2, 2023
ea2e73b
Skip installing amazon-ssm-agent if already present (#1501)
pjaudiomv Nov 2, 2023
698e53e
Exclude automated eni-max-pods.txt PR's from release notes (#1498)
cartermckinnon Nov 6, 2023
958d48e
Remove extraneous space character (#1505)
cartermckinnon Nov 6, 2023
c73b273
Update CHANGELOG.md (#1507)
github-actions[bot] Nov 9, 2023
4a6b51e
Update CHANGELOG.md to fix docker version (#1511)
mmerkes Nov 9, 2023
e7f95af
Update docker to the latest 20.10 version (#1510)
mmerkes Nov 9, 2023
e992010
Changelog entry format tweaks (#1508)
cartermckinnon Nov 9, 2023
872f550
Document how to collect UserData (#1504)
edmondceausu Nov 15, 2023
e566fe0
Update eni-max-pods.txt (#1518)
github-actions[bot] Nov 16, 2023
8c5b9f6
Update CHANGELOG.md for release v20231116 (#1521)
github-actions[bot] Nov 17, 2023
1c779bf
Add check for ecr-fips endpoint availability (#1524)
cartermckinnon Nov 21, 2023
fc8815c
Miscellaneous fixes from AL2023 testing (#1528)
dims Nov 24, 2023
8b87d03
fix Permission denied for 99-default.link (#1529)
dims Nov 25, 2023
bfb9f10
Install SSM agent from AL core repo by default (#1531)
cartermckinnon Nov 29, 2023
90c57ff
Update to `containerd` 1.7 (#1516)
cartermckinnon Nov 30, 2023
fb87d58
Capture logs for EKS Pod Identity Agent (#1533)
JoeNorth Nov 30, 2023
6866d4c
Update CHANGELOG.md for release v20231201 (#1538)
github-actions[bot] Dec 7, 2023
aaf1aa7
AL2023 networking changes for VPC CNI compatibility (#1539)
jdn5126 Dec 7, 2023
e098953
Set containerd LimitNOFILE to recommended value (#1535)
cartermckinnon Dec 7, 2023
b5cdeb6
fix networkd settings (#1540)
jdn5126 Dec 7, 2023
e65bc14
Update get-ecr-uri.sh with ca-west-1 account (#1542)
mmerkes Dec 11, 2023
e9f135e
Install amazon packer plugin for CI (#1545)
cartermckinnon Dec 13, 2023
72aa58b
Fix flag typo in logging (#1547)
ketozhang Dec 17, 2023
c5ff1ca
Update CHANGELOG.md for release v20231220 (#1550)
github-actions[bot] Dec 22, 2023
569c6b1
Revert "Set containerd LimitNOFILE to recommended value (#1535)" (#1552)
mmerkes Dec 22, 2023
e4e596d
Update CHANGELOG.md for release v20231230 (#1555)
github-actions[bot] Jan 3, 2024
bda2109
Update CHANGELOG.md for release v20240110 (#1567)
github-actions[bot] Jan 12, 2024
632a6dd
Sync `al2023` branch to CodeCommit (#1571)
cartermckinnon Jan 12, 2024
76fac7f
Update CHANGELOG.md for release v20240117 (#1585)
github-actions[bot] Jan 19, 2024
616bdda
Update example build command (#1598)
cartermckinnon Jan 29, 2024
ea542d1
Update CI to use k8s arg to make command (#1602)
cartermckinnon Jan 30, 2024
d9abb3c
Update CHANGELOG.md for release v20240129 (#1607)
github-actions[bot] Jan 31, 2024
824c55e
Pull sandbox image periodically (#1601)
cartermckinnon Jan 31, 2024
6044c59
Revert "Pull sandbox image periodically (#1601)" (#1611)
cartermckinnon Feb 1, 2024
7fa037a
Use crictl to pull sandbox image (#1605)
cartermckinnon Feb 1, 2024
41dfa22
Remove sandbox image from build-time cache (#1615)
cartermckinnon Feb 2, 2024
7d6230e
Update CHANGELOG.md for release v20240202 (#1622)
github-actions[bot] Feb 3, 2024
107df3f
Specify region for local zones during sandbox image ECR auth (#1626)
ndbaker1 Feb 5, 2024
baef6f0
Fix CHANGELOG space errors (#1647)
cartermckinnon Feb 9, 2024
976fe67
harden pull-sandbox-image script (#1649)
ndbaker1 Feb 10, 2024
68d44ae
Sync main branch to CodeCommit (#1654)
cartermckinnon Feb 12, 2024
5d9020b
Add warning about default branch change (#1655)
cartermckinnon Feb 12, 2024
e988b53
Change docs branch to main (#1657)
cartermckinnon Feb 12, 2024
8bb63f5
Update CHANGELOG.md for release v20240209 (#1660)
github-actions[bot] Feb 13, 2024
202ea4c
Remove documentation workflow from master (#1664)
cartermckinnon Feb 14, 2024
5c6d0e0
Update CHANGELOG.md for release v20240213 (#1668)
github-actions[bot] Feb 19, 2024
8d7b5f8
Collect Network Policy ebpf data from log collector script (#1595)
jaydeokar Feb 22, 2024
b72281c
Update warning about branch migration (#1695)
cartermckinnon Feb 29, 2024
69a3570
Update CHANGELOG.md for release v20240227 (#1694)
github-actions[bot] Mar 1, 2024
af90671
Update eks-log-collector.sh to support iptables-legacy (#1427)
JonTheNiceGuy Mar 6, 2024
73c1814
fix(log-collector): add `ok` to `get_modinfo` and `get_ipamd_info` fu…
wafuwafu13 Mar 6, 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
Prev Previous commit
Next Next commit
Do not cache addons images if none are available (awslabs#1133)
bwagner5 authored Dec 19, 2022
commit 3e1c6c2c421be1e3b0b46f5bce7ac28c9b6123fb
69 changes: 41 additions & 28 deletions scripts/install-worker.sh
Original file line number Diff line number Diff line change
@@ -393,41 +393,54 @@ if [[ "$CACHE_CONTAINER_IMAGES" == "true" && "$BINARY_BUCKET_REGION" != "us-iso-
sudo systemctl enable containerd sandbox-image

K8S_MINOR_VERSION=$(echo "${KUBERNETES_VERSION}" | cut -d'.' -f1-2)
KUBE_PROXY_ADDON_VERSIONS=$(aws eks describe-addon-versions --addon-name kube-proxy --kubernetes-version=${K8S_MINOR_VERSION})

DEFAULT_KUBE_PROXY_FULL_VERSION=$(echo "${KUBE_PROXY_ADDON_VERSIONS}" | jq -r '.addons[] .addonVersions[] | select(.compatibilities[] .defaultVersion==true).addonVersion')
DEFAULT_KUBE_PROXY_VERSION=$(echo "${DEFAULT_KUBE_PROXY_FULL_VERSION}" | cut -d"-" -f1)
DEFAULT_KUBE_PROXY_PLATFORM_VERSION=$(echo "${DEFAULT_KUBE_PROXY_FULL_VERSION}" | cut -d"-" -f2)

LATEST_KUBE_PROXY_FULL_VERSION=$(echo "${KUBE_PROXY_ADDON_VERSIONS}" | jq -r '.addons[] .addonVersions[] .addonVersion' | sort -V | tail -n1)
LATEST_KUBE_PROXY_VERSION=$(echo "${LATEST_KUBE_PROXY_FULL_VERSION}" | cut -d"-" -f1)
LATEST_KUBE_PROXY_PLATFORM_VERSION=$(echo "${LATEST_KUBE_PROXY_FULL_VERSION}" | cut -d"-" -f2)
#### Cache kube-proxy images starting with the addon default version and the latest version
KUBE_PROXY_ADDON_VERSIONS=$(aws eks describe-addon-versions --addon-name kube-proxy --kubernetes-version=${K8S_MINOR_VERSION})
KUBE_PROXY_IMGS=()
if [[ $(jq '.addons | length' <<< $KUBE_PROXY_ADDON_VERSIONS) -gt 0 ]]; then
DEFAULT_KUBE_PROXY_FULL_VERSION=$(echo "${KUBE_PROXY_ADDON_VERSIONS}" | jq -r '.addons[] .addonVersions[] | select(.compatibilities[] .defaultVersion==true).addonVersion')
DEFAULT_KUBE_PROXY_VERSION=$(echo "${DEFAULT_KUBE_PROXY_FULL_VERSION}" | cut -d"-" -f1)
DEFAULT_KUBE_PROXY_PLATFORM_VERSION=$(echo "${DEFAULT_KUBE_PROXY_FULL_VERSION}" | cut -d"-" -f2)

LATEST_KUBE_PROXY_FULL_VERSION=$(echo "${KUBE_PROXY_ADDON_VERSIONS}" | jq -r '.addons[] .addonVersions[] .addonVersion' | sort -V | tail -n1)
LATEST_KUBE_PROXY_VERSION=$(echo "${LATEST_KUBE_PROXY_FULL_VERSION}" | cut -d"-" -f1)
LATEST_KUBE_PROXY_PLATFORM_VERSION=$(echo "${LATEST_KUBE_PROXY_FULL_VERSION}" | cut -d"-" -f2)

KUBE_PROXY_IMGS=(
## Default kube-proxy images
"${ECR_URI}/eks/kube-proxy:${DEFAULT_KUBE_PROXY_VERSION}-${DEFAULT_KUBE_PROXY_PLATFORM_VERSION}"
"${ECR_URI}/eks/kube-proxy:${DEFAULT_KUBE_PROXY_VERSION}-minimal-${DEFAULT_KUBE_PROXY_PLATFORM_VERSION}"

## Latest kube-proxy images
"${ECR_URI}/eks/kube-proxy:${LATEST_KUBE_PROXY_VERSION}-${LATEST_KUBE_PROXY_PLATFORM_VERSION}"
"${ECR_URI}/eks/kube-proxy:${LATEST_KUBE_PROXY_VERSION}-minimal-${LATEST_KUBE_PROXY_PLATFORM_VERSION}"
)
fi

#### Cache VPC CNI images starting with the addon default version and the latest version
VPC_CNI_ADDON_VERSIONS=$(aws eks describe-addon-versions --addon-name vpc-cni --kubernetes-version=${K8S_MINOR_VERSION})
DEFAULT_VPC_CNI_VERSION=$(echo "${VPC_CNI_ADDON_VERSIONS}" | jq -r '.addons[] .addonVersions[] | select(.compatibilities[] .defaultVersion==true).addonVersion')
LATEST_VPC_CNI_VERSION=$(echo "${VPC_CNI_ADDON_VERSIONS}" | jq -r '.addons[] .addonVersions[] .addonVersion' | sort -V | tail -n1)
CNI_IMG="${ECR_URI}/amazon-k8s-cni"
CNI_INIT_IMG="${CNI_IMG}-init"
VPC_CNI_IMGS=()
if [[ $(jq '.addons | length' <<< $VPC_CNI_ADDON_VERSIONS) -gt 0 ]]; then
DEFAULT_VPC_CNI_VERSION=$(echo "${VPC_CNI_ADDON_VERSIONS}" | jq -r '.addons[] .addonVersions[] | select(.compatibilities[] .defaultVersion==true).addonVersion')
LATEST_VPC_CNI_VERSION=$(echo "${VPC_CNI_ADDON_VERSIONS}" | jq -r '.addons[] .addonVersions[] .addonVersion' | sort -V | tail -n1)
CNI_IMG="${ECR_URI}/amazon-k8s-cni"
CNI_INIT_IMG="${CNI_IMG}-init"

VPC_CNI_IMGS=(
## Default VPC CNI Images
"${CNI_IMG}:${DEFAULT_VPC_CNI_VERSION}"
"${CNI_INIT_IMG}:${DEFAULT_VPC_CNI_VERSION}"

## Latest VPC CNI Images
"${CNI_IMG}:${LATEST_VPC_CNI_VERSION}"
"${CNI_INIT_IMG}:${LATEST_VPC_CNI_VERSION}"
)
fi

CACHE_IMGS=(
"${PAUSE_CONTAINER}"

## Default kube-proxy images
"${ECR_URI}/eks/kube-proxy:${DEFAULT_KUBE_PROXY_VERSION}-${DEFAULT_KUBE_PROXY_PLATFORM_VERSION}"
"${ECR_URI}/eks/kube-proxy:${DEFAULT_KUBE_PROXY_VERSION}-minimal-${DEFAULT_KUBE_PROXY_PLATFORM_VERSION}"

## Latest kube-proxy images
"${ECR_URI}/eks/kube-proxy:${LATEST_KUBE_PROXY_VERSION}-${LATEST_KUBE_PROXY_PLATFORM_VERSION}"
"${ECR_URI}/eks/kube-proxy:${LATEST_KUBE_PROXY_VERSION}-minimal-${LATEST_KUBE_PROXY_PLATFORM_VERSION}"

## Default VPC CNI Images
"${CNI_IMG}:${DEFAULT_VPC_CNI_VERSION}"
"${CNI_INIT_IMG}:${DEFAULT_VPC_CNI_VERSION}"

## Latest VPC CNI Images
"${CNI_IMG}:${LATEST_VPC_CNI_VERSION}"
"${CNI_INIT_IMG}:${LATEST_VPC_CNI_VERSION}"
${KUBE_PROXY_IMGS[@]+"${KUBE_PROXY_IMGS[@]}"}
${VPC_CNI_IMGS[@]+"${VPC_CNI_IMGS[@]}"}
)
PULLED_IMGS=()