directory 구조 변경
This commit is contained in:
12
aws_network/prod/data.sh
Executable file
12
aws_network/prod/data.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
sudo 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
|
||||
|
||||
sudo curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
|
||||
sudo chmod 700 get_helm.sh
|
||||
sudo ./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