jshimko / kube-tools

A lightweight Docker image with various CLI tooling for working with Kubernetes.
https://cloud.docker.com/repository/docker/jshimko/kube-tools-aws
29 stars 23 forks source link

Seg fault on aws command #7

Open frederikcolardyn opened 2 years ago

frederikcolardyn commented 2 years ago

Since a week, we can no longer use this images in our gitlab ci/cd pipeline to deploy to kubernetes. Every aws command exits promptly with a segfault error. Prior to this week the image worked flawless.

Using image:

jshimko/kube-tools-aws:latest on Amazon Linux EKS optimized AMI 1.20.7-20210914

Output:

/bin/bash: line 177: 21 Segmentation fault (core dumped) aws eks --region $AWS_DEFAULT_REGION update-kubeconfig --name $EKS_CLUSTER

frederikcolardyn commented 2 years ago

Version 3.7.0 still works.

jshimko commented 2 years ago

I just tried this and it worked...

docker run -it \
  -e AWS_ACCESS_KEY_ID="<AWS key>" \
  -e AWS_SECRET_ACCESS_KEY="<AWS secret>" \
  -e AWS_DEFAULT_REGION="us-west-2" \
  jshimko/kube-tools-aws:3.8.0

aws eks list-clusters

aws eks update-kubeconfig --name $CLUSTER_NAME

kubectl get nodes

If it's still not working for you, can you try the 3.8.1 build I just pushed up. I just want to see if a dependency I updated in 3.8.0 had anything to do with your issue.