Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 142 for ClusterID (0.16 sec)

  1. pkg/kube/client.go

    	if alreadyStarted {
    		log.Debugf("cluster %q kube client started again", c.clusterID)
    	} else {
    		log.Infof("cluster %q kube client started", c.clusterID)
    	}
    }
    
    func (c *client) GetKubernetesVersion() (*kubeVersion.Info, error) {
    	return c.version.Get()
    }
    
    func (c *client) ClusterID() cluster.ID {
    	return c.clusterID
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K bytes
    - Viewed (0)
  2. pilot/cmd/pilot-discovery/app/cmd.go

    		"DNS domain suffix")
    	c.PersistentFlags().StringVar((*string)(&serverArgs.RegistryOptions.KubeOptions.ClusterID), "clusterID", features.ClusterName,
    		"The ID of the cluster that this Istiod instance resides")
    	c.PersistentFlags().StringToStringVar(&serverArgs.RegistryOptions.KubeOptions.ClusterAliases, "clusterAliases", map[string]string{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. pilot/pkg/networking/util/util_test.go

    		want     *core.Metadata
    	}{
    		{
    			name: "all empty",
    			metadata: &model.EndpointMetadata{
    				TLSMode:      model.DisabledTLSModeLabel,
    				Network:      "",
    				WorkloadName: "",
    				ClusterID:    "",
    			},
    			want: &core.Metadata{
    				FilterMetadata: map[string]*structpb.Struct{
    					IstioMetadataKey: {
    						Fields: map[string]*structpb.Value{
    							"workload": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  4. pkg/istio-agent/xds_proxy.go

    	cache := wasm.NewLocalFileCache(constants.IstioDataDir, ia.cfg.WASMOptions)
    	proxy := &XdsProxy{
    		istiodAddress:         ia.proxyConfig.DiscoveryAddress,
    		istiodSAN:             ia.cfg.IstiodSAN,
    		clusterID:             ia.secOpts.ClusterID,
    		handlers:              map[string]ResponseHandler{},
    		stopChan:              make(chan struct{}),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/serviceimportcache_test.go

    	// Create and run the controller.
    	c1, ic := newTestServiceImportCache(t)
    
    	// Create and run another controller.
    	c2, _ := NewFakeControllerWithOptions(t, FakeControllerOptions{
    		ClusterID: "test-cluster2",
    	})
    
    	c1.opts.MeshServiceController.AddRegistryAndRun(c2, c2.stop)
    
    	ic.createKubeService(t, c1)
    	ic.createServiceImport(t, mcsapi.ClusterSetIP, serviceImportVIPs)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 18:50:38 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  6. pilot/cmd/pilot-agent/options/security.go

    		CAProviderName:                 caProviderEnv,
    		PilotCertProvider:              features.PilotCertProvider,
    		OutputKeyCertToDir:             outputKeyCertToDir,
    		ProvCert:                       provCert,
    		ClusterID:                      clusterIDVar.Get(),
    		FileMountedCerts:               fileMountedCertsEnv,
    		WorkloadNamespace:              PodNamespaceVar.Get(),
    		ServiceAccount:                 serviceAccountVar.Get(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. pilot/pkg/xds/ecds_test.go

    		ConfigString: mustReadFile(t, "./testdata/ecds.yaml"),
    	})
    
    	ads := s.ConnectADS().WithType(v3.ExtensionConfigurationType)
    	wantExtensionConfigName := "extension-config"
    	md := model.NodeMetadata{
    		ClusterID: constants.DefaultClusterName,
    	}
    	res := ads.RequestResponseAck(t, &discovery.DiscoveryRequest{
    		Node: &core.Node{
    			Id:       ads.ID,
    			Metadata: md.ToStruct(),
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. pkg/kube/kclient/client_test.go

    				Namespace: "foo",
    			},
    			want: kubetypes.InformerOptions{
    				Namespace: "foo",
    				Cluster:   c.ClusterID(),
    			},
    		},
    		{
    			name: "watch pods in the InformerWatchNamespace",
    			gvr:  gvr.Pod,
    			want: kubetypes.InformerOptions{
    				Namespace: features.InformerWatchNamespace,
    				Cluster:   c.ClusterID(),
    			},
    		},
    		{
    			name: "watch namespaces",
    			gvr:  gvr.Namespace,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 15:12:54 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. pkg/istio-agent/xds_proxy_delta.go

    		return err
    	}
    	defer upstreamConn.Close()
    
    	xds := discovery.NewAggregatedDiscoveryServiceClient(upstreamConn)
    	ctx = metadata.AppendToOutgoingContext(context.Background(), "ClusterID", p.clusterID)
    	for k, v := range p.xdsHeaders {
    		ctx = metadata.AppendToOutgoingContext(ctx, k, v)
    	}
    	// We must propagate upstream termination to Envoy. This ensures that we resume the full XDS sequence on new connection
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. pkg/test/framework/components/istio/ca.go

    		Csr:              string(csrPEM),
    		ValidityDuration: int64((time.Hour * 24 * 7).Seconds()),
    	}
    	rctx := metadata.NewOutgoingContext(context.Background(), metadata.Pairs("Authorization", "Bearer "+token, "ClusterID", constants.DefaultClusterName))
    	resp, err := client.CreateCertificate(rctx, req)
    	if err != nil {
    		return Cert{}, fmt.Errorf("send CSR: %v", err)
    	}
    	certChain := []byte{}
    	for _, c := range resp.CertChain {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top