Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 68 for kubeconfig (0.15 sec)

  1. cni/pkg/install/testdata/istio-cni-prefixed.conf

    {
      "cniVersion": "0.3.1",
      "name": "istio-cni",
      "type": "prefix-istio-cni",
      "plugin_log_level": "debug",
      "kubernetes": {
          "kubeconfig": "/path/to/kubeconfig",
          "cni_bin_dir": "/path/cni/bin"
      }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 215 bytes
    - Viewed (0)
  2. cni/test/testdata/pre/noname_calico.conflist

          "plugin_log_level": "info",
          "mtu": 1500,
          "ipam": {
            "type": "calico-ipam"
          },
          "policy": {
            "type": "k8s"
          },
          "kubernetes": {
            "kubeconfig": "/etc/cni/net.d/calico-kubeconfig"
          }
        },
        {
          "type": "portmap",
          "snat": true,
          "capabilities": {
            "portMappings": true
          }
        }
      ]
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 499 bytes
    - Viewed (0)
  3. cni/pkg/install/testdata/list-with-istio.conflist

        },
        {
          "sysctl": {
            "net.core.somaxconn": "500"
          },
          "type": "tuning"
        },
        {
          "kubernetes": {
            "cni_bin_dir": "/path/cni/bin",
            "kubeconfig": "/path/to/kubeconfig"
          },
          "name": "istio-cni",
          "plugin_log_level": "debug",
          "type": "istio-cni"
        }
      ]
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 724 bytes
    - Viewed (0)
  4. istioctl/pkg/cli/context.go

    	}
    	// Validate if "all" incoming contexts are present in the kubeconfig. Fail fast if not.
    	rawConfig, err := clientcmd.NewNonInteractiveDeferredLoadingClientConfig(kube.ConfigLoadingRules(*i.kubeconfig), nil).RawConfig()
    	if err != nil {
    		return nil, fmt.Errorf("getting raw kubeconfig from file %q: %v", *i.kubeconfig, err)
    	}
    	impersonateConfig := i.getImpersonateConfig()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 23 19:31:32 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. cni/pkg/plugin/kubernetes.go

    	// Some config can be passed in a kubeconfig file
    	kubeconfig := filepath.Join(conf.CNIAgentRunDir, constants.CNIPluginKubeconfName)
    
    	config, err := kube.DefaultRestConfig(kubeconfig, "")
    	if err != nil {
    		log.Errorf("Failed setting up kubernetes client with kubeconfig %s", kubeconfig)
    		return nil, err
    	}
    
    	log.Debugf("istio-cni set up kubernetes client with kubeconfig %s", kubeconfig)
    
    	// Create the client
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. istioctl/pkg/multicluster/remote_secret.go

      istioctl --kubeconfig=c0.yaml create-remote-secret --name c0 \
        | kubectl --kubeconfig=c1.yaml apply -f -
    
      # Delete a secret that was previously installed in c1
      istioctl --kubeconfig=c0.yaml create-remote-secret --name c0 \
        | kubectl --kubeconfig=c1.yaml delete -f -
    
      # Create a secret access a remote cluster with an auth plugin
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  7. cni/test/testdata/expected/10-calico.conflist-istioconfig

      "name": "k8s-pod-network",
      "plugins": [
        {
          "etcd_endpoints": "http://10.110.0.136:6666",
          "ipam": {
            "type": "calico-ipam"
          },
          "kubernetes": {
            "kubeconfig": "/etc/cni/net.d/calico-kubeconfig"
          },
          "mtu": 1500,
          "plugin_log_level": "info",
          "policy": {
            "type": "k8s"
          },
          "type": "calico"
        },
        {
          "capabilities": {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 793 bytes
    - Viewed (0)
  8. cni/test/testdata/pre/nover_calico.conflist

          "plugin_log_level": "info",
          "mtu": 1500,
          "ipam": {
            "type": "calico-ipam"
          },
          "policy": {
            "type": "k8s"
          },
          "kubernetes": {
            "kubeconfig": "/etc/cni/net.d/calico-kubeconfig"
          }
        },
        {
          "type": "portmap",
          "snat": true,
          "capabilities": {
            "portMappings": true
          }
        }
      ]
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 503 bytes
    - Viewed (0)
  9. cni/test/testdata/pre/noplugins_calico.conflist

          "plugin_log_level": "info",
          "mtu": 1500,
          "ipam": {
            "type": "calico-ipam"
          },
          "policy": {
            "type": "k8s"
          },
          "kubernetes": {
            "kubeconfig": "/etc/cni/net.d/calico-kubeconfig"
          }
        },
        {
          "type": "portmap",
          "snat": true,
          "capabilities": {
            "portMappings": true
          }
        }
      ]
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 527 bytes
    - Viewed (0)
  10. istioctl/pkg/multicluster/remote_secret_test.go

    			obj = &o
    			break
    		}
    	}
    	if obj == nil {
    		t.Fatalf("expected %v/%v", name, kind)
    	}
    }
    
    func TestCreateRemoteKubeconfig(t *testing.T) {
    	fakeClusterName := "fake-clusterName-0"
    	kubeconfig := strings.ReplaceAll(`apiVersion: v1
    clusters:
    - cluster:
        certificate-authority-data: Y2FEYXRh
        server: https://1.2.3.4
      name: {cluster}
    contexts:
    - context:
        cluster: {cluster}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top