aws-samples / eks-cluster-upgrade

Automated Amazon EKS cluster upgrade
MIT No Attribution
154 stars 34 forks source link

Bug: Node upgrade of Amazon Linux from 1.21 to 1.22 #106

Closed VijayganeshSubramaniam closed 1 year ago

VijayganeshSubramaniam commented 1 year ago

Expected Behaviour

Upgrading from 1.21 to 1.22 , node groups are creating but not attached the cluster. Expectation the eksctl nodegroup cmd file required have overrideBootstrapCommand with below detail then only it would attached to the cluster.

As per the announcement https://eksctl.io/announcements/nodegroup-override-announcement/

Current Behaviour

May be overrideBootstrapCommand is missing as part of eksctl nodegroup cmd file so it is not attaching to the cluster.

Code snippet

overrideBootstrapCommand: '#!/bin/bash

    source /var/lib/cloud/scripts/eksctl/bootstrap.helper.sh

    /etc/eks/bootstrap.sh CLUSTER_NAME --kubelet-extra-args "--node-labels=${NODE_LABELS} "'

Possible Solution

No response

Steps to Reproduce

upgrade eks-cluster-upgrade of cluster 1.21 of amazon linux 2 instances

Amazon EKS upgrade version

latest

Python runtime version

3.10

Packaging format used

Git clone

Debugging logs

NA
quixoticmonk commented 1 year ago

Thank you for opening the issue on this @VijayganeshSubramaniam . Reviewing this.

github-actions[bot] commented 1 year ago

This issue has not received any attention in 30 days. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.