Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for lincoln (0.19 sec)

  1. 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)
  2. 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)
  3. src/go/token/position_test.go

    	{"f", []byte("package p\n\nimport \"fmt\""), 23, []int{0, 10, 11}},
    	{"g", []byte("package p\n\nimport \"fmt\"\n"), 24, []int{0, 10, 11}},
    	{"h", []byte("package p\n\nimport \"fmt\"\n "), 25, []int{0, 10, 11, 24}},
    }
    
    func linecol(lines []int, offs int) (int, int) {
    	prevLineOffs := 0
    	for line, lineOffs := range lines {
    		if offs < lineOffs {
    			return line, offs - prevLineOffs + 1
    		}
    		prevLineOffs = lineOffs
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. src/go/types/example_test.go

    	fmt.Println("Defs and Uses of each named object:")
    	usesByObj := make(map[types.Object][]string)
    	for id, obj := range info.Uses {
    		posn := fset.Position(id.Pos())
    		lineCol := fmt.Sprintf("%d:%d", posn.Line, posn.Column)
    		usesByObj[obj] = append(usesByObj[obj], lineCol)
    	}
    	var items []string
    	for obj, uses := range usesByObj {
    		slices.Sort(uses)
    		item := fmt.Sprintf("%s:\n  defined at %s\n  used at %s",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. 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)
  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/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)
  10. 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)
Back to top