aws prod 환경 구축 파일
This commit is contained in:
12
prod_221108/terraform/data.sh
Executable file
12
prod_221108/terraform/data.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
|
||||
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/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
|
||||
|
||||
echo "source <(kubectl completion bash)" >> /etc/profile
|
||||
echo "alias k=kubectl" >> /etc/profile
|
||||
echo "complete -o default -F __start_kubectl k" >> /etc/profile
|
||||
Reference in New Issue
Block a user