-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added basic EKS page and updated details for HPA on EKS
- Loading branch information
Showing
2 changed files
with
59 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
layout: layout2.njk | ||
title: AWS Elastic Kubernetes Service | ||
author: Vijay Dharap | ||
timestamp: January 20, 2021 | ||
tags: [eks, distribution,] | ||
--- | ||
|
||
|
||
# {{ title }} | ||
|
||
## Create EKS Cluster | ||
Below commands will help you install eksctl binary on ubuntu and use it to create EKS cluster quickly. | ||
|
||
``` shell | ||
# install eksctl | ||
curl --silent --location "https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp | ||
sudo mv /tmp/eksctl /usr/local/bin | ||
eksctl version | ||
|
||
# create cluster | ||
eksctl create cluster --name vj-eks-1 --version 1.18 --region ap-south-1 --nodegroup-name eks-basic-nodes --nodes 1 --nodes-min 1 --nodes-max 1 --with-oidc --ssh-access --ssh-public-key dharapvv --managed --node-volume-size=30 | ||
|
||
# delete the cluster when work is done | ||
eksctl delete cluster --name vj-eks-1 --region ap-south-1 | ||
``` | ||
|
||
## Cluster Autoscaler | ||
[Follow instructions here to add and test Cluster Autoscaling in EKS](https://docs.aws.amazon.com/eks/latest/userguide/cluster-autoscaler.html) | ||
|
||
## Using AWS EIP CNI and pod networking security via AWS Sec Groups | ||
FIXME - It did not work as per my expectations in my trials | ||
|
||
## Usage of AWS IAM Authentication (EKS Authentication) | ||
|
||
|
||
## Delete EKS Cluster | ||
``` shell | ||
eksctl delete cluster --name vj-eks-1 --region ap-south-1 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters