Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Update provision_aks.sh (#320) #321

Merged
merged 1 commit into from
May 12, 2020
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion provision-team/jenkins/install_jenkins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y jq git zip azure-cli=2.0.
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y docker-ce

echo "############### Installing kubectl ###############"
curl -s -LO https://storage.googleapis.com/kubernetes-release/release/v1.13.11/bin/linux/amd64/kubectl
curl -s -LO https://storage.googleapis.com/kubernetes-release/release/v1.15.7/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl

Expand Down
2 changes: 1 addition & 1 deletion provision-team/provision_aks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ fi
echo "Creating AKS Cluster..."
(
set -x
az aks create -g $resourceGroupName -n $clusterName -l $resourceGroupLocation --node-count 3 --generate-ssh-keys -k 1.13.11 --service-principal $SP_ID --client-secret $SP_PASS
az aks create -g $resourceGroupName -n $clusterName -l $resourceGroupLocation --node-count 3 --generate-ssh-keys -k 1.15.7 --service-principal $SP_ID --client-secret $SP_PASS
)

if [ $? == 0 ];
Expand Down
2 changes: 1 addition & 1 deletion provision-vm/Docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ RUN tar -zxvf helm-v2.14.3-linux-amd64.tar.gz
RUN mv linux-amd64/helm /usr/local/bin/helm

############### Installing kubectl ###############
RUN curl -s -LO https://storage.googleapis.com/kubernetes-release/release/v1.13.11/bin/linux/amd64/kubectl
RUN curl -s -LO https://storage.googleapis.com/kubernetes-release/release/v1.15.7/bin/linux/amd64/kubectl
RUN chmod +x ./kubectl
RUN mv ./kubectl /usr/local/bin/kubectl

Expand Down