Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 807 for cluster1 (0.12 sec)

  1. samples/kind-lb/setupkind.sh

    fi
    
    # Create k8s cluster using the giving release and name
    if [[ -z "${K8SRELEASE}" ]]; then
      cat << EOF | kind create cluster --config -
    ${CONFIG}
    EOF
    else
      cat << EOF | kind create cluster "${K8SRELEASE}" --config -
    ${CONFIG}
    EOF
    fi
    
    # Setup cluster context
    kubectl cluster-info --context "kind-${CLUSTERNAME}"
    
    # Setup metallb using v0.13.11
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 02 19:08:19 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  2. pkg/test/framework/components/opentelemetry/kube.go

    	o := &otel{
    		cluster: ctx.Clusters().GetOrDefault(c.Cluster),
    	}
    	ctx.TrackResource(o)
    
    	istioCfg, err := istio.DefaultConfig(ctx)
    	if err != nil {
    		return nil, err
    	}
    
    	ns := istioCfg.TelemetryNamespace
    	if err := install(ctx, ns); err != nil {
    		return nil, err
    	}
    
    	f := testKube.NewSinglePodFetch(o.cluster, ns, fmt.Sprintf("app=%s", appName))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 19:29:38 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/multicluster_analyzers_test.go

    	return sa, nil
    }
    
    type fakeClientImpl struct {
    	kube.CLIClient
    	clusterID cluster.ID
    }
    
    func (f *fakeClientImpl) ClusterID() cluster.ID {
    	return f.clusterID
    }
    
    func addStore(sa *local.IstiodAnalyzer, clusterName string, yamls []string) error {
    	client := &fakeClientImpl{
    		CLIClient: kube.NewFakeClient(),
    		clusterID: cluster.ID(clusterName),
    	}
    	// Gather test files
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/verify_no_outside_compilation_markers_pass_test.cc

        func.func @main() -> () {
         %0 = "tf_device.cluster"() ({
            "tf_device.launch"() ({
              "tf.B"() : () -> ()
              tf_device.return // end device
            }) {device = "/job:worker/replica:0/task:0/device:CPU:0"} : () -> ()
    
            tf_device.return // end cluster
          }) {cluster_attr = "cluster_attr"} : () -> tensor<*xi32>
          func.return
        }
      })";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. pkg/test/framework/components/zipkin/kube.go

    	if err != nil {
    		return err
    	}
    	return nil
    }
    
    func newKube(ctx resource.Context, cfgIn Config) (Instance, error) {
    	c := &kubeComponent{
    		cluster: ctx.Clusters().GetOrDefault(cfgIn.Cluster),
    	}
    	c.id = ctx.TrackResource(c)
    
    	// Find the zipkin pod and service, and start forwarding a local port.
    	cfg, err := istio.DefaultConfig(ctx)
    	if err != nil {
    		return nil, err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 19:29:38 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. istioctl/pkg/proxyconfig/clusters.go

    	for istiod, clusters := range statuses {
    		for _, c := range clusters {
    			_, _ = fmt.Fprintf(w, "%s\t%s\t%s\t%s\n", c.ID, c.SecretName, c.SyncStatus, istiod)
    		}
    	}
    	_ = w.Flush()
    	return nil
    }
    
    func parseClusterStatuses(input map[string][]byte) (map[string][]cluster.DebugInfo, error) {
    	statuses := make(map[string][]cluster.DebugInfo, len(input))
    	for istiodKey, bytes := range input {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. pkg/test/framework/components/cluster/clusters.go

    func (c Clusters) Default() Cluster {
    	return c[0]
    }
    
    // GetOrDefault returns the given cluster if non-nil. Otherwise returns the first
    // Cluster in the list.
    func (c Clusters) GetOrDefault(cluster Cluster) Cluster {
    	if cluster != nil {
    		return cluster
    	}
    	return c.Default()
    }
    
    // GetByName returns the Cluster with the given name or nil if it is not in the list.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. istioctl/pkg/util/configdump/cluster.go

    	for i := range dac {
    		dac[i].Cluster.TypeUrl = v3.ClusterType
    	}
    	sort.Slice(dac, func(i, j int) bool {
    		cluster := &cluster.Cluster{}
    		err = dac[i].Cluster.UnmarshalTo(cluster)
    		if err != nil {
    			return false
    		}
    		name := cluster.Name
    		err = dac[j].Cluster.UnmarshalTo(cluster)
    		if err != nil {
    			return false
    		}
    		return name < cluster.Name
    	})
    	if stripVersions {
    		for i := range dac {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  9. pkg/test/framework/components/cluster/kube/cluster.go

    	"istio.io/istio/pkg/test/framework/components/cluster"
    	"istio.io/istio/pkg/test/framework/components/echo"
    )
    
    var _ echo.Cluster = &Cluster{}
    
    // Cluster for a Kubernetes cluster. Provides access via a kube.Client.
    type Cluster struct {
    	// filename is the path to the kubeconfig file for this cluster.
    	filename string
    
    	// vmSupport indicates the cluster is being used for fake VMs
    	vmSupport bool
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 17 22:54:10 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/envoy/clusters/clusters.go

    	if c.clusters == nil {
    		return fmt.Errorf("config writer has not been primed")
    	}
    
    	w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 5, ' ', 0)
    
    	clusterEndpoint := make([]EndpointCluster, 0)
    	for _, cluster := range c.clusters.ClusterStatuses {
    		for _, host := range cluster.HostStatuses {
    			if filter.Verify(host, cluster.Name) {
    				addr := retrieveEndpointAddress(host)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 5.8K bytes
    - Viewed (0)
Back to top