Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for zone2 (0.17 sec)

  1. src/time/format.go

    				b = append(b, name...)
    				break
    			}
    			// No time zone known for this time, but we must print one.
    			// Use the -0700 format.
    			zone := offset / 60 // convert to minutes
    			if zone < 0 {
    				b = append(b, '-')
    				zone = -zone
    			} else {
    				b = append(b, '+')
    			}
    			b = appendInt(b, zone/60, 2)
    			b = appendInt(b, zone%60, 2)
    		case stdFracSecond0, stdFracSecond9:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_builder_test.go

    						Locality: model.Locality{
    							ClusterID: "cluster-1",
    							Label:     "region1/zone1/subzone1",
    						},
    						LbWeight: 30,
    						Network:  "filtered-out",
    					},
    				},
    			},
    			expected: []*endpoint.LocalityLbEndpoints{
    				{
    					Locality: &core.Locality{
    						Region:  "region1",
    						Zone:    "zone1",
    						SubZone: "subzone1",
    					},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  3. cluster/gce/util.sh

        local zones
        read -r -a zones <<< "${E2E_ZONES}"
        # tear them down in reverse order, finally tearing down the master too.
        for ((zone_num=${#zones[@]}-1; zone_num>0; zone_num--)); do
          KUBE_GCE_ZONE="${zones[zone_num]}" KUBE_USE_EXISTING_MASTER="true" "${KUBE_ROOT}/cluster/kube-down.sh"
        done
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_test.go

    					Distribute: []*networking.LocalityLoadBalancerSetting_Distribute{
    						{
    							From: "region1/zone1/subzone1",
    							To: map[string]uint32{
    								"region1/zone1/subzone1": 80,
    								"region1/zone1/subzone2": 15,
    								"region1/zone1/subzone3": 5,
    							},
    						},
    					},
    				},
    			},
    			discoveryType:                  cluster.Cluster_EDS,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    		}
    		return nil
    	}
    
    	region := node.GetLabels()[v1.LabelTopologyRegion]
    	zone := node.GetLabels()[v1.LabelTopologyZone]
    	subzone := node.GetLabels()[label.TopologySubzone.Name]
    
    	if region == "" && zone == "" && subzone == "" {
    		return nil
    	}
    
    	return &workloadapi.Locality{
    		Region:  region,
    		Zone:    zone,
    		Subzone: subzone,
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/ztunnel/configdump/api.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package configdump
    
    type Locality struct {
    	Region  string `json:"region,omitempty"`
    	Zone    string `json:"zone,omitempty"`
    	Subzone string `json:"subzone,omitempty"`
    }
    
    type ZtunnelWorkload struct {
    	WorkloadIPs           []string          `json:"workloadIps"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. pkg/workloadapi/workload.proto

      LoadBalancing load_balancing = 8;
    }
    
    message LoadBalancing {
      enum Scope {
        UNSPECIFIED_SCOPE = 0;
        // Prefer traffic in the same region.
        REGION = 1;
        // Prefer traffic in the same zone.
        ZONE = 2;
        // Prefer traffic in the same subzone.
        SUBZONE = 3;
        // Prefer traffic on the same node.
        NODE = 4;
        // Prefer traffic in the same cluster.
        CLUSTER = 5;
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. src/time/tick_test.go

    	drainAsync()
    	done = make(chan bool, 2)
    	done1 := make(chan bool)
    	done2 := make(chan bool)
    	stop := make(chan bool)
    	go func() {
    		select {
    		case <-C:
    			done <- true
    		case <-stop:
    		}
    		close(done1)
    	}()
    	go func() {
    		select {
    		case <-C:
    			done <- true
    		case <-stop:
    		}
    		close(done2)
    	}()
    	Sleep(sched)
    	notDone(done)
    	tim.Reset(sched / 2)
    	Sleep(sched)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    				WorkloadName:      "name",
    				Status:            workloadapi.WorkloadStatus_UNHEALTHY,
    				ClusterId:         testC,
    				Locality: &workloadapi.Locality{
    					Region: "region",
    					Zone:   "zone",
    				},
    			},
    		},
    		{
    			name: "pod with authz",
    			inputs: []any{
    				model.WorkloadAuthorization{
    					LabelSelector: model.NewSelector(map[string]string{"app": "foo"}),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  10. pkg/workloadapi/workload.pb.go

    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    	Region  string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
    	Zone    string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
    	Subzone string `protobuf:"bytes,3,opt,name=subzone,proto3" json:"subzone,omitempty"`
    }
    
    func (x *Locality) Reset() {
    	*x = Locality{}
    	if protoimpl.UnsafeEnabled {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
Back to top