Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 310 for clusters (0.16 sec)

  1. 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 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  2. 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 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  3. common/scripts/kind_provisioner.sh

      # Trap replaces any previous trap's, so we need to explicitly cleanup clusters here
      trap cleanup_kind_clusters EXIT
    
      function deploy_kind() {
        IDX="${1}"
        CLUSTER_NAME="${CLUSTER_NAMES[$IDX]}"
        CLUSTER_POD_SUBNET="${CLUSTER_POD_SUBNETS[$IDX]}"
        CLUSTER_SVC_SUBNET="${CLUSTER_SVC_SUBNETS[$IDX]}"
        CLUSTER_YAML="${ARTIFACTS}/config-${CLUSTER_NAME}.yaml"
        if [ ! -f "${CLUSTER_YAML}" ]; then
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  4. istioctl/pkg/proxyconfig/proxyconfig.go

    		Long:  `Retrieve information about cluster configuration for the Envoy instance in the specified pod.`,
    		Example: `  # Retrieve summary about cluster configuration for a given pod from Envoy.
      istioctl proxy-config clusters <pod-name[.namespace]>
    
      # Retrieve cluster summary for clusters with port 9080.
      istioctl proxy-config clusters <pod-name[.namespace]> --port 9080
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  5. cni/pkg/install/testdata/kubeconfig-newhost

    apiVersion: v1
    clusters:
    - cluster:
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Aug 11 01:19:03 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  6. cni/pkg/install/kubeconfig.go

    		Preferences: api.Preferences{},
    		Clusters: map[string]*api.Cluster{
    			clusterName: cluster,
    		},
    		AuthInfos: map[string]*api.AuthInfo{
    			userName: {
    				Token: string(token),
    			},
    		},
    		Contexts: map[string]*api.Context{
    			contextName: {
    				AuthInfo: userName,
    				Cluster:  clusterName,
    			},
    		},
    		CurrentContext: contextName,
    	}
    
    	lcfg, err := latest.Scheme.ConvertToVersion(kcfg, latest.ExternalVersion)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Aug 11 01:19:03 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/compare/comparator_test.go

    	if err != nil {
    		t.Fatalf("Failed to create Comparator: %v", err)
    	}
    	err = comparator.Diff()
    	if err != nil {
    		t.Errorf("Unexpected error during diff: %v", err)
    	}
    
    	expected := []string{"Clusters Match", "Listeners Match", "Routes Match"}
    	for _, exp := range expected {
    		if !bytes.Contains(outputBuffer.Bytes(), []byte(exp)) {
    			t.Errorf("Expected %s, but it was not found", exp)
    		}
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  8. istioctl/pkg/proxyconfig/proxyconfig_test.go

    		{
    			args:           []string{},
    			expectedString: "A group of commands used to retrieve information about",
    		},
    		{ // clusters invalid
    			args:           strings.Split("clusters invalid", " "),
    			expectedString: "unable to retrieve Pod: pods \"invalid\" not found",
    			wantException:  true, // "istioctl proxy-config clusters invalid" should fail
    		},
    		{ // listeners invalid
    			args:           strings.Split("listeners invalid", " "),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  9. docs/config/README.md

    ```
    KEY:
    etcd  federate multiple clusters for IAM and Bucket DNS
    
    ARGS:
    endpoints*       (csv)       comma separated list of etcd endpoints e.g. "http://localhost:2379"
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 17.7K bytes
    - Viewed (0)
  10. istioctl/pkg/multicluster/remote_secret_test.go

    clusters:
    - cluster:
        certificate-authority-data: Y2FEYXRh
        server: https://1.2.3.4
      name: {cluster}
    contexts:
    - context:
        cluster: {cluster}
        user: {cluster}
      name: {cluster}
    current-context: {cluster}
    kind: Config
    preferences: {}
    users:
    - name: {cluster}
      user:
        token: token
    `, "{cluster}", fakeClusterName)
    
    	cases := []struct {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
Back to top