Closed drmaciej closed 1 year ago
@drmaciej
I am also facing the similar issue with the above problem as my image is set to registry.k8s.io/autoscaling/cluster-autoscaler:v1.21.0
.
@bryantbiggs I tried without using the pre-flight checks also but its not working.
eksupgrade cluster_name cluster_version region
ERROR: Error occurred while checking for the cluster autoscaler - Error: list index out of range
Pre flight unsuccessful because of the following errors: ['To upgrade please run the code with --force flag ', 'Error occurred while checking for the cluster autoscaler list index out of range']
Pre-flight check for cluster NonProd-Movies-Cluster targeting version: 1.21 failed!
@bryantbiggs Can share with the command for updating the same . As I uninstall and installed it again but the version is still 0.8.3 .
Once a new release is created, you can upgrade to the next version which will not have this issue
@bryantbiggs When will you release it as I need it asap.
we should be able to get a release out today - cc @mbeacom
Expected Behaviour
No exception thrown, both old and new registry handled.
Current Behaviour
Snippet of the output when running
eksupgrade drmaciej-cluster 1.26 ap-southeast-2 --preflight
It appears that the exception is thrown in
because my image is set to
registry.k8s.io/autoscaling/cluster-autoscaler:v1.25.0
.k8s.gcr.io
is about to be sunset and new images are not published there. For instance, the latest publish CA images are on the new registry already (see https://github.com/kubernetes/autoscaler/releases)Code snippet
Possible Solution
No response
Steps to Reproduce
Detailed in "Current Behaviour"
Amazon EKS upgrade version
1.25 to 1.26
Python runtime version
3.9
Packaging format used
PyPi
Debugging logs
No response