diff --git a/README.md b/README.md index d0b55e8..be2b67a 100644 --- a/README.md +++ b/README.md @@ -35,59 +35,13 @@ a VPN tunnel to the `Hub Cluster` and create tunnels to other cnf replicas on di Additionally, all workload pods in the clusters will have a second network interface allocated by the ``cnf`` pod on the same node, with this second interface assigned to the ``cnf`` network namespace. -## Helm Chart Installation +## Helm Chart Installation and Clear `Nauti` is pretty easy to install with `Helm`. Make sure you already have at least 2 Kubernetes clusters, -please refer to this installation guide. +please refer to this installation guide. [Helm Chart Page](https://nauti-io.github.io/nauti-charts/) -[Helm Chart Page](https://nauti-io.github.io/nauti-charts/) - -### Set Global CIDR -`Global CIDR` is used in parallel network connection, it should not be conflict or overlap with cluster `Pod` -or `Service` CIDR, it's `10.112.0.0/12` by default. - -### Install in Hub -`Hub` is a kubernetes which has a public IP exposed, - ```shell - $ helm repo add nauti https://nauti-io.github.io/nauti-charts - "mcs" has been added to your repositories - $ helm repo list - NAME URL - nauti https://nauti-io.github.io/nauti-charts - $ helm search repo nauti -NAME CHART VERSION APP VERSION DESCRIPTION -nauti/nauti 0.1.0 1.16.0 A Helm chart for Tunnel across clusters. -nauti/nauti-agent 0.1.0 1.0.0 A Helm chart for Tunnel across clusters. - $ helm install nauti nauti/nauti --namespace nauti-system --create-namespace \ ---set tunnel.endpoint= --set tunnel.cidr=20.112.0.0/12 - NAME: nauti - LAST DEPLOYED: Fri Mar 31 12:43:43 2024 - NAMESPACE: nauti-system - STATUS: deployed - REVISION: 1 - TEST SUITE: None - - Thank you for installing nauti. - Your release is named nauti. - - Continue to install nauti-agent on clusters, with bootstrap token: re51os.131tn13kek2iaqoz - And install nauti-agent in cluster by: - -helm install nauti-agent mcs/nauti-agent --namespace nauti-system --create-namespace \ ---set hub.hubURL=https:/:6443 --set cluster.clusterID=cluster1 - ``` - - -### Install in Cluster -Joining a cluster, make sure clusterID and tunnel.cidr is unique. We don't require cluster has a public IP. - ```shell - $ helm repo add nauti https://nauti-io.github.io/nauti-charts - "nauti" has been added to your repositories - - $ helm install nauti-agent nauti/nauti-agent --namespace nauti-system --create-namespace \ ---set hub.hubURL=https://:6443 --set cluster.clusterID= -``` -Add cross cluster DNS config segment, in `coredns` configmap, and restart coredns pods. +After the installation, add cross cluster DNS config segment, in `coredns` configmap, and restart coredns pods. +The `cluster-ip` of `crossdns` is a static cluster IP, usually `10.96.0.11` , check before setting. ```yaml hyperos.local:53 { forward . 10.96.0.11 @@ -132,11 +86,6 @@ Test it in another cluster. ``` -## Clear All - ```shell - $ helm uninstall nauti -n nauti-system - $ kubectl delete ns nauti-system - ```