Skip to content

Commit

Permalink
Use minikube 1.8.2 since latest can't provision workspaces currently
Browse files Browse the repository at this point in the history
  • Loading branch information
olberger committed Jun 9, 2020
1 parent 8abc20a commit 73878a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions selfmedicate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,16 @@ sub_resume(){
exit 1
fi

if [ "$VMDRIVER" = "none" ]; then
EXTRA_PARAMS="--extra-config=kubelet.resolv-conf=/run/systemd/resolve/resolv.conf"
fi
$MINIKUBE start \
--cpus $CPUS \
--memory $MEMORY \
--vm-driver $VMDRIVER \
--network-plugin=cni \
--extra-config=kubelet.network-plugin=cni \
$EXTRA_PARAMS \
--kubernetes-version=$K8SVERSION

bash container-start.sh wait_system
Expand Down
3 changes: 2 additions & 1 deletion vagrant-provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ install_kubectl() {

install_minikube() {
# Download the latest version
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 &>/dev/null \
#curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 &>/dev/null
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v1.8.2/minikube-linux-amd64 &>/dev/null \
&& chmod +x minikube &>/dev/null
# Install into PATH
sudo install minikube /usr/local/bin
Expand Down

0 comments on commit 73878a8

Please sign in to comment.