cds.yaml223 lines · main
| 1 | resources: |
| 2 | - '@type': type.googleapis.com/envoy.config.cluster.v3.Cluster |
| 3 | name: auth |
| 4 | connect_timeout: 5s |
| 5 | type: STRICT_DNS |
| 6 | dns_refresh_rate: 5s |
| 7 | dns_failure_refresh_rate: |
| 8 | base_interval: 1s |
| 9 | max_interval: 1s |
| 10 | lb_policy: ROUND_ROBIN |
| 11 | load_assignment: |
| 12 | cluster_name: auth |
| 13 | endpoints: |
| 14 | - lb_endpoints: |
| 15 | - endpoint: |
| 16 | address: |
| 17 | socket_address: |
| 18 | address: auth |
| 19 | port_value: 9999 |
| 20 | health_checks: |
| 21 | - timeout: 2s |
| 22 | interval: 5s |
| 23 | unhealthy_threshold: 3 |
| 24 | healthy_threshold: 2 |
| 25 | http_health_check: |
| 26 | path: /health |
| 27 | circuit_breakers: |
| 28 | thresholds: |
| 29 | - priority: DEFAULT |
| 30 | max_connections: 10000 |
| 31 | max_pending_requests: 10000 |
| 32 | max_requests: 10000 |
| 33 | |
| 34 | - '@type': type.googleapis.com/envoy.config.cluster.v3.Cluster |
| 35 | name: rest |
| 36 | connect_timeout: 5s |
| 37 | type: STRICT_DNS |
| 38 | dns_refresh_rate: 5s |
| 39 | dns_failure_refresh_rate: |
| 40 | base_interval: 1s |
| 41 | max_interval: 1s |
| 42 | lb_policy: ROUND_ROBIN |
| 43 | load_assignment: |
| 44 | cluster_name: rest |
| 45 | endpoints: |
| 46 | - lb_endpoints: |
| 47 | - endpoint: |
| 48 | address: |
| 49 | socket_address: |
| 50 | address: rest |
| 51 | port_value: 3000 |
| 52 | health_checks: |
| 53 | - timeout: 2s |
| 54 | interval: 5s |
| 55 | unhealthy_threshold: 3 |
| 56 | healthy_threshold: 2 |
| 57 | http_health_check: |
| 58 | path: / |
| 59 | circuit_breakers: |
| 60 | thresholds: |
| 61 | - priority: DEFAULT |
| 62 | max_connections: 10000 |
| 63 | max_pending_requests: 10000 |
| 64 | max_requests: 10000 |
| 65 | |
| 66 | - '@type': type.googleapis.com/envoy.config.cluster.v3.Cluster |
| 67 | name: realtime |
| 68 | connect_timeout: 5s |
| 69 | type: STRICT_DNS |
| 70 | dns_refresh_rate: 5s |
| 71 | dns_failure_refresh_rate: |
| 72 | base_interval: 1s |
| 73 | max_interval: 1s |
| 74 | lb_policy: ROUND_ROBIN |
| 75 | load_assignment: |
| 76 | cluster_name: realtime |
| 77 | endpoints: |
| 78 | - lb_endpoints: |
| 79 | - endpoint: |
| 80 | address: |
| 81 | socket_address: |
| 82 | address: realtime-dev.briven-realtime |
| 83 | port_value: 4000 |
| 84 | health_checks: |
| 85 | - timeout: 2s |
| 86 | interval: 5s |
| 87 | unhealthy_threshold: 3 |
| 88 | healthy_threshold: 2 |
| 89 | http_health_check: |
| 90 | path: / |
| 91 | circuit_breakers: |
| 92 | thresholds: |
| 93 | - priority: DEFAULT |
| 94 | max_connections: 10000 |
| 95 | max_pending_requests: 10000 |
| 96 | max_requests: 10000 |
| 97 | |
| 98 | - '@type': type.googleapis.com/envoy.config.cluster.v3.Cluster |
| 99 | name: storage |
| 100 | connect_timeout: 5s |
| 101 | type: STRICT_DNS |
| 102 | dns_refresh_rate: 5s |
| 103 | dns_failure_refresh_rate: |
| 104 | base_interval: 1s |
| 105 | max_interval: 1s |
| 106 | lb_policy: ROUND_ROBIN |
| 107 | load_assignment: |
| 108 | cluster_name: storage |
| 109 | endpoints: |
| 110 | - lb_endpoints: |
| 111 | - endpoint: |
| 112 | address: |
| 113 | socket_address: |
| 114 | address: storage |
| 115 | port_value: 5000 |
| 116 | health_checks: |
| 117 | - timeout: 2s |
| 118 | interval: 5s |
| 119 | unhealthy_threshold: 3 |
| 120 | healthy_threshold: 2 |
| 121 | http_health_check: |
| 122 | path: /status |
| 123 | circuit_breakers: |
| 124 | thresholds: |
| 125 | - priority: DEFAULT |
| 126 | max_connections: 10000 |
| 127 | max_pending_requests: 10000 |
| 128 | max_requests: 10000 |
| 129 | |
| 130 | - '@type': type.googleapis.com/envoy.config.cluster.v3.Cluster |
| 131 | name: functions |
| 132 | connect_timeout: 5s |
| 133 | type: STRICT_DNS |
| 134 | dns_refresh_rate: 5s |
| 135 | dns_failure_refresh_rate: |
| 136 | base_interval: 1s |
| 137 | max_interval: 1s |
| 138 | lb_policy: ROUND_ROBIN |
| 139 | load_assignment: |
| 140 | cluster_name: functions |
| 141 | endpoints: |
| 142 | - lb_endpoints: |
| 143 | - endpoint: |
| 144 | address: |
| 145 | socket_address: |
| 146 | address: functions |
| 147 | port_value: 9000 |
| 148 | health_checks: |
| 149 | - timeout: 2s |
| 150 | interval: 5s |
| 151 | unhealthy_threshold: 3 |
| 152 | healthy_threshold: 2 |
| 153 | tcp_health_check: {} |
| 154 | circuit_breakers: |
| 155 | thresholds: |
| 156 | - priority: DEFAULT |
| 157 | max_connections: 10000 |
| 158 | max_pending_requests: 10000 |
| 159 | max_requests: 10000 |
| 160 | |
| 161 | - '@type': type.googleapis.com/envoy.config.cluster.v3.Cluster |
| 162 | name: meta |
| 163 | connect_timeout: 5s |
| 164 | type: STRICT_DNS |
| 165 | dns_refresh_rate: 5s |
| 166 | dns_failure_refresh_rate: |
| 167 | base_interval: 1s |
| 168 | max_interval: 1s |
| 169 | lb_policy: ROUND_ROBIN |
| 170 | load_assignment: |
| 171 | cluster_name: meta |
| 172 | endpoints: |
| 173 | - lb_endpoints: |
| 174 | - endpoint: |
| 175 | address: |
| 176 | socket_address: |
| 177 | address: meta |
| 178 | port_value: 8080 |
| 179 | health_checks: |
| 180 | - timeout: 2s |
| 181 | interval: 5s |
| 182 | unhealthy_threshold: 3 |
| 183 | healthy_threshold: 2 |
| 184 | http_health_check: |
| 185 | path: /health |
| 186 | circuit_breakers: |
| 187 | thresholds: |
| 188 | - priority: DEFAULT |
| 189 | max_connections: 10000 |
| 190 | max_pending_requests: 10000 |
| 191 | max_requests: 10000 |
| 192 | |
| 193 | - '@type': type.googleapis.com/envoy.config.cluster.v3.Cluster |
| 194 | name: studio |
| 195 | connect_timeout: 5s |
| 196 | type: STRICT_DNS |
| 197 | dns_refresh_rate: 5s |
| 198 | dns_failure_refresh_rate: |
| 199 | base_interval: 1s |
| 200 | max_interval: 1s |
| 201 | lb_policy: ROUND_ROBIN |
| 202 | load_assignment: |
| 203 | cluster_name: studio |
| 204 | endpoints: |
| 205 | - lb_endpoints: |
| 206 | - endpoint: |
| 207 | address: |
| 208 | socket_address: |
| 209 | address: studio |
| 210 | port_value: 3000 |
| 211 | health_checks: |
| 212 | - timeout: 2s |
| 213 | interval: 5s |
| 214 | unhealthy_threshold: 3 |
| 215 | healthy_threshold: 2 |
| 216 | http_health_check: |
| 217 | path: /project/default |
| 218 | circuit_breakers: |
| 219 | thresholds: |
| 220 | - priority: DEFAULT |
| 221 | max_connections: 10000 |
| 222 | max_pending_requests: 10000 |
| 223 | max_requests: 10000 |