Open4
EKSわからない
![yuchul](https://res.cloudinary.com/zenn/image/fetch/s--Xs6GvUmq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_70/https://storage.googleapis.com/zenn-user-upload/avatar/299e69423d.jpeg)
eksctl
コマンドを使えるようにする
![yuchul](https://res.cloudinary.com/zenn/image/fetch/s--Xs6GvUmq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_70/https://storage.googleapis.com/zenn-user-upload/avatar/299e69423d.jpeg)
こんな感じのを打つといい感じに作ってくれる
eksctl create cluster \
--vpc-cidr 10.0.0.0/16 \
--vpc-nat-mode HighlyAvailable \
--name eks-dsample \
--nodegroup-name ng-sanple \
--node-type t3.large \
--nodes 3 \
--nodes-min 2 \
--nodes-max 4
![yuchul](https://res.cloudinary.com/zenn/image/fetch/s--Xs6GvUmq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_70/https://storage.googleapis.com/zenn-user-upload/avatar/299e69423d.jpeg)
kubectl get nodes
これでクラスターみれる
ここで言う「EKSクラスター」は、Kubernetesインフラ基盤を構成するコンポーネントの集まりを指します。(ここまで「EKS環境」と呼んできたものとほぼ同義です)
EKSクラスターは、大まかに以下の要素で構成されます。
VPCネットワーク環境
EKSコントロールプレーン
EKSワーカーノード
![yuchul](https://res.cloudinary.com/zenn/image/fetch/s--Xs6GvUmq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_70/https://storage.googleapis.com/zenn-user-upload/avatar/299e69423d.jpeg)
ネームスペース作るコマンド
kubectl create namespace []