File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 11# AWS EKS | Notes
22
3+ ## Download eksctl
4+
5+ ``` sh
6+ wget -qO ~ /Downloads/eksctl.tar.gz " https://github.com/eksctl-io/eksctl/releases/latest/download/eksctl_Linux_amd64.tar.gz"
7+ tar xfz ~ /Downloads/eksctl.tar.gz -C ~ /Downloads/
8+ mv ~ /Downloads/eksctl ~ /bin/
9+ chmod u+x ~ /bin/eksctl
10+ ```
11+
312## Create a cluster
413
514- Create a cluster
@@ -28,6 +37,44 @@ eksctl create cluster \
2837 --with-oidc
2938```
3039
40+ ## Login
41+
42+ - Get kubeconfig
43+
44+ ``` sh
45+ KUBECONFIG=~ /.kube/config-tmp
46+ CLUSTER_NAME=mrb-lab-topology
47+ AWS_REGION=us-east-1
48+ aws eks update-kubeconfig --region $AWS_REGION --name $CLUSTER_NAME --kubeconfig $KUBECONFIG
49+ ```
50+
51+ ## Auto-mode full acces
52+
53+ - Create a cluster with Auto-mode
54+
55+ ``` sh
56+ CLUSTER_NAME=mrb-am
57+ AWS_REGIOn=us-east-1
58+
59+ eksctl create cluster \
60+ --name $CLUSTER_NAME \
61+ --region $AWS_REGION \
62+ --version 1.33 \
63+ --enable-auto-mode \
64+ --zones us-east-1a,us-east-1b \
65+ --kubeconfig ~ /.kube/eks
66+ ```
67+
68+ Access the cluster
69+
70+ ``` sh
71+ $ kubectl --kubeconfig=/home/mtulio/.kube/eks get nodes
72+ ```
73+
74+ ## Launch ML instances with Auto Mode
75+
76+ TODO
77+
3178## Destroy a cluster
3279
3380``` bash
You can’t perform that action at this time.
0 commit comments