Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Infoln (0.2 sec)

  1. cmd/kubeadm/app/cmd/phases/init/uploadconfig.go

    	if err != nil {
    		return err
    	}
    
    	klog.V(1).Infoln("[upload-config] Uploading the kubelet component config to a ConfigMap")
    	if err = kubeletphase.CreateConfigMap(&cfg.ClusterConfiguration, client); err != nil {
    		return errors.Wrap(err, "error creating kubelet configuration ConfigMap")
    	}
    
    	klog.V(1).Infoln("[upload-config] Preserving the CRISocket information for the control-plane node")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 02 12:34:30 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/upgrade/preflight.go

    }
    
    // checkUnsupportedPlugins checks if there are any plugins included in the current configuration
    // that are unsupported for migration.
    func checkUnsupportedPlugins(client clientset.Interface) error {
    	klog.V(1).Infoln("validating if there are any unsupported CoreDNS plugins in the Corefile")
    	_, corefile, currentInstalledCoreDNSversion, err := dns.GetCoreDNSInfo(client)
    	if err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 25 13:53:28 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/completion.go

    	-e "s/\\\$(type${RWORD}/\$(__kubeadm_type/g" \
    	<<'BASH_COMPLETION_EOF'
    `
    	klog.V(1).Infoln("[completion] writing completion code for Zsh")
    	out.Write([]byte(zshInitialization))
    
    	buf := new(bytes.Buffer)
    	kubeadm.GenBashCompletion(buf)
    	klog.V(1).Infoln("[completion] writing completion code for Bash")
    	out.Write(buf.Bytes())
    
    	zshTail := `
    BASH_COMPLETION_EOF
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 25 09:28:34 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/phases/join/preflight.go

    	// Start with general checks
    	klog.V(1).Infoln("[preflight] Running general checks")
    	if err := preflight.RunJoinNodeChecks(utilsexec.New(), j.Cfg(), j.IgnorePreflightErrors()); err != nil {
    		return err
    	}
    
    	initCfg, err := j.InitCfg()
    	if err != nil {
    		return err
    	}
    
    	// Continue with more specific checks based on the init configuration
    	klog.V(1).Infoln("[preflight] Running configuration dependant checks")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/phases/reset/cleanupnode.go

    	r, ok := c.(resetData)
    	if !ok {
    		return errors.New("cleanup-node phase invoked with an invalid data struct")
    	}
    	certsDir := r.CertificatesDir()
    
    	// Try to stop the kubelet service
    	klog.V(1).Infoln("[reset] Getting init system")
    	initSystem, err := initsystem.GetInitSystem()
    	if err != nil {
    		klog.Warningln("[reset] The kubelet service could not be stopped by kubeadm. Unable to detect a supported init system!")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/phases/init/etcd.go

    				return errors.Wrap(err, "error creating local etcd static pod manifest file")
    			}
    		} else {
    			klog.V(1).Infoln("[etcd] External etcd mode. Skipping the creation of a manifest for local etcd")
    		}
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 11 08:02:50 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/phases/init/kubelet.go

    	// First off, configure the kubelet. In this short timeframe, kubeadm is trying to stop/restart the kubelet
    	// Try to stop the kubelet service so no race conditions occur when configuring it
    	if !data.DryRun() {
    		klog.V(1).Infoln("Stopping the kubelet")
    		kubeletphase.TryStopKubelet()
    	}
    
    	// Write env file with flags for the kubelet to use. We do not need to write the --register-with-taints for the control-plane,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Aug 20 09:18:00 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/phases/reset/removeetcdmember.go

    	r, ok := c.(resetData)
    	if !ok {
    		return errors.New("remove-etcd-member-phase phase invoked with an invalid data struct")
    	}
    	cfg := r.Cfg()
    
    	// Only clear etcd data when using local etcd.
    	klog.V(1).Infoln("[reset] Checking for etcd config")
    	etcdManifestPath := filepath.Join(kubeadmconstants.KubernetesDir, kubeadmconstants.ManifestsSubDirName, "etcd.yaml")
    	etcdDataDir, err := getEtcdDataDir(etcdManifestPath, cfg)
    	if err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 11 08:02:50 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/componentconfigs/kubelet_windows.go

    	//
    	// Thus, a workaround here is to adapt the KubeletConfiguration paths for Windows.
    	// Note this is currently bound to KubeletConfiguration v1beta1.
    	klog.V(2).Infoln("[componentconfig] Adapting the paths in the KubeletConfiguration for Windows...")
    
    	// Get the drive from where the kubeadm binary was called.
    	exe, err := os.Executable()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 10:26:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/phases/join/controlplaneprepare.go

    	data, ok := c.(JoinData)
    	if !ok {
    		return errors.New("download-certs phase invoked with an invalid data struct")
    	}
    
    	if data.Cfg().ControlPlane == nil || len(data.CertificateKey()) == 0 {
    		klog.V(1).Infoln("[download-certs] Skipping certs download")
    		return nil
    	}
    
    	cfg, err := data.InitCfg()
    	if err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:46:34 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top