Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 154 for Cluster (0.26 sec)

  1. 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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  2. istioctl/pkg/multicluster/cluster.go

    import (
    	"context"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/client-go/kubernetes"
    )
    
    // Use UUID of kube-system Namespace as unique identifier for cluster.
    // (see https://docs.google.com/document/d/1F__vEKeI41P7PPUCMM9PVPYY34pyrvQI5rbTJVnS5c4)
    func clusterUID(client kubernetes.Interface) (types.UID, error) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Sep 02 03:11:58 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/cluster.go

    		if c.Cluster != nil {
    			clusterTyped := &cluster.Cluster{}
    			// Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info.
    			c.Cluster.TypeUrl = v3.ClusterType
    			err = c.Cluster.UnmarshalTo(clusterTyped)
    			if err != nil {
    				return nil, err
    			}
    			clusters = append(clusters, clusterTyped)
    		}
    	}
    	for _, c := range clusterDump.StaticClusters {
    		if c.Cluster != nil {
    			clusterTyped := &cluster.Cluster{}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu May 11 05:38:17 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/compare/cluster.go

    	}
    	diff := difflib.UnifiedDiff{
    		FromFile: "Istiod Clusters",
    		A:        difflib.SplitLines(istiodBytes.String()),
    		ToFile:   "Envoy Clusters",
    		B:        difflib.SplitLines(envoyBytes.String()),
    		Context:  c.context,
    	}
    	text, err := difflib.GetUnifiedDiffString(diff)
    	if err != nil {
    		return err
    	}
    	if text != "" {
    		fmt.Fprintln(c.w, "Clusters Don't Match")
    		fmt.Fprintln(c.w, text)
    	} else {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Mar 12 10:02:09 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. istioctl/pkg/workload/testdata/vmconfig-nil-proxy-metadata/cluster.env.golden

    Xiaopeng Han <******@****.***> 1686841337 +0800
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 546 bytes
    - Viewed (0)
  6. istioctl/pkg/workload/testdata/vmconfig/ipv4/cluster.env.golden

    Xiaopeng Han <******@****.***> 1686841337 +0800
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 655 bytes
    - Viewed (0)
  7. istioctl/pkg/workload/testdata/vmconfig/ipv6/cluster.env.golden

    Xiaopeng Han <******@****.***> 1686841337 +0800
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 657 bytes
    - Viewed (0)
  8. cmd/metrics-v3-cluster-config.go

    		"Reduced redundancy storage class parity")
    	configStandardParityMD = NewGaugeMD(configStandardParity,
    		"Standard storage class parity")
    )
    
    // loadClusterConfigMetrics - `MetricsLoaderFn` for cluster config
    // such as standard and RRS parity.
    func loadClusterConfigMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    	clusterDriveMetrics, err := c.clusterDriveMetrics.Get()
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 12:50:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. cmd/metrics-v3-cluster-usage.go

    	usageTotalBytesMD = NewGaugeMD(usageTotalBytes,
    		"Total cluster usage in bytes")
    	usageObjectsCountMD = NewGaugeMD(usageObjectsCount,
    		"Total cluster objects count")
    	usageVersionsCountMD = NewGaugeMD(usageVersionsCount,
    		"Total cluster object versions (including delete markers) count")
    	usageDeleteMarkersCountMD = NewGaugeMD(usageDeleteMarkersCount,
    		"Total cluster delete markers count")
    	usageBucketsCountMD = NewGaugeMD(usageBucketsCount,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 14 18:11:42 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. cmd/metrics-v3-cluster-health.go

    		"Count of offline drives in the cluster")
    	healthDrivesOnlineCountMD = NewGaugeMD(healthDrivesOnlineCount,
    		"Count of online drives in the cluster")
    	healthDrivesCountMD = NewGaugeMD(healthDrivesCount,
    		"Count of all drives in the cluster")
    )
    
    // loadClusterHealthDriveMetrics - `MetricsLoaderFn` for cluster storage drive metrics
    // such as online, offline and total drives.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top