Create Kubernetes cluster on EKS

  1. Navigate to IAM services in AWS console after logging in and create a user. Give it a programmatic access only. Store safe your ACCESS_KEY_ID and SECRET_ACCESS_KEY.
  2. In your local machine install aws-cli. In awscliv1 you needed to install python to download it. But latest awscliv2 doesnt have any requisites and u can install it with these 3 simple commands.
#cluster.yamlapiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: taskmanager-cluster
region: ap-southeast-1
nodeGroups:
- name: ng-1
instanceType: t2.small
desiredCapacity: 1
ssh:
allow: true

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store