Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 46 for ClusterID (0.14 sec)

  1. 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)
  2. 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)
  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. 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)
  5. 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)
  6. 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)
  7. pilot/pkg/serviceregistry/kube/controller/fake.go

    		XDSUpdater:            xdsUpdater,
    		Metrics:               &model.Environment{},
    		MeshNetworksWatcher:   opts.NetworksWatcher,
    		MeshWatcher:           opts.MeshWatcher,
    		ClusterID:             opts.ClusterID,
    		MeshServiceController: meshServiceController,
    		ConfigCluster:         opts.ConfigCluster,
    		SystemNamespace:       opts.SystemNamespace,
    	}
    	c := NewController(opts.Client, options)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/endpoint_builder_test.go

    			cc := &Controller{
    				nodes:       nodes,
    				meshWatcher: mesh.NewFixedWatcher(mesh.DefaultMeshConfig()),
    				networkManager: &networkManager{
    					clusterID: c.ctl.cluster,
    					network:   c.ctl.network,
    				},
    				opts: Options{ClusterID: c.ctl.cluster},
    			}
    			eb := cc.NewEndpointBuilder(&pod)
    
    			assert.Equal(t, eb.labels, c.expected)
    		})
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. pkg/config/analysis/analyzers/multicluster/service.go

    	c.ForEach(gvk.Service, func(r *resource.Instance) bool {
    		clusterID := r.Origin.ClusterName()
    		if clusterID == "" {
    			return true
    		}
    		if _, ok := services[r.Metadata.FullName]; !ok {
    			services[r.Metadata.FullName] = map[cluster.ID]*resource.Instance{}
    		}
    		services[r.Metadata.FullName][clusterID] = r
    		return true
    	})
    
    	for fullname, clusterServices := range services {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. pilot/pkg/bootstrap/discovery.go

    	"istio.io/istio/pilot/pkg/xds"
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    	"istio.io/istio/pkg/cluster"
    )
    
    func InitGenerators(
    	s *xds.DiscoveryServer,
    	cg core.ConfigGenerator,
    	systemNameSpace string,
    	clusterID cluster.ID,
    	internalDebugMux *http.ServeMux,
    ) {
    	env := s.Env
    	generators := map[string]model.XdsResourceGenerator{}
    	edsGen := &xds.EdsGenerator{Cache: s.Cache, EndpointIndex: env.EndpointIndex}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 18:25:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top