awslabs/amazon-eks-ami

Missing kubelet binary in amazon-eks bucket for 1.24.17

Closed this issue · 4 comments

What happened:
Issue #1888 documented all linux binaries missing for a certain k8s version. This issue is that some linux binaries currently exist for 1.24.17, but not all of them. Without the kubelet binary, building this AMI will fail.

Do we need to check not only the availability of 'linux' but also the associated binaries? And the checksums?

aws s3 ls s3://amazon-eks/1.24.17/2024-07-12/bin/linux/amd64/

This #1889 has a fix to simply grep for linux, but that doesn't help if there are some linux binaries and not all linux binaries.

Using the latest-binaries.sh I still retriee 1.29.6/2024-07-12 as the latest.

aws s3api list-objects-v2 --bucket amazon-eks --prefix "1.29.6/2024-07-12/bin/linux/amd64"

But using the api it does have a linux directory but no kubelet.

We are adding them for in coming AM release, binaries should be there now, could you please verify the same on your end?

dims commented

@Issacwww here's what i see

❯ aws s3api list-objects-v2 --bucket amazon-eks --prefix "1.29.6/2024-07-12/bin/linux/amd64" | grep Key


            "Key": "1.29.6/2024-07-12/bin/linux/amd64/aws-iam-authenticator",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/aws-iam-authenticator.md5",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/aws-iam-authenticator.sha1",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/aws-iam-authenticator.sha256",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/cni-amd64-v0.6.0.tgz",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/cni-amd64-v0.6.0.tgz.md5",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/cni-amd64-v0.6.0.tgz.sha1",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/cni-amd64-v0.6.0.tgz.sha256",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/cni-plugins-linux-amd64-v1.2.0.tgz",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/cni-plugins-linux-amd64-v1.2.0.tgz.md5",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/cni-plugins-linux-amd64-v1.2.0.tgz.sha1",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/cni-plugins-linux-amd64-v1.2.0.tgz.sha256",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/ecr-credential-provider",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/ecr-credential-provider.md5",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/ecr-credential-provider.sha1",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/ecr-credential-provider.sha256",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/kube-proxy",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/kube-proxy.md5",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/kube-proxy.sha1",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/kube-proxy.sha256",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/kubectl",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/kubectl.md5",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/kubectl.sha1",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/kubectl.sha256",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/kubelet",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/kubelet.md5",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/kubelet.sha1",
            "Key": "1.29.6/2024-07-12/bin/linux/amd64/kubelet.sha256",

I see kubelet in there now for 1.24.17 / 2024-07-12, along with the rest - thanks!