Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 195 for KubeConfig (0.21 sec)

  1. cmd/kube-controller-manager/app/options/options_test.go

    	"--horizontal-pod-autoscaler-initial-readiness-delay=50s",
    	"--http2-max-streams-per-connection=47",
    	"--kube-api-burst=100",
    	"--kube-api-content-type=application/json",
    	"--kube-api-qps=50.0",
    	"--kubeconfig=/kubeconfig",
    	"--large-cluster-size-threshold=100",
    	"--leader-elect=false",
    	"--leader-elect-lease-duration=30s",
    	"--leader-elect-renew-deadline=15s",
    	"--leader-elect-resource-lock=configmap",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/upgrade/node.go

    	if _, err := os.Stat(filepath); os.IsNotExist(err) {
    		isControlPlaneNode = false
    	}
    	if len(nodeOptions.kubeConfigPath) == 0 {
    		// Update the kubeconfig path depending on whether this is a control plane node or not.
    		nodeOptions.kubeConfigPath = constants.GetKubeletKubeConfigPath()
    		if isControlPlaneNode {
    			nodeOptions.kubeConfigPath = constants.GetAdminKubeConfigPath()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/controlplane/volumes.go

    	mounts.NewHostPathMount(kubeadmconstants.KubeControllerManager, caCertsVolumeName, caCertsVolumePath, caCertsVolumePath, true, &hostPathDirectoryOrCreate)
    	// Read-only mount for the controller manager kubeconfig file
    	controllerManagerKubeConfigFile := filepath.Join(kubeadmconstants.KubernetesDir, kubeadmconstants.ControllerManagerKubeConfigFileName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:33:18 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/config_flags_fake.go

    	}
    	return f.clientConfig
    }
    
    // ToRESTConfig implements RESTClientGetter.
    // Returns a REST client configuration based on a provided path
    // to a .kubeconfig file, loading rules, and config flag overrides.
    // Expects the AddFlags method to have been called.
    func (f *TestConfigFlags) ToRESTConfig() (*rest.Config, error) {
    	return f.ToRawKubeConfigLoader().ClientConfig()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 11 15:04:11 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. tools/certs/Makefile.k8s.mk

    ##fetch-root-ca:	fetch root CA  and key from a k8s cluster.
    .PHONY: fetch-root-ca
    rawcluster := $(shell kubectl config current-context)
    cluster := $(subst /,-,$(rawcluster))
    pwd := $(shell pwd)
    export KUBECONFIG
    
    fetch-root-ca:
    	@echo "fetching root ca from k8s cluster: "$(cluster)""
    	@mkdir -p $(pwd)/$(cluster)
    	@res=$$(kubectl get secret istio-ca-secret -n $(ISTIO_NAMESPACE) >/dev/null 2>&1; echo $$?); \
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 27 13:15:29 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. cni/pkg/plugin/plugin.go

    	podRetrievalInterval   = 1 * time.Second
    )
    
    const (
    	ISTIOINIT  = "istio-init"
    	ISTIOPROXY = "istio-proxy"
    )
    
    // Kubernetes a K8s specific struct to hold config
    type Kubernetes struct {
    	Kubeconfig        string   `json:"kubeconfig"`
    	ExcludeNamespaces []string `json:"exclude_namespaces"`
    }
    
    // Config is whatever you expect your configuration json to be. This is whatever
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. cluster/gce/util.sh

          #TODO(mikedanese): allow static pods to start before creating a client
          #flags+=" --bootstrap-kubeconfig=/var/lib/kubelet/bootstrap-kubeconfig"
          #flags+=" --kubeconfig=/var/lib/kubelet/kubeconfig"
          flags+=" --register-with-taints=node-role.kubernetes.io/control-plane=:NoSchedule"
          flags+=" --kubeconfig=/var/lib/kubelet/bootstrap-kubeconfig"
          flags+=" --register-schedulable=false"
        fi
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  8. pkg/scheduler/scheduler.go

    func (sched *Scheduler) applyDefaultHandlers() {
    	sched.SchedulePod = sched.schedulePod
    	sched.FailureHandler = sched.handleSchedulingFailure
    }
    
    type schedulerOptions struct {
    	componentConfigVersion string
    	kubeConfig             *restclient.Config
    	// Overridden by profile level percentageOfNodesToScore if set in v1.
    	percentageOfNodesToScore          int32
    	podInitialBackoffSeconds          int64
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/certs/renewal/manager_test.go

    			},
    			expectedOrganization: testCertOrganization,
    		},
    		{
    			name:     "Certificate renewal for a certificate embedded in a kubeconfig file",
    			certName: "admin.conf",
    			createCertFunc: func() *x509.Certificate {
    				return writeTestKubeconfig(t, dir, "admin.conf", testCACert, testCAKey, notBefore, notAfter)
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/token_test.go

    			args:          []string{"generate"},
    			configToWrite: "",
    			expectedError: false,
    		},
    		{
    			name:          "valid: delete from --kubeconfig",
    			args:          []string{"delete", "abcdef.1234567890123456", "--dry-run", "--kubeconfig=" + fullPath},
    			configToWrite: testConfigToken,
    			expectedError: false,
    		},
    		{
    			name:          "valid: delete from " + clientcmd.RecommendedConfigPathEnvVar,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top