Deploy Rancher on Kubernetes
Categories:
Projects: c2platform/ansible
, c2platform.mw
This tutorial provides step-by-step instructions for deploying Rancher on MicroK8s Kubernetes on node gsd-rancher1
. On this node Ansible will provision first MicroK8s and then deploy Rancher on it. The Kubernetes Dashboard will then be enabled. After provision Rancher will be available via https://rancher.c2platform.org
and the dashboard will be available via https://dashboard-rancher.c2platform.org
.
Overview
Prerequisites
Create the reverse and forward proxy c2d-rproxy1
.
c2
unset PLAY # ensure all plays run
vagrant up c2d-rproxy1
For more information about the various roles that c2d-rproxy1
performs in this project:
- Setup Reverse Proxy and CA server
- Setup SOCKS proxy
- Managing Server Certificates as a Certificate Authority
- Setup DNS for Kubernetes
Vagrant
Create and provision the node with the following command:
vagrant up c2d-rancher1
Verify
With the reverse proxy c2d-rproxy
provisioned and successfully running see Getting Started you should be able to navigate to https://rancher.c2platform.org
or https://dashboard-rancher.c2platform.org
and login.
Links
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.