Skip to content

Commit

Permalink
Change bootstrapper for minikube-0.26 (#299)
Browse files Browse the repository at this point in the history
1. Why is this change necessary ?
fixes: openebs/openebs#298

2. How does this change address the issue ?
Trying to start kubelet inside travis in minikube-0.26 fails. minikube-0.26
makes use of kubeadm bootstrapper which tries to start systemctl-kubelet. Overriding
with localkube bootstrapper(same as v0.25) solves the issue as of now. Also,
the version of kubectl is changed to 1.8 to match vendor.

3. How to verify this change ?
--bootstrapper=localkube flag is added while starting minikube.

Signed-off-by: gkGaneshR <gkganesh126@gmail.com>
  • Loading branch information
gkganesh126 authored and prateekpandey14 committed Apr 12, 2018
1 parent 4733f54 commit 592b2a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ install:
- make bootstrap
before_script:
# Download kubectl, which is a requirement for using minikube.
- curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.7.0/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/
- curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.8.0/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/
# Download minikube.
- curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
- sudo minikube start --vm-driver=none --kubernetes-version=v1.7.0 --extra-config=apiserver.Authorization.Mode=RBAC
- sudo minikube start --vm-driver=none --bootstrapper=localkube --kubernetes-version=v1.8.0 --extra-config=apiserver.Authorization.Mode=RBAC
# Fix the kubectl context, as it's often stale.
- minikube update-context
# Wait for Kubernetes to be up and ready.
Expand Down

0 comments on commit 592b2a8

Please sign in to comment.