Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 156 for ClusterID (0.1 sec)

  1. pilot/pkg/credentials/kube/multicluster.go

    	})
    	return m
    }
    
    func (m *Multicluster) ForCluster(clusterID cluster.ID) (credentials.Controller, error) {
    	cc := m.component.ForCluster(clusterID)
    	if cc == nil {
    		return nil, fmt.Errorf("cluster %v is not configured", clusterID)
    	}
    	agg := &AggregateController{}
    	agg.controllers = []*CredentialsController{}
    	agg.authController = *cc
    	if clusterID != m.configCluster {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 19:18:21 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. pilot/pkg/xds/eds_sh_test.go

    	clusterID := cluster.ID(fmt.Sprintf("cluster%d", networkNum))
    	networkID := network.ID(fmt.Sprintf("network%d", networkNum))
    	memRegistry := memory.NewServiceDiscovery()
    	memRegistry.XdsUpdater = server.Discovery
    	memRegistry.ClusterID = clusterID
    
    	reg := serviceregistry.Simple{
    		ClusterID:           clusterID,
    		ProviderID:          provider.Mock,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/util/label/label.go

    		out[LabelTopologyRegion] = region
    	}
    	if len(zone) > 0 {
    		out[LabelTopologyZone] = zone
    	}
    	if len(subzone) > 0 {
    		out[label.TopologySubzone.Name] = subzone
    	}
    	if len(clusterID) > 0 {
    		out[label.TopologyCluster.Name] = clusterID.String()
    	}
    	if len(k8sNode) > 0 {
    		out[LabelHostname] = k8sNode
    	}
    	if len(networkID) > 0 {
    		out[label.TopologyNetwork.Name] = networkID.String()
    	}
    	return out
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 11 03:56:40 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. cmd/cloud-controller-manager/main.go

    	}
    
    	if !cloud.HasClusterID() {
    		if config.ComponentConfig.KubeCloudShared.AllowUntaggedCloud {
    			klog.Warning("detected a cluster without a ClusterID.  A ClusterID will be required in the future.  Please tag your cluster to avoid any future issues")
    		} else {
    			klog.Fatalf("no ClusterID found.  A ClusterID is required for the cloud provider to function properly.  This check can be bypassed by setting the allow-untagged-cloud option")
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 19 13:01:01 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. 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)
  6. pilot/pkg/serviceregistry/instance.go

    }
    
    // Simple Instance implementation, where fields are set individually.
    type Simple struct {
    	ProviderID provider.ID
    	ClusterID  cluster.ID
    
    	DiscoveryController
    }
    
    func (r Simple) Provider() provider.ID {
    	return r.ProviderID
    }
    
    func (r Simple) Cluster() cluster.ID {
    	return r.ClusterID
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 07 18:40:05 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. pilot/pkg/bootstrap/servicecontroller.go

    	})
    
    	return nil
    }
    
    // initKubeRegistry creates all the k8s service controllers under this pilot
    func (s *Server) initKubeRegistry(args *PilotArgs) (err error) {
    	args.RegistryOptions.KubeOptions.ClusterID = s.clusterID
    	args.RegistryOptions.KubeOptions.Revision = args.Revision
    	args.RegistryOptions.KubeOptions.Metrics = s.environment
    	args.RegistryOptions.KubeOptions.XDSUpdater = s.XDSServer
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. pilot/pkg/xds/xds_test.go

    					s := xds.NewFakeDiscoveryServer(t, fakeOpts)
    					for clusterID := range want {
    						p := s.SetupProxy(&model.Proxy{Metadata: &model.NodeMetadata{ClusterID: clusterID}})
    						eps := xdstest.ExtractLoadAssignments(s.Endpoints(p))[tt.serviceCluster]
    						if want := want[clusterID]; !slices.EqualUnordered(eps, want) {
    							t.Errorf("got %v but want %v for %s", eps, want, clusterID)
    						}
    					}
    				})
    			}
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/pilot/status.go

    			}
    			cds, lds, eds, rds, ecds := getSyncStatus(&clientConfig)
    			cp := multixds.CpInfo(dr)
    			fullStatus = append(fullStatus, &xdsWriterStatus{
    				proxyID:               clientConfig.GetNode().GetId(),
    				clusterID:             meta.ClusterID.String(),
    				istiodID:              cp.ID,
    				istiodVersion:         meta.IstioVersion,
    				clusterStatus:         cds,
    				listenerStatus:        lds,
    				routeStatus:           rds,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 04:16:55 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. istioctl/pkg/workload/workload_test.go

    			expectedException: true,
    			expectedOutput:    "Error: expecting a WorkloadGroup artifact file or the name and namespace of an existing WorkloadGroup\n",
    		},
    		{
    			description:       "Invalid command args - missing valid input spec",
    			args:              strings.Split("entry configure -n bar -o temp --clusterID cid", " "),
    			expectedException: true,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top