Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 19 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
# Install Prerequisites

The installation requires Ubuntu 18.04

preinstall.sh installs the prerequisites to install the EKS cluster using terraform. The following packages are installed.
- python3
- awscli
- aws-iam-authenticator
- docker (required for DKube install)
- kubectl

Run the following commands to install the prerequisites.
```
# bash preinstall.sh
# source ~/.bashrc
```
# Install EKS Cluster
The installation requires Ubuntu 20.04

Edit terraform-eks.ini and fill in the required parameter values.

Expand All @@ -37,9 +23,26 @@ eks-node-1.20
eks-gpu-node-1.20
```

preinstall.sh installs the prerequisites to install the EKS cluster using terraform. The following packages will get installed:
- python3
- awscli
- aws-iam-authenticator
- docker (required for DKube install)
- kubectl
- terraform

Run the following commands to install the prerequisites.
```
# bash preinstall.sh
# source ~/.bashrc
```

# Install EKS Cluster

Run the following commands to deploy the EKS cluster and EFS endpoint
```
# bash eks.sh
# export KUBECONFIG=$HOME/.dkube/kubeconfig

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems to overwrite ~/.kube/config after eks is installed. There should be a way to append and use kubectl set-context

# kubectl get nodes #to verify if you can access the nodes
```

Expand All @@ -58,7 +61,7 @@ Run the commands below to retrieve kubeconfig file
Run the commands below to teardown the EKS cluster
```
# cd eks-getting-started
# ./terraform destroy --auto-approve
# terraform destroy --auto-approve
```


Expand Down