Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 57 for ClusterConfiguration (0.27 sec)

  1. cmd/kubeadm/app/phases/upgrade/postupgrade.go

    	if err := uploadconfig.UploadConfiguration(cfg, client); err != nil {
    		errs = append(errs, err)
    	}
    
    	// Create the new, version-branched kubelet ComponentConfig ConfigMap
    	if err := kubeletphase.CreateConfigMap(&cfg.ClusterConfiguration, client); err != nil {
    		errs = append(errs, errors.Wrap(err, "error creating kubelet configuration ConfigMap"))
    	}
    
    	// Write the new kubelet config down to disk and the env file if needed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/phases/join/kubelet.go

    	}
    
    	// Write the configuration for the kubelet (using the bootstrap token credentials) to disk so the kubelet can start
    	if err := kubeletphase.WriteConfigToDisk(&initCfg.ClusterConfiguration, data.KubeletDir(), data.PatchesDir(), data.OutputWriter()); err != nil {
    		return err
    	}
    
    	// Write env file with flags for the kubelet to use. We only want to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/init.go

    	featureGatesString      string
    	ignorePreflightErrors   []string
    	bto                     *options.BootstrapTokenOptions
    	externalInitCfg         *kubeadmapiv1.InitConfiguration
    	externalClusterCfg      *kubeadmapiv1.ClusterConfiguration
    	uploadCerts             bool
    	skipCertificateKeyPrint bool
    	patchesDir              string
    	skipCRIDetect           bool
    }
    
    const (
    	// CoreDNSPhase is the name of CoreDNS subphase in "kubeadm init"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 03:37:05 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/util/apiclient/wait.go

    		writer:  writer,
    	}
    }
    
    type controlPlaneComponent struct {
    	name string
    	url  string
    }
    
    // getControlPlaneComponents takes a ClusterConfiguration and returns a slice of
    // control plane components and their secure ports.
    func getControlPlaneComponents(cfg *kubeadmapi.ClusterConfiguration) []controlPlaneComponent {
    	portArg := "secure-port"
    	portAPIServer, idx := kubeadmapi.GetArgValue(cfg.APIServer.ExtraArgs, portArg, -1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/upgrade/common.go

    		// installed one.
    		initCfg.KubernetesVersion = newK8sVersion
    	}
    
    	// Run healthchecks against the cluster
    	if err := upgrade.CheckClusterHealth(client, &initCfg.ClusterConfiguration, ignorePreflightErrorsSet, printer); err != nil {
    		return nil, nil, nil, nil, errors.Wrap(err, "[upgrade/health] FATAL")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.deepcopy.go

    func (in *ClusterConfiguration) DeepCopy() *ClusterConfiguration {
    	if in == nil {
    		return nil
    	}
    	out := new(ClusterConfiguration)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    func (in *ClusterConfiguration) DeepCopyObject() runtime.Object {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/addons/dns/dns_test.go

    	type args struct {
    		cfg           *kubeadmapi.ClusterConfiguration
    		client        clientset.Interface
    		printManifest bool
    	}
    	tests := []struct {
    		name    string
    		args    args
    		wantOut string
    		wantErr bool
    	}{
    		{
    			name: "cfg is empty",
    			args: args{
    				cfg:           &kubeadmapi.ClusterConfiguration{},
    				client:        newMockClientForTest(t, 2, 1, "", "", ""),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/certs/renewal/manager.go

    )
    
    // Manager can be used to coordinate certificate renewal and related processes,
    // like CSR generation or checking certificate expiration
    type Manager struct {
    	// cfg holds the kubeadm ClusterConfiguration
    	cfg *kubeadmapi.ClusterConfiguration
    
    	// kubernetesDir holds the directory where kubeConfig files are stored
    	kubernetesDir string
    
    	// certificates contains the certificateRenewHandler controlled by this manager
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/certs/certs.go

    	fmt.Printf("[certs] Valid certificates and keys now exist in %q\n", cfg.CertificatesDir)
    
    	// Service accounts are not x509 certs, so handled separately
    	return CreateServiceAccountKeyAndPublicKeyFiles(cfg.CertificatesDir, cfg.ClusterConfiguration.EncryptionAlgorithmType())
    }
    
    // CreateServiceAccountKeyAndPublicKeyFiles creates new public/private key files for signing service account users.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 05 10:17:14 UTC 2023
    - 19.4K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/upgrade/staticpods_test.go

    	return certutil.ParseCertsPEM(authInfo.ClientCertificateData)
    }
    
    func TestGetPathManagerForUpgrade(t *testing.T) {
    
    	externalEtcd := &kubeadmapi.InitConfiguration{
    		ClusterConfiguration: kubeadmapi.ClusterConfiguration{
    			Etcd: kubeadmapi.Etcd{
    				External: &kubeadmapi.ExternalEtcd{
    					Endpoints: []string{"10.100.0.1:2379", "10.100.0.2:2379", "10.100.0.3:2379"},
    				},
    			},
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 32K bytes
    - Viewed (0)
Back to top