Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for Infoln (1.23 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/etcd3/logger.go

    const klogWrapperDepth = 4
    
    func (klogWrapper) Info(args ...interface{}) {
    	if klogV := klog.V(5); klogV.Enabled() {
    		klogV.InfoSDepth(klogWrapperDepth, fmt.Sprint(args...))
    	}
    }
    
    func (klogWrapper) Infoln(args ...interface{}) {
    	if klogV := klog.V(5); klogV.Enabled() {
    		klogV.InfoSDepth(klogWrapperDepth, fmt.Sprintln(args...))
    	}
    }
    
    func (klogWrapper) Infof(format string, args ...interface{}) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 24 10:13:50 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  2. 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)
  3. cmd/kubeadm/app/cmd/version.go

    	return cmd
    }
    
    // RunVersion provides the version information of kubeadm in format depending on arguments
    // specified in cobra.Command.
    func RunVersion(out io.Writer, cmd *cobra.Command) error {
    	klog.V(1).Infoln("[version] retrieving version info")
    	clientVersion := version.Get()
    	v := Version{
    		ClientVersion: &clientVersion,
    	}
    
    	const flag = "output"
    	of, err := cmd.Flags().GetString(flag)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 17 14:40:46 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. cmd/kubeadm/app/cmd/join.go

    	// and validates JoinConfiguration
    	if opt.externalcfg.NodeRegistration.Name == "" {
    		klog.V(1).Infoln("[preflight] found NodeName empty; using OS hostname as NodeName")
    	}
    
    	if opt.externalcfg.ControlPlane != nil && opt.externalcfg.ControlPlane.LocalAPIEndpoint.AdvertiseAddress == "" {
    		klog.V(1).Infoln("[preflight] found advertiseAddress empty; using default interface's IP address as advertiseAddress")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/phases/join/kubelet.go

    	}
    
    	// 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("[kubelet-start] Stopping the kubelet")
    		kubeletphase.TryStopKubelet()
    	} else {
    		fmt.Println("[kubelet-start] Would stop the kubelet")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/controlplane/manifests.go

    func CreateInitStaticPodManifestFiles(manifestDir, patchesDir string, cfg *kubeadmapi.InitConfiguration, isDryRun bool) error {
    	klog.V(1).Infoln("[control-plane] creating static Pod files")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 14:43:47 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/addons/dns/dns.go

    	}
    	// show the migration changes
    	klog.V(2).Infof("the CoreDNS configuration has been migrated and applied: %v.", updatedCorefile)
    	klog.V(2).Infoln("the old migration has been saved in the CoreDNS ConfigMap under the name [Corefile-backup]")
    	klog.V(2).Infoln("The changes in the new CoreDNS Configuration are as follows:")
    	for _, change := range changes {
    		klog.V(2).Infof("%v", change.ToString())
    	}
    	return nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top