Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lilic/travis-minikube
Run minikube on Travis CI
https://github.com/lilic/travis-minikube
continuous-integration end-to-end-testing kubernetes minikube test travis-ci
Last synced: about 2 months ago
JSON representation
Run minikube on Travis CI
- Host: GitHub
- URL: https://github.com/lilic/travis-minikube
- Owner: lilic
- License: apache-2.0
- Created: 2017-09-07T12:42:50.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-01-04T09:31:07.000Z (almost 4 years ago)
- Last Synced: 2024-10-14T13:20:16.439Z (2 months ago)
- Topics: continuous-integration, end-to-end-testing, kubernetes, minikube, test, travis-ci
- Homepage:
- Size: 30.3 KB
- Stars: 86
- Watchers: 8
- Forks: 30
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/LiliC/travis-minikube.svg?branch=master)](https://travis-ci.org/LiliC/travis-minikube)
# travis-minikube
Quick example of running [minikube](https://github.com/kubernetes/minikube) on [Travis CI](https://travis-ci.org/) with [Kubernetes](https://github.com/kubernetes/kubernetes) version `1.18.1`.
To read more in detail check out my [guest blog post](https://blog.travis-ci.com/2017-10-26-running-kubernetes-on-travis-ci-with-minikube) 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](https://kubernetes.io/docs/reference/access-authn-authz/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](https://github.com/kubernetes/minikube/issues/1722).