Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 247 for KubeConfig (0.15 sec)

  1. 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)
  2. cmd/kubeadm/app/cmd/phases/init/showjoincommand.go

    		  mkdir -p $HOME/.kube
    		  sudo cp -i {{.KubeConfigPath}} $HOME/.kube/config
    		  sudo chown $(id -u):$(id -g) $HOME/.kube/config
    
    		Alternatively, if you are the root user, you can run:
    
    		  export KUBECONFIG=/etc/kubernetes/admin.conf
    
    		You should now deploy a pod network to the cluster.
    		Run "kubectl apply -f [podnetwork].yaml" with one of the options listed at:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 26 15:35:58 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  3. 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)
  4. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/webhook.go

    		},
    		Audiences: auds,
    	}, true, nil
    }
    
    // tokenReviewInterfaceFromConfig builds a client from the specified kubeconfig file,
    // and returns a TokenReviewInterface that uses that client. Note that the client submits TokenReview
    // requests to the exact path specified in the kubeconfig file, so arbitrary non-API servers can be targeted.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 18 00:47:42 UTC 2022
    - 11.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/plugin/pkg/audit/webhook/webhook_test.go

    	defer func() {
    		f.Close()
    		os.Remove(f.Name())
    	}()
    
    	// NOTE(ericchiang): Do we need to use a proper serializer?
    	require.NoError(t, stdjson.NewEncoder(f).Encode(config), "writing kubeconfig")
    
    	retryBackoff := wait.Backoff{
    		Duration: 500 * time.Millisecond,
    		Factor:   1.5,
    		Jitter:   0.2,
    		Steps:    5,
    	}
    	b, err := NewBackend(f.Name(), groupVersion, retryBackoff, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 08 06:37:26 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. cmd/kube-proxy/app/server_test.go

    func TestLoadConfig(t *testing.T) {
    
    	yamlTemplate := `apiVersion: kubeproxy.config.k8s.io/v1alpha1
    bindAddress: %s
    clientConnection:
      acceptContentTypes: "abc"
      burst: 100
      contentType: content-type
      kubeconfig: "/path/to/kubeconfig"
      qps: 7
    clusterCIDR: "%s"
    configSyncPeriod: 15s
    conntrack:
      maxPerCore: 2
      min: 1
      tcpCloseWaitTimeout: 10s
      tcpEstablishedTimeout: 20s
    healthzBindAddress: "%s"
    hostnameOverride: "foo"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  9. pkg/kubelet/certificate/bootstrap/bootstrap_test.go

      name: context-b
    current-context: context-b
    users:
    - name: user-a
      user:
       token: mytoken-b
    - name: user-b
      user:
       token: mytoken-b
    `)
    	fileboot, err := os.CreateTemp(fileDir, "kubeconfig")
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer fileboot.Close()
    	os.WriteFile(fileboot.Name(), testDatabootstrap, os.FileMode(0755))
    
    	dir, err := os.MkdirTemp(fileDir, "k8s-test-certstore-current")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 09 14:24:11 UTC 2023
    - 13K bytes
    - Viewed (0)
  10. prow/integ-suite-kind.sh

        for i in $(seq 0 $((${#CLUSTER_NAMES[@]} - 1))); do
          CLUSTER="${CLUSTER_NAMES[i]}"
          KCONFIG="${KUBECONFIGS[i]}"
          TOPOLOGY_JSON=$(set_topology_value "${TOPOLOGY_JSON}" "${CLUSTER}" "meta.kubeconfig" "${KCONFIG}")
        done
        RUNTIME_TOPOLOGY_CONFIG_FILE="${ARTIFACTS}/topology-config.json"
        echo "${TOPOLOGY_JSON}" > "${RUNTIME_TOPOLOGY_CONFIG_FILE}"
    
        export INTEGRATION_TEST_TOPOLOGY_FILE
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 05:42:41 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top