cluster manage
delete eks
eksctl delete cluster --name cluster01 --wait

cluster ๋ฆฌ์คํธ๋ณด๊ธฐ
๊ธฐํ ์ฌ์ฉ๋ฒ
manage cluster
kubectl ์ฌ์ฉ
์ ์ฒด pod ๊ฐฏ์ :
๋ ธ๋๋น ๊ฐฏ์ (๋ ธ๋ ์ด๋ฆ์ ํ์ธํ ๋ ธ๋๋ณ๋ก ์ฒดํฌ)

max pod ๊ฐฏ์
๊ณต์์ ๋ค์๊ณผ ๊ฐ๋ค.
https://docs.aws.amazon.com/ko_kr/AWSEC2/latest/UserGuide/using-eni.html
์ฌ๊ธฐ์์ eni(์ต๋ ๋คํธ์ํฌ ์ธํฐํ์ด์ค ์) ํ๊ณ ์ธํฐํ์ด์ค๋น ํ๋ผ์ด๋ฐ ์ฃผ์ ์์ ์๋ค.
t3.small ๋ฅผ ์ฌ์ฉํ๋ฉด
๋ ธ๋๋น 11๊ฐ์ pod๋ฅผ ์ฌ์ฉํ ์ ์๋ค.
๋๊ตฐ๊ฐ๊ฐ ์ ๋ฆฌ๋ฅผ ํด์ ์ ์ด๋๊ฒ ์๋ค.
https://github.com/awslabs/amazon-eks-ami/blob/master/files/eni-max-pods.txt
์๋ ํ์์ ๊ฐ๊ฒฉ์ ๊ตฌํ ์ ์๋ค.
https://aws.amazon.com/ec2/pricing/on-demand

pod ๊ฐฏ์๋ฅผ ์ ํ์ธํด์ ์ด๋ ํ์ ์ด ํธํ๊ฑด์ง ๊ณ ๋ ค์ผํ ๋ฏํ๋ค.
node not ready status
node๊ฐ ๊ฐ์๊ธฐ not ready ์ํ์ด๋ค.
k9s๋ก ๋ ธ๋ ์ ํํ cordon ==> drain ==> delete๋ฅผ ์์๋๋ก ํด์ฃผ์๋ค. ๊ทธ๋ฌ๋ ์๋ก์ด ๋ ธ๋๋ฅผ ๋ง๋ค์ด ์ค๋ค.
๋
ธ๋๊ทธ๋ฃน ๋ณ๊ฒฝ
๋
ธ๋ ๊ทธ๋ฃน ์ถ๊ฐ
eksctl get nodegroup --cluster=cluster01

๊ธฐ์กด ๋
ธ๋๊ทธ๋ฃน ์ญ์
Last updated
Was this helpful?