Avoid the situation when an outdated version of eksctl prevents starting a newer (unsupported by ekstl) version of K8s e.g. eksctl 0.20.0 and EKS 1.20 (ticket #25221)
[2021-08-17 19:46:08,793] [25987/MainThread] [INFO] [root] 2021-08-17T19:46:08Z [ℹ] eksctl version 0.20.0
..
[2021-08-17 19:46:08,793] [25987/MainThread] [INFO] [root] Error: invalid version, supported values: 1.13, 1.14, 1.15, 1.16
Goal
Avoid the situation when an outdated version of eksctl prevents starting a newer (unsupported by ekstl) version of K8s e.g. eksctl 0.20.0 and EKS 1.20 (ticket #25221)
Notes
current logic in def get_eksctl_or_fetch() present several issues:
DATA_DIR/tmp/local_eksctl/or system-wide withwhich eksctleksctl_$(uname -s)_amd64.tar.gznoteksctl.tar.gz