Travis CI: How to deploy to Rancher/Kubernetes Cluster

The following steps are already there:

  • testing
  • building of docker image
  • pushing to dockerhub

just the deploy to the Cluster is missing.

I´m not sure how to do it right with Travis CI, does someone has an example?

Thanks a lot.