Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 138 for ClusterConfiguration (0.28 sec)

  1. cmd/kubeadm/app/apis/kubeadm/v1beta4/defaults.go

    	if obj.Timeouts == nil {
    		obj.Timeouts = &Timeouts{}
    	}
    	SetDefaults_Timeouts(obj.Timeouts)
    }
    
    // SetDefaults_ClusterConfiguration assigns default values for the ClusterConfiguration
    func SetDefaults_ClusterConfiguration(obj *ClusterConfiguration) {
    	if obj.KubernetesVersion == "" {
    		obj.KubernetesVersion = DefaultKubernetesVersion
    	}
    
    	if obj.Networking.ServiceSubnet == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 9.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/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)
  4. cmd/kubeadm/app/phases/copycerts/copycerts_test.go

    	initConfiguration.ClusterConfiguration.CertificatesDir = tmpdir
    
    	// Temporary directory where certificates will be downloaded to
    	targetTmpdir := testutil.SetupTempDir(t)
    	defer os.RemoveAll(targetTmpdir)
    	initForDownloadConfiguration := testutil.GetDefaultInternalConfig(t)
    	initForDownloadConfiguration.ClusterConfiguration.CertificatesDir = targetTmpdir
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 01 00:15:30 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. cmd/kubeadm/app/phases/kubelet/config.go

    	"k8s.io/kubernetes/cmd/kubeadm/app/util/patches"
    )
    
    // WriteConfigToDisk writes the kubelet config object down to a file
    // Used at "kubeadm init" and "kubeadm upgrade" time
    func WriteConfigToDisk(cfg *kubeadmapi.ClusterConfiguration, kubeletDir, patchesDir string, output io.Writer) error {
    	kubeletCfg, ok := cfg.ComponentConfigs[componentconfigs.KubeletGroup]
    	if !ok {
    		return errors.New("no kubelet component config found")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 02 12:34:30 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/phases/join/preflight.go

    		// joining a new control plane instance and if all the necessary certificates are provided
    		hasCertificateKey := len(j.CertificateKey()) > 0
    		if err := checkIfReadyForAdditionalControlPlane(&initCfg.ClusterConfiguration, hasCertificateKey); err != nil {
    			// outputs the not ready for hosting a new control plane instance message
    			ctx := map[string]string{
    				"Error": err.Error(),
    			}
    
    			var msg bytes.Buffer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top