diff --git a/docs/assets/rancher_cluster.png b/docs/assets/rancher_cluster.png new file mode 100644 index 00000000000..fcffd079145 Binary files /dev/null and b/docs/assets/rancher_cluster.png differ diff --git a/docs/assets/rancher_create.png b/docs/assets/rancher_create.png new file mode 100644 index 00000000000..0244c3f3da8 Binary files /dev/null and b/docs/assets/rancher_create.png differ diff --git a/docs/assets/rancher_node.png b/docs/assets/rancher_node.png new file mode 100644 index 00000000000..ffaab2f8a3f Binary files /dev/null and b/docs/assets/rancher_node.png differ diff --git a/docs/getting-started.md b/docs/getting-started.md index 61bd15d8bf8..a5d0606788b 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -161,6 +161,11 @@ please refer to this [guide](kind.md). To deploy Antrea in a [Minikube](https://github.com/kubernetes/minikube) cluster, please refer to this [guide](minikube.md). +### Deploying Antrea in Rancher Cluster + +To deploy Antrea in a [Rancher](https://github.com/rancher/rancher) cluster, +please refer to this [guide](rancher.md). + ### Deploying Antrea in AKS, EKS, and GKE Antrea can work with cloud managed Kubernetes services, and can be deployed to diff --git a/docs/rancher.md b/docs/rancher.md new file mode 100644 index 00000000000..753c7ab1af1 --- /dev/null +++ b/docs/rancher.md @@ -0,0 +1,23 @@ +# Deploying Antrea on Rancher Managed Cluster + + +- [Deploy Rancher Server](#deploy-rancher-server) +- [Deploy Antrea Using Rancher UI](#deploy-antrea-using-rancher-ui) + + +## Deploy Rancher Server + +Follow these [steps](https://rancher.com/docs/rancher/v1.6/en/installing-rancher/installing-server/) to deploy rancher server ui dashboard. + +## Deploy Antrea Using Rancher UI + +* Sign-in to the UI dashboard, and switch to cluster management. +* Create new Node template there under the RKE configuration section. +* After saving the template, proceed with creating new cluster, under the clusters tab click on create button, then enter the name, and number of worker and controlplane Nodes respectively. +* click on “Edit as YAML", and set the network plugin to null, and add a addon for antrea, in the following manner: +addons_include: + - +* You can find few screenshots for reference: +![rancher_cluster](https://raw.githubusercontent.com/antrea-io/antrea/main/docs/assets/rancher_cluster.png) +![rancher_create](https://raw.githubusercontent.com/antrea-io/antrea/main/docs/assets/rancher_create.png) +![rancher_node](https://raw.githubusercontent.com/antrea-io/antrea/main/docs/assets/rancher_node.png)