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 Jul 21, 2023
1 parent 6328ef9 commit a96044c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
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 Managed Cluster

To deploy Antrea in a [Rancher](https://github.com/rancher/rancher) managed cluster,
please refer to this [guide](kubernetes-installers.md#rancher).

### Deploying Antrea in AKS, EKS, and GKE

Antrea can work with cloud managed Kubernetes services, and can be deployed to
Expand Down
17 changes: 13 additions & 4 deletions docs/kubernetes-installers.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ work with that Antrea version.
| - | - | - | Windows Server 2019 Datacenter (10.0.17763.1817), docker://19.3.14 | t3.medium | | |
| - | - | - | Ubuntu 20.04.2 LTS (5.4.0-1045-aws) arm64, docker://20.10.6 | t3.medium | | |
| - | Cluster API Provider vSphere (CAPV), K8s 1.19.1 | VMC on AWS, vSphere 7.0.1 | Ubuntu 18.04, containerd | 2 vCPUs, 8GB RAM | | Antrea CI |
| - | Rancher v2.5.7, K8s v1.20.5-rancher1-1 | AWS EC2 | Ubuntu 18.04.5 LTS (5.4.0-1045-aws) amd64, docker://19.3.15 | t3a.medium | Some tests failing because of [this issue](https://github.com/kubernetes/kubernetes/issues/100197) | |
| - | Rancher v2.7.0, K8s v1.24.10 | vSphere | Ubuntu 22.04.1 LTS (5.15.0-57-generic) amd64, docker://20.10.21 | N/A | | |
| - | K3s v1.19.8+k3s1 | [OSUOSL] | Ubuntu 20.04.1 LTS (5.4.0-66-generic) arm64, containerd://1.4.3-k3s3 | 2 vCPUs, 4GB RAM | | Antrea CI, cluster installed with [k3sup] 0.9.13 |
| - | Kops v1.20, K8s v1.20.5 | AWS EC2 | Ubuntu 20.04.2 LTS (5.4.0-1041-aws) amd64, containerd://1.4.4 | t3.medium | [results tarball](http://downloads.antrea.io/artifacts/sonobuoy-conformance/kops_202104212218_sonobuoy_bf0f8e77-c9df-472a-85e2-65e456cf4d83.tar.gz) | |
| - | EKS, K8s v1.17.12 | AWS | AmazonLinux2, docker | t3.medium | | Antrea CI |
Expand All @@ -39,9 +39,18 @@ want. Once the cluster has been created, this CIDR cannot be changed.

### Rancher

When creating a workload cluster, set the [network
plugin](https://rancher.com/docs/rke/latest/en/config-options/add-ons/network-plugins/)
to `none`.
Follow these steps to deploy Antrea(as a [custom CNI](https://rke.docs.rancher.com/config-options/add-ons/network-plugins/custom-network-plugin-example)) on [Rancher](https://ranchermanager.docs.rancher.com/pages-for-subheaders/installa) cluster via UI.

* Click on create button under the clusters tab, then enter the name, number of worker and control plane Nodes respectively.

* click on "Edit as YAML", and set the network plugin to none, and add an addon for Antrea, in the following manner:

```bash
addons_include:
- <link of the antrea.yml file>
```

Note: Antrea (since v1.10.0) is supported on Rancher version v2.7.0+.

### K3s

Expand Down

0 comments on commit a96044c

Please sign in to comment.