Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EKS controller]: can't change a size of instance in the node group #2210

Open
gecube opened this issue Nov 10, 2024 · 1 comment
Open

[EKS controller]: can't change a size of instance in the node group #2210

gecube opened this issue Nov 10, 2024 · 1 comment

Comments

@gecube
Copy link

gecube commented Nov 10, 2024

Good day!

I had an node group:

apiVersion: eks.services.k8s.aws/v1alpha1
kind: Nodegroup
metadata:
  name: production-fix-ng-20241010-b
  namespace: infra-production
spec:
  name: production-fix-ng-20241010-b
  clusterName: production
  diskSize: 100
  subnetRefs:
    - from:
        name: production-private-eu-west-2b
  nodeRole: arn:aws:iam::*****:role/eks-production-nodegroup-role
  scalingConfig:
    minSize: 1
    maxSize: 1
    desiredSize: 1
  instanceTypes:
    - m5.large
  taints:
    - key: "node-role.kubernetes.io/fix"
      value: ""
      effect: "NO_SCHEDULE"
  labels: {}
  amiType: BOTTLEROCKET_x86_64

Then I am changing the instance type:

apiVersion: eks.services.k8s.aws/v1alpha1
kind: Nodegroup
metadata:
  name: production-fix-ng-20241010-b
  namespace: infra-production
spec:
  name: production-fix-ng-20241010-b
  clusterName: production
  diskSize: 100
  subnetRefs:
    - from:
        name: production-private-eu-west-2b
  nodeRole: arn:aws:iam::*****:role/eks-production-nodegroup-role
  scalingConfig:
    minSize: 1
    maxSize: 1
    desiredSize: 1
  instanceTypes:
    - m5.large
  taints:
    - key: "node-role.kubernetes.io/fix"
      value: ""
      effect: "NO_SCHEDULE"
  labels: {}
  amiType: BOTTLEROCKET_x86_64

The node group is stuck:

status:
  ackResourceMetadata:
    arn: 'arn:aws:eks:eu-west-2:*****:nodegroup/production/production-fix-ng-20241010-b/48c98b02-726a-81e5-2958-d89886c0a63b'
    ownerAccountID: '*****'
    region: eu-west-2
  conditions:
    - lastTransitionTime: '2024-11-10T13:10:06Z'
      status: 'True'
      type: ACK.ReferencesResolved
    - lastTransitionTime: '2024-11-10T13:10:06Z'
      message: Nodegroup is currently being updated
      status: 'False'
      type: ACK.ResourceSynced
    - message: 'nodegroup has started asynchronously updating, cannot be modified until ''ACTIVE'''
      status: 'True'
      type: ACK.Recoverable
  createdAt: '2024-11-10T12:20:41Z'
  health: {}
  modifiedAt: '2024-11-10T13:09:56Z'
  resources:
    autoScalingGroups:
      - name: eks-production-fix-ng-20241010-b-48c98b02-726a-81e5-2958-d89886c0a63b
  status: ACTIVE
@gecube
Copy link
Author

gecube commented Nov 10, 2024

Unfortunately, I was forced to remove this node group, as no changes were introduced after 2h of awaiting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant