You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**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.
92
92
93
93
3. Download the GSLB controller YAML file [gslb-controller.yaml](../../multicluster/Manifest/gslb-controller.yaml).
94
94
95
95
4. Edit the GSLB controller YAML file and update the following values as per the requirements of each cluster.
96
96
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.
100
100
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`.
102
102
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.
104
104
105
105
```yml
106
106
@@ -144,7 +144,7 @@ Perform the following steps to deploy the Citrix global load balancing solution
144
144
gslb-endpoints
145
145
```
146
146
147
-
**Note:**
147
+
**Note:**
148
148
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,
149
149
if the order of sites is `site1` followed by `site2` in cluster1 all other clusters should follow the same order.
150
150
@@ -164,12 +164,12 @@ Perform the following steps to deploy the Citrix global load balancing solution
164
164
165
165
kubectl create -f gtp-example.yaml
166
166
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.
168
168
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.
171
171
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.
173
173
174
174
175
175
```yml
@@ -198,19 +198,19 @@ Perform the following steps to deploy the Citrix global load balancing solution
198
198
respCode: 200
199
199
status:
200
200
{}
201
-
```
201
+
```
202
202
203
203
For more information on other GTP deployment options like canary and failover, see [Examples: Global traffic policy deployments](#Examples-Global-traffic-policy-deployments).
204
204
205
205
9. Apply GSE instances manually for GSLB of ingress.
206
206
207
207
kubectl create -f gse-example.yaml
208
208
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.
210
210
211
211
Following is an example for a global service entry.
212
212
213
-
```yml
213
+
```yml
214
214
apiVersion: "citrix.com/v1beta1"
215
215
kind: globalserviceentry
216
216
metadata:
@@ -220,9 +220,9 @@ Perform the following steps to deploy the Citrix global load balancing solution
220
220
endpoint:
221
221
ipv4address: 10.102.217.70
222
222
monitorPort: 33036
223
-
```
223
+
```
224
224
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.
226
226
227
227
10. Apply service YAML for GSLB of services of type LoadBalancer.
0 commit comments