Skip to content

lilic/travis-minikube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

Build Status

travis-minikube

Quick example of running minikube on Travis CI with Kubernetes version 1.18.1. To read more in detail check out my guest blog post on the Travis CI blog.

To switch Kubernetes cluster versions just replace the 1.18.1 version in the .travis.yml file.

Note that RBAC is not enabled on this cluster by default. To enable RBAC, you need to start minikube with the --extra-config=apiserver.authorization-mode=RBAC flag. Starting Minikube with RBAC enabled requires the appropriate RBAC roles to be created in the kube-system namespace, so all components work as expected. One of the possible solutions is to give the default ServiceAccount in the kube-system namespace the cluster-admin permissions. For more details see the issue #1722.