Skip to content

Commit

Permalink
eks: list nodegroup and modify nodegroup
Browse files Browse the repository at this point in the history
  • Loading branch information
mdminhazulhaque committed Jan 5, 2024
1 parent 1965055 commit f76330e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions eks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,24 @@ Generate KUBECONFIG for Cluster
.. code:: ini
Updated context arn:aws:eks:ap-southeast-1:987654321:cluster/devtest in /home/mdminhazulhaque/.kube/config
List NodeGroups for Cluster
---------------------------

.. code:: bash
aws eks list-nodegroups --cluster-name devtest
.. code:: ini
nodegroups:
- dev-nodes
- test-nodes
- argocd-nodes
Modify NodeGroups for Cluster
-----------------------------

.. code:: bash
aws eks update-nodegroup-config --cluster-name devtest --nodegroup-name dev-nodes --scaling-config minSize=1,desiredSize=5,maxSize=10

0 comments on commit f76330e

Please sign in to comment.