Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shotaromatsuya/learning-eks
Deploying EKS with DevOps and Learning concepts like Ingress, cost optimization, K8s tools ecosystem, logging consideration etc.
https://github.com/shotaromatsuya/learning-eks
argocd docker eksctl elasticsearch fluentbit fluxcd grafana helm jenkins karpenter-cluster-autoscaler kustomize prometheus terraform
Last synced: 19 days ago
JSON representation
Deploying EKS with DevOps and Learning concepts like Ingress, cost optimization, K8s tools ecosystem, logging consideration etc.
- Host: GitHub
- URL: https://github.com/shotaromatsuya/learning-eks
- Owner: ShotaroMatsuya
- Created: 2021-10-31T15:28:33.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T17:54:44.000Z (11 months ago)
- Last Synced: 2024-10-03T05:06:32.664Z (about 1 month ago)
- Topics: argocd, docker, eksctl, elasticsearch, fluentbit, fluxcd, grafana, helm, jenkins, karpenter-cluster-autoscaler, kustomize, prometheus, terraform
- Language: Go
- Homepage:
- Size: 65.3 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Security: Security_Chapter/ASCP/nginx.yaml
Awesome Lists containing this project
README
# learning-eks
1. create cluster with 2 t3.micro nodes
```bash
$ eksctl create cluster --name eksctl-test --nodegroup-name ng-default --node-type t3.micro --nodes 2
```OR
```bash
$ eksctl create cluster --config-file=eksctl-create-cluster.yaml
```※create eks cluster with managed node group
```bash
$ eksctl create cluster --name --version 1.15 --nodegroup-name --node-type t3.micro --nodes 2 --managed
```※ ECS Cluster with Fargate Profile
```bash
$ eksctl create cluster --name --fargate
```2. create node-group
```bash
$ eksctl create nodegroup --config-file=eksctl-create-ng.yaml
```3. get the information
```bash
$ eksctl get nodegroup --cluster=eksctl-test
$ eksctl get cluster
```4. delete cluster
```bash
$ eksctl delete cluster --name=eksctl-test
```5. update managed nodegroup
```bash
$ eksctl upgrade nodegroup --name=managed-ng-1 --cluster=managed-cluster
```---
# EKS Cluster の構築
```bash
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 が存在するばあいは、事前に削除
```bash
kubectl delete svc service
```cluster の削除
```bash
eksctl delete cluster --name eks-cluster
```