Skip to content

Commit ce27ced

Browse files
committed
updated the mutlicluster ingress topic
1 parent 42177be commit ce27ced

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

docs/multicluster/multi-cluster.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -82,25 +82,25 @@ Perform the following steps to deploy the Citrix global load balancing solution
8282

8383
1. Create the RBAC permissions required to deploy the GSLB controller using the [gslb-rbac.yaml](../../multicluster/Manifest/gslb-rbac.yaml) file.
8484

85-
kubectl apply -f gslb-rbac.yaml
85+
kubectl apply -f gslb-rbac.yaml
8686

8787
2. Create the secrets required for the GSLB controller to connect to GSLB devices and push the configuration from the GSLB controller.
8888

89-
kubectl create secret generic secret1 --from-literal=username=<username> --from-literal=password=<password>
89+
kubectl create secret generic secret1 --from-literal=username=<username> --from-literal=password=<password>
9090

91-
**Note:** These secrets are used in the GSLB controller YAML file for the respective sites. The `username` and `password` in the command specifies the user name and password of the Citrix GSLB ADC.
91+
**Note:** These secrets are used in the GSLB controller YAML file for the respective sites. The `username` and `password` in the command specifies the user name and password of the Citrix GSLB ADC.
9292

9393
3. Download the GSLB controller YAML file [gslb-controller.yaml](../../multicluster/Manifest/gslb-controller.yaml).
9494

9595
4. Edit the GSLB controller YAML file and update the following values as per the requirements of each cluster.
9696

97-
- LOCAL_REGION and LOCAL_CLUSTER: Specify the region and cluster name where this controller is deployed.
98-
- SITENAMES: Provide site names separated by commas and the configuration should be the same as the site configured on GSLB devices.
99-
- IP address, region, user name, and password for each site should start with the corresponding site name.
97+
- LOCAL_REGION and LOCAL_CLUSTER: Specify the region and cluster name where this controller is deployed.
98+
- SITENAMES: Provide site names separated by commas and the configuration should be the same as the site configured on GSLB devices.
99+
- IP address, region, user name, and password for each site should start with the corresponding site name.
100100
For example: For site1 in `SITENAMES`, fields should be `site1_ip`, `site1_region`, `site1_username`, and `site1_password`.
101-
- argument section in the specification should include `--config-interface` and `gslb-endpoint`.
101+
- argument section in the specification should include `--config-interface` and `gslb-endpoint`.
102102

103-
The following is a snippet of the YAML file for deploying the GSLB controller.
103+
The following is a snippet of the YAML file for deploying the GSLB controller.
104104

105105
```yml
106106

@@ -144,7 +144,7 @@ Perform the following steps to deploy the Citrix global load balancing solution
144144
gslb-endpoints
145145
```
146146
147-
**Note:**
147+
**Note:**
148148
The order of the GSLB site information should be the same in all clusters. First site in the order is considered as the master site for pushing the configuration. When that master site goes down, the next site in the list will be the new master. Hence, the order of the sites should be the same in all Kubernetes clusters. For example,
149149
if the order of sites is `site1` followed by `site2` in cluster1 all other clusters should follow the same order.
150150

@@ -164,12 +164,12 @@ Perform the following steps to deploy the Citrix global load balancing solution
164164

165165
kubectl create -f gtp-example.yaml
166166

167-
**Note:** GTP CRD should be applied across all clusters with the same configuration for the same domain.
167+
**Note:** GTP CRD should be applied across all clusters with the same configuration for the same domain.
168168

169-
Following is an example for a global traffic policy configuration where traffic policy is specified as local first for the domain `app2.com`. When your application prefers services local to it, you can use this option. The CIDR of the local cluster (cluster1) is specified using the `CIDR` field. The `weight` field is used to direct more client requests to any particular cluster than other clusters when the GSLB decision is taken by the Citrix ADC.
170-
The load balancing method is specified using the `secLbMethod` field as round robin.
169+
Following is an example for a global traffic policy configuration where traffic policy is specified as local first for the domain `app2.com`. When your application prefers services local to it, you can use this option. The CIDR of the local cluster (cluster1) is specified using the `CIDR` field. The `weight` field is used to direct more client requests to any particular cluster than other clusters when the GSLB decision is taken by the Citrix ADC.
170+
The load balancing method is specified using the `secLbMethod` field as round robin.
171171

172-
**Note:** You can specify the load balancing method for local first, canary, and failover deployments.
172+
**Note:** You can specify the load balancing method for local first, canary, and failover deployments.
173173

174174

175175
```yml
@@ -198,19 +198,19 @@ Perform the following steps to deploy the Citrix global load balancing solution
198198
respCode: 200
199199
status:
200200
{}
201-
```
201+
```
202202

203203
For more information on other GTP deployment options like canary and failover, see [Examples: Global traffic policy deployments](#Examples-Global-traffic-policy-deployments).
204204

205205
9. Apply GSE instances manually for GSLB of ingress.
206206

207207
kubectl create -f gse-example.yaml
208208

209-
**Note:** GSE CRD is applied in a specific cluster based on the cluster endpoint information. The global service entry name should be the same as the target destination name in the global traffic policy.
209+
**Note:** GSE CRD is applied in a specific cluster based on the cluster endpoint information. The global service entry name should be the same as the target destination name in the global traffic policy.
210210

211211
Following is an example for a global service entry.
212212

213-
```yml
213+
```yml
214214
apiVersion: "citrix.com/v1beta1"
215215
kind: globalserviceentry
216216
metadata:
@@ -220,9 +220,9 @@ Perform the following steps to deploy the Citrix global load balancing solution
220220
endpoint:
221221
ipv4address: 10.102.217.70
222222
monitorPort: 33036
223-
```
223+
```
224224
225-
In this example, the global service entry name `app2.default.east.cluster1` is one of the target destination names in the global traffic policy created in step 8.
225+
In this example, the global service entry name `app2.default.east.cluster1` is one of the target destination names in the global traffic policy created in step 8.
226226

227227
10. Apply service YAML for GSLB of services of type LoadBalancer.
228228

0 commit comments

Comments
 (0)