Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 195 for KubeConfig (0.23 sec)

  1. cmd/kubeadm/app/cmd/upgrade/diff.go

    	"k8s.io/kubernetes/cmd/kubeadm/app/phases/controlplane"
    	kubeadmutil "k8s.io/kubernetes/cmd/kubeadm/app/util"
    	configutil "k8s.io/kubernetes/cmd/kubeadm/app/util/config"
    	kubeconfigutil "k8s.io/kubernetes/cmd/kubeadm/app/util/kubeconfig"
    	"k8s.io/kubernetes/cmd/kubeadm/app/util/output"
    )
    
    type diffFlags struct {
    	apiServerManifestPath         string
    	controllerManagerManifestPath string
    	schedulerManifestPath         string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/multicluster_test.go

    }
    
    func initController(client kube.CLIClient, ns string, stop <-chan struct{}) *multicluster.Controller {
    	sc := multicluster.NewController(client, ns, "cluster-1", mesh.NewFixedWatcher(nil))
    	sc.ClientBuilder = func(kubeConfig []byte, c cluster.ID, configOverrides ...func(*rest.Config)) (kube.Client, error) {
    		return kube.NewFakeClient(), nil
    	}
    	client.RunAndWait(stop)
    	return sc
    }
    
    func Test_KubeSecretController(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/sidecar_simulation_test.go

    			Result: simulation.Result{
    				ClusterMatched: fmt.Sprintf("outbound|%d||headless.default.svc.cluster.local", call.Port),
    			},
    		})
    	}
    	runSimulationTest(t, nil, xds.FakeOptions{}, simulationTest{
    		kubeConfig: `apiVersion: v1
    kind: Service
    metadata:
      name: headless
      namespace: default
    spec:
      clusterIP: None
      selector:
        app: headless
      ports:` + ports + `
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  4. cmd/kube-proxy/app/server_linux_test.go

    bindAddress: 0.0.0.0
    bindAddressHardFail: false
    clientConnection:
      acceptContentTypes: ""
      burst: 10
      contentType: application/vnd.kubernetes.protobuf
      kubeconfig: /var/lib/kube-proxy/kubeconfig.conf
      qps: 5
    clusterCIDR: 10.244.0.0/16
    configSyncPeriod: 15m0s
    conntrack:
      maxPerCore: 32768
      min: 131072
      tcpCloseWaitTimeout: 1h0m0s
      tcpEstablishedTimeout: 24h0m0s
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/addons/proxy/proxy.go

    	return nil
    }
    
    func createKubeProxyConfigMap(cfg *kubeadmapi.ClusterConfiguration, localEndpoint *kubeadmapi.APIEndpoint, client clientset.Interface, printManifest bool) ([]byte, error) {
    	// Generate ControlPlane Endpoint kubeconfig file
    	controlPlaneEndpoint, err := kubeadmutil.GetControlPlaneEndpoint(cfg.ControlPlaneEndpoint, localEndpoint)
    	if err != nil {
    		return []byte(""), err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 13:23:44 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  6. samples/kind-lb/setupkind.sh

    while : ; do
      ip=$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.'${addrName}'}}{{end}}' "${CLUSTERNAME}"-control-plane)
      if [[ -n "${ip}" ]]; then
        #Change the kubeconfig file not to use the loopback IP
        if [[ "${IPFAMILY}" == "ipv6" ]]; then
          ip="[${ip}]"
        elif [[ "${IPFAMILY}" == "dual" ]] && [[ "${IPV6GW}" == "true" ]]; then
          ip="[${ip}]"
        fi
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 02 19:08:19 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  7. cni/pkg/install/cniconfig.go

    		PluginLogLevel:  cfg.PluginLogLevel,
    		LogUDSAddress:   cfg.LogUDSAddress,
    		CNIEventAddress: cfg.CNIEventAddress,
    		AmbientEnabled:  cfg.AmbientEnabled,
    		Kubernetes: plugin.Kubernetes{
    			Kubeconfig:        filepath.Join(cfg.CNINetDir, cfg.KubeconfigFilename),
    			ExcludeNamespaces: strings.Split(cfg.ExcludeNamespaces, ","),
    		},
    	}
    
    	pluginConfig.Name = "istio-cni"
    	pluginConfig.Type = "istio-cni"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. istioctl/cmd/root.go

    		Title:   "Istio Control",
    		Section: "istioctl CLI",
    		Manual:  "Istio Control",
    	}))
    
    	validateCmd := validate.NewValidateCommand(ctx)
    	hideInheritedFlags(validateCmd, "kubeconfig")
    	rootCmd.AddCommand(validateCmd)
    
    	rootCmd.AddCommand(optionsCommand(rootCmd))
    
    	// BFS applies the flag error function to all subcommands
    	seenCommands := make(map[*cobra.Command]bool)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. pkg/kube/util_test.go

    			envKubeconfig:      "",
    			context:            "cluster2.local-context",
    			wantHost:           "https://3.3.3.3:8001",
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			t.Setenv("KUBECONFIG", tt.envKubeconfig)
    
    			resp, err := BuildClientConfig(tt.explicitKubeconfig, tt.context)
    			if (err != nil) != tt.wantErr {
    				t.Fatalf("BuildClientConfig() error = %v, wantErr %v", err, tt.wantErr)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 04:16:49 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. cmd/kube-controller-manager/app/controllermanager.go

    	rootClientBuilder = clientbuilder.SimpleControllerClientBuilder{
    		ClientConfig: c.Kubeconfig,
    	}
    	if c.ComponentConfig.KubeCloudShared.UseServiceAccountCredentials {
    		if len(c.ComponentConfig.SAController.ServiceAccountKeyFile) == 0 {
    			// It's possible another controller process is creating the tokens for us.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:53 UTC 2024
    - 37.5K bytes
    - Viewed (0)
Back to top