Skip to content

Deploying EKS with DevOps and Learning concepts like Ingress, cost optimization, K8s tools ecosystem, logging consideration etc.

Notifications You must be signed in to change notification settings

ShotaroMatsuya/learning-eks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

learning-eks

  1. create cluster with 2 t3.micro nodes
$ eksctl create cluster --name eksctl-test --nodegroup-name ng-default --node-type t3.micro --nodes 2

OR

$ eksctl create cluster --config-file=eksctl-create-cluster.yaml

※create eks cluster with managed node group

$ eksctl create cluster --name <name> --version 1.15 --nodegroup-name <nodegrpname> --node-type t3.micro --nodes 2 --managed

※ ECS Cluster with Fargate Profile

$ eksctl create cluster --name <name> --fargate
  1. create node-group
$ eksctl create nodegroup --config-file=eksctl-create-ng.yaml
  1. get the information
$ eksctl get nodegroup --cluster=eksctl-test
$ eksctl get cluster
  1. delete cluster
$ eksctl delete cluster --name=eksctl-test
  1. update managed nodegroup
$ eksctl upgrade nodegroup --name=managed-ng-1 --cluster=managed-cluster

EKS Cluster の構築

eksctl create cluster \
      --name eks-cluster \
      --version 1.22 \
      --with-oidc \
      --nodegroup-name eks-cluster-node-group \
      --node-type c5.large \
      --nodes 1 \
      --nodes-min 1

クラスターの削除

EKS Cluster を削除する前に、Service Type が LoadBalancer の Service が存在するばあいは、事前に削除

kubectl delete svc service

cluster の削除

eksctl delete cluster --name eks-cluster

About

Deploying EKS with DevOps and Learning concepts like Ingress, cost optimization, K8s tools ecosystem, logging consideration etc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published