Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #697 from Kuadrant/doc-tidy-up
Browse files Browse the repository at this point in the history
minor tidy up
  • Loading branch information
openshift-merge-bot[bot] authored Nov 28, 2023
2 parents 38dc05a + 09bce5b commit 5927261
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions docs/gateways/define-and-place-a-gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,21 +69,23 @@ For more information on ManagedClusterSets and placements please see the OCM off



Finally in order to have the Gateway instances deployed to your spoke clusters that can start receiving traffic, you need to
* Add the second cluster to the clusterset
* Label the hub gateway with a placement label.
Finally in order to have the Gateway instances deployed to your spoke clusters that can start receiving traffic, you need to place the gateway.

1. Add the second cluster to the clusterset, by running the following:
1. To place the gateway, we need to add a placement label to gateway resource to instruct the gateway controller where we want this gateway instantiated.

```bash
kubectl --context kind-mgc-control-plane label managedcluster kind-mgc-workload-1 ingress-cluster=true
kubectl --context kind-mgc-control-plane label gateway prod-web "cluster.open-cluster-management.io/placement"="http-gateway-placement" -n multi-cluster-gateways
```
1. To place the gateway, we need to add a placement label to gateway resource to instruct the gateway controller where we want this gateway instantiated.

1. To have the gateway deployed to 2 clusters, you can add a second cluster to the clusterset by running the following:

```bash
kubectl --context kind-mgc-control-plane label gateway prod-web "cluster.open-cluster-management.io/placement"="http-gateway-placement" -n multi-cluster-gateways
kubectl --context kind-mgc-control-plane label managedcluster kind-mgc-workload-1 ingress-cluster=true
```

As the placement specifies `numberOfClusters` as 2 your gateway will automatically be instantiated on the second cluster.


2. To find a configured gateway and instantiated gateway on the hub cluster. Run the following

```bash
Expand Down

0 comments on commit 5927261

Please sign in to comment.