-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c844600
commit a25766d
Showing
2 changed files
with
31 additions
and
0 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 |
---|---|---|
@@ -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 | ||
|
||
|
||
 |
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,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 |