설치
AWS EKS
준비사항
AWS EKS 클러스터에 ale을 설치하기 위한 준비사항입니다.
안내
- 이 가이드는 Kubernetes v1.30 기준으로 작성되었습니다.
도구 설치
Windows의 경우 WSL2를 설치하여 Linux 환경에서 ale을 이용하는 것을 권장합니다. 여기를 참고하여 WSL2를 먼저 설치하세요.
다음의 명령어를 입력하여 AWS CLI를 설치합니다.
curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg" && \
sudo installer -pkg AWSCLIV2.pkg -target /
ARCH=amd64
# ARCH=arm64 (macOS-Apple Silicon 혹은 arm64 아키텍처의 Linux)
PLATFORM=$(uname -s)_$ARCH
curl -sLO "https://github.com/eksctl-io/eksctl/releases/latest/download/eksctl_$PLATFORM.tar.gz"
tar -xzf eksctl_$PLATFORM.tar.gz -C /tmp && rm eksctl_$PLATFORM.tar.gz
sudo mv /tmp/eksctl /usr/local/bin
사용하고 있는 OS 및 아키텍처에 맞게 kubectl을 설치합니다.
macOS
curl -LO "https://dl.k8s.io/release/v1.30.2/bin/darwin/arm64/kubectl"
Linux
curl -LO https://dl.k8s.io/release/v1.30.2/bin/linux/amd64/kubectl
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh
AWS 계정 설정
환경변수 등록
export CLUSTER_NAME=<생성할 EKS 클러스터명>
AWS CLI 설정
aws configure
AWS Access Key ID [********************]: AWS 액세스 키
AWS Secret Access Key [********************]: AWS 시크릿 액세스 키
Default region name [ap-northeast-2]: AWS Region
Default output format [json]: json, yaml, text, table 중 선택
On this page
Assistant
Responses are generated using AI and may contain mistakes.