Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for sub_zone (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pilot/pkg/autoregistration/controller_test.go

    				Weight:         1,
    				Network:        "nw0",
    				Locality:       "rgn1/zone1/subzone1",
    				ServiceAccount: "sa-a",
    			},
    		},
    	}
    	proxy := fakeProxy("10.0.0.1", group, "nw1", "sa")
    	proxy.Labels[model.LocalityLabel] = "rgn2/zone2/subzone2"
    	proxy.XdsNode = fakeNode("rgn2", "zone2", "subzone2")
    	proxy.Locality = proxy.XdsNode.Locality
    
    	wantLabels := map[string]string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/serviceentry/conversion_test.go

    						"topology.kubernetes.io/zone":   "zone1",
    						"topology.istio.io/subzone":     "subzone1",
    						"topology.istio.io/network":     "network1",
    						"topology.istio.io/cluster":     clusterID,
    					},
    					Address: "1.1.1.1",
    					Network: "network1",
    					Locality: model.Locality{
    						Label:     "region1/zone1/subzone1",
    						ClusterID: cluster.ID(clusterID),
    					},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 39K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    	subzone := node.GetLabels()[label.TopologySubzone.Name]
    
    	if region == "" && zone == "" && subzone == "" {
    		return nil
    	}
    
    	return &workloadapi.Locality{
    		Region:  region,
    		Zone:    zone,
    		Subzone: subzone,
    	}
    }
    
    func getWorkloadEntryLocality(p *networkingv1alpha3.WorkloadEntry) *workloadapi.Locality {
    	region, zone, subzone := labelutil.SplitLocalityLabel(p.GetLocality())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top