Skip to content

Commit

Permalink
eksctl
Browse files Browse the repository at this point in the history
  • Loading branch information
joindevopscloud committed Jul 20, 2023
1 parent c844600 commit a25766d
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
### Steps

**SSH-Keys**
* First prepare your SSH key pair.
* Import public key AWS key pairs.

**WorkStation**
* Create a security group that has all firewalls opened in Default VPC.
* Launch EC2 instance with AWS Linux 2 OS in Default VPC and allow-all SG.
* Install below packages in workstation.
* Docker. https://raw.githubusercontent.com/techworldwithsiva/docker-install-commands/master/docker-install.sh
* Git
* AWS CLI V2. https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
* Eksctl. https://github.com/eksctl-io/eksctl/blob/main/README.md#installation
* kubectl. https://docs.aws.amazon.com/eks/latest/userguide/install-kubectl.html


![alt text](eksctl.jpg)
14 changes: 14 additions & 0 deletions eks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig

metadata:
name: eks-spot-cluster
region: ap-south-1

managedNodeGroups:
- name: spot
instanceType: m5.large
spot: true
desiredCapacity: 3
ssh:
publicKeyName: kubernetes

0 comments on commit a25766d

Please sign in to comment.