Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 563 for cluster1 (0.13 sec)

  1. pkg/test/framework/components/cluster/cluster.go

    	PrimaryName() string
    
    	// Config returns the config cluster for this cluster. Will return itself if
    	// IsConfig.
    	Config() Cluster
    
    	// ConfigName returns the name of the config cluster for this cluster.
    	ConfigName() string
    
    	// HTTPProxy returns the HTTP proxy config to connect to the cluster
    	HTTPProxy() string
    
    	// Metadata returns the value for a given metadata key for the cluster.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/workload.go

    	}
    	return out
    }
    
    func (ws Workloads) Clusters() cluster.Clusters {
    	clusters := make(map[string]cluster.Cluster)
    	for _, w := range ws {
    		if c := w.Cluster(); c != nil {
    			clusters[c.Name()] = c
    		}
    	}
    	out := make(cluster.Clusters, 0, len(clusters))
    	for _, c := range clusters {
    		out = append(out, c)
    	}
    
    	// Sort the clusters by name.
    	sort.SliceStable(out, func(i, j int) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 25 19:46:28 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_waypoint.go

    	clusters = append(clusters, MainInternalCluster, EncapCluster)
    	// Creates per-VIP load balancing upstreams.
    	clusters = append(clusters, cb.buildWaypointInboundVIP(proxy, svcs)...)
    	// Upstream of the "encap" listener.
    	clusters = append(clusters, cb.buildWaypointConnectOriginate(proxy, push))
    
    	for _, c := range clusters {
    		if c.TransportSocket != nil && c.TransportSocketMatches != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. pkg/test/framework/components/environment/kube/settings.go

    	// controlPlaneTopology maps each cluster to the cluster that runs its control plane. For replicated control
    	// plane cases (where each cluster has its own control plane), the cluster will map to itself (e.g. 0->0).
    	controlPlaneTopology clusterTopology
    
    	// networkTopology is used for the initial assignment of networks to each cluster.
    	// The source of truth clusters' networks is the Cluster instances themselves, rather than this field.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. pilot/pkg/networking/grpcgen/cds.go

    	subsetClusters := b.applyDestinationRule(defaultCluster)
    	out := make([]*cluster.Cluster, 0, 1+len(subsetClusters))
    	if defaultCluster != nil {
    		out = append(out, defaultCluster)
    	}
    	return append(out, subsetClusters...)
    }
    
    // edsCluster creates a simple cluster to read endpoints from ads/eds.
    func edsCluster(name string) *cluster.Cluster {
    	return &cluster.Cluster{
    		Name:                 name,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. tests/integration/pilot/workloadentry_test.go

    			}
    			gatewayAddresses := map[string]gwAddr{}
    			for _, cluster := range t.Clusters() {
    				if _, ok := gatewayAddresses[cluster.NetworkName()]; ok {
    					continue
    				}
    				ips, ports := i.EastWestGatewayFor(cluster).AddressesForPort(15443)
    				if ips != nil {
    					gatewayAddresses[cluster.NetworkName()] = gwAddr{ips[0], ports[0]}
    				}
    			}
    			if len(t.Clusters().Networks()) != len(gatewayAddresses) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. pkg/test/framework/components/prometheus/kube.go

    	return c.api[c.clusters.Default().Name()]
    }
    
    func (c *kubeComponent) APIForCluster(cluster cluster.Cluster) prometheusApiV1.API {
    	return c.api[cluster.Name()]
    }
    
    func (c *kubeComponent) RawQuery(cluster cluster.Cluster, promQL string) (model.Value, error) {
    	scopes.Framework.Debugf("Query running: %s", promQL)
    
    	v, _, err := c.api[cluster.Name()].Query(context.Background(), promQL, time.Now())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. pkg/test/framework/config.go

    type configFactory struct {
    	ctx      resource.Context
    	clusters []cluster.Cluster
    	prefix   string
    }
    
    func newConfigFactory(ctx resource.Context, clusters cluster.Clusters) config.Factory {
    	if len(clusters) == 0 {
    		clusters = ctx.Clusters()
    	}
    	return &configFactory{
    		ctx:      ctx,
    		clusters: clusters,
    	}
    }
    
    // GlobalYAMLWrites records how many YAMLs we have applied from all sources.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/envoyfilter/cluster_patch.go

    )
    
    // ApplyClusterMerge processes the MERGE operation and merges the supplied configuration to the matched clusters.
    func ApplyClusterMerge(pctx networking.EnvoyFilter_PatchContext, efw *model.EnvoyFilterWrapper,
    	c *cluster.Cluster, hosts []host.Name,
    ) (out *cluster.Cluster) {
    	defer runtime.HandleCrash(runtime.LogPanic, func(any) {
    		log.Errorf("clusters patch %s/%s caused panic, so the patches did not take effect", efw.Namespace, efw.Name)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. cmd/metrics-v3-cluster-erasure-set.go

    		poolIDL, setIDL)
    )
    
    func b2f(v bool) float64 {
    	if v {
    		return 1
    	}
    	return 0
    }
    
    // loadClusterErasureSetMetrics - `MetricsLoaderFn` for cluster storage erasure
    // set metrics.
    func loadClusterErasureSetMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    	result, _ := c.esetHealthResult.Get()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 14 07:25:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top