Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for sub_zone (0.2 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/config/validation/agent/validation.go

    					}
    					if regionZoneSubZoneMap[region][zone][subZone] {
    						return fmt.Errorf("locality %s overlap with previous specified ones", locality)
    					}
    					regionZoneSubZoneMap[region][zone][subZone] = true
    				} else {
    					regionZoneSubZoneMap[region][zone] = map[string]bool{subZone: true}
    				}
    			} else {
    				regionZoneSubZoneMap[region] = map[string]map[string]bool{zone: {subZone: true}}
    			}
    		}
    	}
    
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  10. pkg/model/proxy.go

    func ConvertLocality(locality string) *core.Locality {
    	if locality == "" {
    		return &core.Locality{}
    	}
    
    	region, zone, subzone := label.SplitLocalityLabel(locality)
    	return &core.Locality{
    		Region:  region,
    		Zone:    zone,
    		SubZone: subzone,
    	}
    }
    
    // ALPNH2Only advertises that Proxy is going to use HTTP/2 when talking to the cluster.
    var ALPNH2Only = []string{"h2"}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 17:18:17 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top