Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fail fast if we cannot determine kubelet version (#1484)
kubelet is likely to fail when there is a mismatch with GLIBC that is in the image vs the one golang uses to build the kubelet. So fail the image right away when this happens as this specific kubelet binary will NOT work in any instance started with this image. ``` 2023-10-25T10:11:38-04:00: amazon-ebs: kubelet: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by kubelet) 2023-10-25T10:11:38-04:00: amazon-ebs: kubelet: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by kubelet) ``` Signed-off-by: Davanum Srinivas <davanum@gmail.com>
- Loading branch information
967fb36
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had workaround to add
sudo
in front ofkubelet --version | awk '{print $2}
, the workaround was to modify the sh file, kind of hacking.Have raised {R here, however it looks like it will not get approved maybe.
https://github.com/awslabs/amazon-eks-ami/pull/1513/files
Maybe you could try the workaround?