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

Commit

Permalink
Maintenance/aks update to 1.17.11 (#338)
Browse files Browse the repository at this point in the history
* Updating kubernetes version to 1.17.11

* Update kubernetes version to 1.17.11

* bump .11

* Update kubectl vs to 1.17.11

* Bump helm version from v2.14.3 to v2.17.0

* Bump az cli from 2.0.71 to 2.14.1
  • Loading branch information
BSamodien authored Nov 11, 2020
1 parent 166d949 commit 3f58a4c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions provision-team/jenkins/install_jenkins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -485,17 +485,17 @@ sudo service jenkins restart
retry_until_successful run_util_script "jenkins/run-cli-command.sh" -c "version"

echo "############### Installing Packages ###############"
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y jq git zip azure-cli=2.0.71-1~xenial
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y jq git zip azure-cli=2.14.1-1~xenial
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y docker-ce

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

echo "############### Installing Helm v2.14.3 ###############"
sudo curl -s -O https://storage.googleapis.com/kubernetes-helm/helm-v2.14.3-linux-amd64.tar.gz
sudo tar -zxvf helm-v2.14.3-linux-amd64.tar.gz
echo "############### Installing Helm v2.17.0 ###############"
sudo curl -s -O https://storage.googleapis.com/kubernetes-helm/helm-v2.17.0-linux-amd64.tar.gz
sudo tar -zxvf helm-v2.17.0-linux-amd64.tar.gz
sudo mv linux-amd64/helm /usr/local/bin/helm

# Configure accessusermod -aG docker azureuser
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.15.10 --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.17.11 --service-principal $SP_ID --client-secret $SP_PASS
)

if [ $? == 0 ];
Expand Down
8 changes: 4 additions & 4 deletions provision-vm/Docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,20 @@ RUN add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/ubuntu/1
RUN add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"

############### Installing Helm ###############
RUN curl -s -O https://storage.googleapis.com/kubernetes-helm/helm-v2.14.3-linux-amd64.tar.gz
RUN tar -zxvf helm-v2.14.3-linux-amd64.tar.gz
RUN curl -s -O https://storage.googleapis.com/kubernetes-helm/helm-v2.17.0-linux-amd64.tar.gz
RUN tar -zxvf helm-v2.17.0-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.15.10/bin/linux/amd64/kubectl
RUN curl -s -LO https://storage.googleapis.com/kubernetes-release/release/v1.17.11/bin/linux/amd64/kubectl
RUN chmod +x ./kubectl
RUN mv ./kubectl /usr/local/bin/kubectl

############### Installing Packages ###############

RUN DEBIAN_FRONTEND=noninteractive apt-get install -y apt-transport-https
RUN DEBIAN_FRONTEND=noninteractive apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y dotnet-sdk-2.2 jq git zip azure-cli=2.0.71-1~xenial
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y dotnet-sdk-2.2 jq git zip azure-cli=2.14.1-1~xenial
RUN DEBIAN_FRONTEND=noninteractive ACCEPT_EULA=Y apt-get install -y mssql-tools unixodbc-dev
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y docker-ce
RUN DEBIAN_FRONTEND=noninteractive apt-get install vim -y
Expand Down

0 comments on commit 3f58a4c

Please sign in to comment.