Last active
July 18, 2021 09:06
-
-
Save srinivasa-vasu/407019af2090c8b1bd60bd3ed93426d1 to your computer and use it in GitHub Desktop.
YB multi-region var-template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
isMultiAz: true | |
AZ: asia-south1-a | |
masterAddresses: "yb-master-0.yb-us-central1.yb-masters.us-central1.svc.clusterset.local:7100,yb-master-0.yb-eu-west1.yb-masters.eu-west1.svc.clusterset.local:7100,yb-master-0.yb-ap-south1.yb-masters.ap-south1.svc.clusterset.local:7100" | |
# masterAddresses: "{yb-master-0.yb-us-central1.yb-masters.us-central1.svc.clusterset.local},{yb-master-0.yb-eu-west1.yb-masters.eu-west1.svc.clusterset.local},{yb-master-0.yb-ap-south1.yb-masters.ap-south1.svc.clusterset.local,yb-master-0.yb-masters.ap-south1.svc.cluster.local}" | |
storage: | |
master: | |
storageClass: "standard-rwo" | |
tserver: | |
storageClass: "standard-rwo" | |
replicas: | |
master: 1 | |
tserver: 1 | |
totalMasters: 3 | |
gflags: | |
master: | |
placement_cloud: "gke" | |
placement_region: "asia-south1" | |
placement_zone: "asia-south1-a" | |
leader_failure_max_missed_heartbeat_periods: 10 | |
tserver: | |
placement_cloud: "gke" | |
placement_region: "asia-south1" | |
placement_zone: "asia-south1-a" | |
leader_failure_max_missed_heartbeat_periods: 10 | |
preflight: | |
skipBind: true | |
skipAll: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
isMultiAz: true | |
AZ: europe-west1-b | |
masterAddresses: "yb-master-0.yb-us-central1.yb-masters.us-central1.svc.clusterset.local:7100,yb-master-0.yb-eu-west1.yb-masters.eu-west1.svc.clusterset.local:7100,yb-master-0.yb-ap-south1.yb-masters.ap-south1.svc.clusterset.local:7100" | |
# masterAddresses: "{yb-master-0.yb-us-central1.yb-masters.us-central1.svc.clusterset.local},{yb-master-0.yb-eu-west1.yb-masters.eu-west1.svc.clusterset.local,yb-master-0.yb-masters.eu-west1.svc.cluster.local},{yb-master-0.yb-ap-south1.yb-masters.ap-south1.svc.clusterset.local}" | |
storage: | |
master: | |
storageClass: "standard-rwo" | |
tserver: | |
storageClass: "standard-rwo" | |
replicas: | |
master: 1 | |
tserver: 1 | |
totalMasters: 3 | |
gflags: | |
master: | |
placement_cloud: "gke" | |
placement_region: "europe-west1" | |
placement_zone: "europe-west1-b" | |
leader_failure_max_missed_heartbeat_periods: 10 | |
tserver: | |
placement_cloud: "gke" | |
placement_region: "europe-west1" | |
placement_zone: "europe-west1-b" | |
leader_failure_max_missed_heartbeat_periods: 10 | |
preflight: | |
skipBind: true | |
skipAll: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
kind: ServiceExport | |
apiVersion: net.gke.io/v1 | |
metadata: | |
name: yb-masters | |
--- | |
kind: ServiceExport | |
apiVersion: net.gke.io/v1 | |
metadata: | |
name: yb-tservers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
isMultiAz: true | |
AZ: us-central1-c | |
masterAddresses: "yb-master-0.yb-us-central1.yb-masters.us-central1.svc.clusterset.local:7100,yb-master-0.yb-eu-west1.yb-masters.eu-west1.svc.clusterset.local:7100,yb-master-0.yb-ap-south1.yb-masters.ap-south1.svc.clusterset.local:7100" | |
# masterAddresses: "{yb-master-0.yb-us-central1.yb-masters.us-central1.svc.clusterset.local,yb-master-0.yb-masters.us-central1.svc.cluster.local},{yb-master-0.yb-eu-west1.yb-masters.eu-west1.svc.clusterset.local},{yb-master-0.yb-ap-south1.yb-masters.ap-south1.svc.clusterset.local}" | |
# masterAddresses: "yb-masters.us-central1.svc.clusterset.local:7100,yb-masters.eu-west1.svc.clusterset.local:7100,yb-masters.ap-south1.svc.clusterset.local:7100" | |
storage: | |
master: | |
storageClass: "standard-rwo" | |
tserver: | |
storageClass: "standard-rwo" | |
replicas: | |
master: 1 | |
tserver: 1 | |
totalMasters: 3 | |
gflags: | |
master: | |
placement_cloud: "gke" | |
placement_region: "us-central1" | |
placement_zone: "us-central1-c" | |
leader_failure_max_missed_heartbeat_periods: 10 | |
tserver: | |
placement_cloud: "gke" | |
placement_region: "us-central1" | |
placement_zone: "us-central1-c" | |
leader_failure_max_missed_heartbeat_periods: 10 | |
preflight: | |
skipBind: true | |
skipAll: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment