Skip to content

Commit

Permalink
Add Documentation for deploying Antrea with Rancher cluster
Browse files Browse the repository at this point in the history
Signed-off-by: Pulkit Jain <[email protected]>
  • Loading branch information
Pulkit Jain committed Mar 24, 2023
1 parent a20077c commit 8da670a
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 0 deletions.
Binary file added docs/assets/rancher_cluster.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/rancher_create.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/rancher_node.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
23 changes: 23 additions & 0 deletions docs/rancher.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Deploying Antrea on Rancher Managed Cluster

<!-- toc -->
- [Deploy Rancher Server](#deploy-rancher-server)
- [Deploy Antrea Using Rancher UI](#deploy-antrea-using-rancher-ui)
<!-- /toc -->

## 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:
-<link of the antrea.yml file>
* 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)

0 comments on commit 8da670a

Please sign in to comment.