Introduction

gslb.data records the load balancing config between sub-clusters.

Configuration

Config Item Type Description
Clusters Struct Key: cluster name. Value: weight for each sub-cluster
Hostname String Hostname of gslb scheduler
Ts String Timestamp of config file

Example

  1. {
  2. "Clusters": {
  3. "cluster_example": {
  4. "GSLB_BLACKHOLE": 0,
  5. "example.bfe.bj": 100
  6. }
  7. },
  8. "Hostname": "gslb-sch.example.com",
  9. "Ts": "20190101000000"
  10. }