Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 59 of 59 for CertificatesDir (0.3 sec)

  1. cmd/kubeadm/app/apis/kubeadm/validation/validation.go

    	allErrs = append(allErrs, ValidateScheduler(&c.Scheduler, field.NewPath("scheduler"))...)
    	allErrs = append(allErrs, ValidateAbsolutePath(c.CertificatesDir, field.NewPath("certificatesDir"))...)
    	allErrs = append(allErrs, ValidateFeatureGates(c.FeatureGates, field.NewPath("featureGates"))...)
    	allErrs = append(allErrs, ValidateHostPort(c.ControlPlaneEndpoint, field.NewPath("controlPlaneEndpoint"))...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/componentconfigs/kubelet.go

    	}
    
    	// Require all clients to the kubelet API to have client certs signed by the cluster CA
    	clientCAFile := filepath.Join(cfg.CertificatesDir, constants.CACertName)
    	if kc.config.Authentication.X509.ClientCAFile == "" {
    		kc.config.Authentication.X509.ClientCAFile = clientCAFile
    	} else if kc.config.Authentication.X509.ClientCAFile != clientCAFile {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/init_test.go

    		{
    			name: "Pass with config from file",
    			flags: map[string]string{
    				options.CfgPath: configFilePath,
    			},
    			validate: func(t *testing.T, data *initData) {
    				validData := &initData{
    					certificatesDir:       kubeadmapiv1.DefaultCertificatesDir,
    					kubeconfigPath:        constants.GetAdminKubeConfigPath(),
    					kubeconfigDir:         constants.KubernetesDir,
    					ignorePreflightErrors: sets.New("c", "d"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 12:26:20 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/apis/kubeadm/v1beta3/doc.go

    //	    address: "10.100.0.1"
    //	  extraVolumes:
    //	  - name: "some-volume"
    //	    hostPath: "/etc/some-path"
    //	    mountPath: "/etc/some-pod-path"
    //	    readOnly: false
    //	    pathType: File
    //	certificatesDir: "/etc/kubernetes/pki"
    //	imageRepository: "registry.k8s.io"
    //	clusterName: "example-cluster"
    //	---
    //	apiVersion: kubelet.config.k8s.io/v1beta1
    //	kind: KubeletConfiguration
    //	# kubelet specific options here
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 13:30:26 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/apis/kubeadm/v1beta4/doc.go

    //	    address: "10.100.0.1"
    //	  extraVolumes:
    //	  - name: "some-volume"
    //	    hostPath: "/etc/some-path"
    //	    mountPath: "/etc/some-pod-path"
    //	    readOnly: false
    //	    pathType: File
    //	certificatesDir: "/etc/kubernetes/pki"
    //	imageRepository: "registry.k8s.io"
    //	clusterName: "example-cluster"
    //	---
    //	apiVersion: kubelet.config.k8s.io/v1beta1
    //	kind: KubeletConfiguration
    //	# kubelet specific options here
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/upgrade/staticpods.go

    	}
    
    	// Initialize the new etcd client if it wasn't pre-initialized
    	if newEtcdClient == nil {
    		etcdClient, err := etcdutil.NewFromCluster(client, cfg.CertificatesDir)
    		if err != nil {
    			return true, errors.Wrap(err, "fatal error creating etcd client")
    		}
    		newEtcdClient = etcdClient
    	}
    
    	// Checking health state of etcd after the upgrade
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 10:07:41 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/config/common_test.go

    			oldCfg: dedent.Dedent(fmt.Sprintf(`
    			apiVersion: %s
    			kind: ResetConfiguration
    			force: true
    			cleanupTmpDir: true
    			criSocket: unix:///var/run/containerd/containerd.sock
    			certificatesDir: /etc/kubernetes/pki
    			`, gvExperimental)),
    			expectedKinds: []string{
    				constants.ResetConfigurationKind,
    			},
    			allowExperimental: true,
    			expectErr:         false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/join.go

    func (j *joinData) CertificateWriteDir() string {
    	if j.dryRun {
    		return j.dryRunDir
    	}
    	return j.initCfg.CertificatesDir
    }
    
    // TLSBootstrapCfg returns the cluster-info (kubeconfig).
    func (j *joinData) TLSBootstrapCfg() (*clientcmdapi.Config, error) {
    	if j.tlsBootstrapCfg != nil {
    		return j.tlsBootstrapCfg, nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.20.md

      - cluster-name: use clusterName from ClusterConfiguration
      - cert-dir: use certificatesDir from ClusterConfiguration ([#94879](https://github.com/kubernetes/kubernetes/pull/94879), [@knight42](https://github.com/knight42)) [SIG Cluster Lifecycle]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 19 21:05:45 UTC 2022
    - 409K bytes
    - Viewed (0)
Back to top