Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for sub_zone (0.47 sec)

  1. tools/packaging/common/gcp_envoy_bootstrap.json

        "locality": {
          {{ if .region }}
          "region": "{{ .region }}",
          {{ end }}
          {{ if .zone }}
          "zone": "{{ .zone }}",
          {{ end }}
          {{ if .sub_zone }}
          "sub_zone": "{{ .sub_zone }}",
          {{ end }}
        },
        "metadata": {{ .meta_json_str }}
      },
      "dynamic_resources": {
        "lds_config": {
          "resource_api_version": "V3",
          "ads": {}
        },
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. tools/packaging/common/envoy_bootstrap.json

          {{- end }}
          {{- if .zone }}
          {{- if .region }}
          ,
          {{- end }}
          "zone": "{{ .zone }}"
          {{- end }}
          {{- if .sub_zone }}
          {{- if or .region .zone }}
          ,
          {{- end }}
          "sub_zone": "{{ .sub_zone }}"
          {{- end }}
        },
        "metadata": {{ .meta_json_str }}
      },
      "layered_runtime": {
          "layers": [
              {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  3. pkg/bootstrap/testdata/runningsds_golden.json

        }
      },
      "node": {
        "id": "sidecar~1.2.3.4~foo~bar",
        "cluster": "test.test",
        "locality": {
          "region": "regionA"
          ,
          "zone": "zoneB"
          ,
          "sub_zone": "sub_zoneC"
        },
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. pkg/bootstrap/testdata/running_golden.json

        }
      },
      "node": {
        "id": "sidecar~1.2.3.4~foo~bar",
        "cluster": "test.test",
        "locality": {
          "region": "regionA"
          ,
          "zone": "zoneB"
          ,
          "sub_zone": "sub_zoneC"
        },
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. pkg/bootstrap/option/instances.go

    func Region(value string) Instance {
    	return newOptionOrSkipIfZero("region", value)
    }
    
    func Zone(value string) Instance {
    	return newOptionOrSkipIfZero("zone", value)
    }
    
    func SubZone(value string) Instance {
    	return newOptionOrSkipIfZero("sub_zone", value)
    }
    
    func NodeMetadata(meta *model.BootstrapNodeMetadata, rawMeta map[string]any) Instance {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. pkg/bootstrap/option/instances_test.go

    			expected: "fake",
    		},
    		{
    			testName: "zone",
    			key:      "zone",
    			option:   option.Zone("fake"),
    			expected: "fake",
    		},
    		{
    			testName: "sub zone",
    			key:      "sub_zone",
    			option:   option.SubZone("fake"),
    			expected: "fake",
    		},
    		{
    			testName: "node metadata nil",
    			key:      "meta_json_str",
    			option:   option.NodeMetadata(nil, nil),
    			expected: nil,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/loadbalancer/loadbalancer_test.go

    						Region:  "region1",
    						Zone:    "zone1",
    						SubZone: "subzone1",
    					},
    				},
    				{
    					Locality: &core.Locality{
    						Region:  "region1",
    						Zone:    "zone1",
    						SubZone: "subzone1",
    					},
    				},
    				{
    					Locality: &core.Locality{
    						Region:  "region1",
    						Zone:    "zone1",
    						SubZone: "subzone2",
    					},
    				},
    				{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/cluster_test.go

    		locality := localityLbEndpoint.Locality
    		if locality.Region == "region1" && locality.SubZone == "subzone1" {
    			g.Expect(localityLbEndpoint.LoadBalancingWeight.GetValue()).To(Equal(uint32(34)))
    			g.Expect(localityLbEndpoint.LbEndpoints[0].LoadBalancingWeight.GetValue()).To(Equal(uint32(40)))
    		} else if locality.Region == "region1" && locality.SubZone == "subzone2" {
    			g.Expect(localityLbEndpoint.LoadBalancingWeight.GetValue()).To(Equal(uint32(17)))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  9. pilot/pkg/networking/util/util_test.go

    				Zone:   "zone",
    			},
    		},
    		{
    			name:     "locality with region zone and subzone",
    			locality: "region/zone/subzone",
    			want: &core.Locality{
    				Region:  "region",
    				Zone:    "zone",
    				SubZone: "subzone",
    			},
    		},
    		{
    			name:     "locality with region zone subzone and rack",
    			locality: "region/zone/subzone/rack",
    			want: &core.Locality{
    				Region:  "region",
    				Zone:    "zone",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  10. pilot/pkg/xds/eds_test.go

    				Protocol: protocol.HTTP,
    			},
    		},
    	}
    	m.AddService(svc)
    	localities := []string{
    		"region1/zone1/subzone1",
    		"region1/zone1/subzone2",
    		"region1/zone2/subzone1",
    		"region2/zone1/subzone1",
    		"region2/zone1/subzone2",
    		"region2/zone2/subzone1",
    		"region2/zone2/subzone2",
    	}
    	for i, locality := range localities {
    		_, _ = i, locality
    		m.AddInstance(&model.ServiceInstance{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 20:58:47 UTC 2024
    - 39.6K bytes
    - Viewed (0)
Back to top