- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 56 for nodeRegistration (0.24 sec)
-
cmd/kubeadm/app/util/config/cluster.go
return errors.Errorf("node %s doesn't have %s annotation", nodeName, constants.AnnotationKubeadmCRISocket) } // returns the nodeRegistration attributes nodeRegistration.Name = nodeName nodeRegistration.CRISocket = criSocket nodeRegistration.Taints = node.Spec.Taints // NB. currently nodeRegistration.KubeletExtraArgs isn't stored at node level but only in the kubeadm-flags.env // that isn't modified during upgrades
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 11K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/cluster_test.go
} if !rt.newControlPlane && (cfg.NodeRegistration.Name != nodeName || cfg.NodeRegistration.CRISocket != "myCRIsocket" || len(cfg.NodeRegistration.Taints) != 1) { t.Errorf("invalid cfg.NodeRegistration: %v", cfg.NodeRegistration) } if rt.newControlPlane && len(cfg.NodeRegistration.CRISocket) > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 26.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/init_test.go
options.NodeName: "anotherName", }, validate: func(t *testing.T, data *initData) { // validate that node-name is overwritten if data.cfg.NodeRegistration.Name != "anotherName" { t.Error("Invalid NodeRegistration.Name") } }, }, { name: "fail if mixedArguments are passed", flags: map[string]string{ options.CfgPath: configFilePath,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 12:26:20 UTC 2024 - 11.9K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/markcontrolplane.go
} client, err := data.Client() if err != nil { return err } nodeRegistration := data.Cfg().NodeRegistration return markcontrolplanephase.MarkControlPlane(client, nodeRegistration.Name, nodeRegistration.Taints)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 11 08:02:50 UTC 2022 - 2.1K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/initconfiguration_test.go
t.Fatalf("unexpected error of BytesToInitConfiguration: %v\nconfig: %s", err, string(b)) } if tc.expectedTaintCnt != len(cfg.NodeRegistration.Taints) { t.Fatalf("unexpected taints count\nexpected: %d\ngot: %d\ntaints: %v", tc.expectedTaintCnt, len(cfg.NodeRegistration.Taints), cfg.NodeRegistration.Taints) } }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 13 09:17:03 UTC 2023 - 5.2K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/fuzzer/fuzzer.go
{ Groups: []string{"foo"}, Usages: []string{"foo"}, TTL: &metav1.Duration{Duration: 1234}, }, } obj.SkipPhases = nil obj.NodeRegistration.ImagePullPolicy = corev1.PullIfNotPresent obj.NodeRegistration.ImagePullSerial = ptr.To(true) obj.Patches = nil obj.DryRun = false kubeadm.SetDefaultTimeouts(&obj.Timeouts) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 13 06:41:07 UTC 2024 - 6.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/join/controlplanejoin.go
} if !data.DryRun() { if err := markcontrolplanephase.MarkControlPlane(client, cfg.NodeRegistration.Name, cfg.NodeRegistration.Taints); err != nil { return errors.Wrap(err, "error applying control-plane label and taints") } } else { fmt.Printf("[control-plane-join] Would mark node %s as a control-plane\n", cfg.NodeRegistration.Name) } return nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 03:09:42 UTC 2024 - 5.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/join_test.go
options.NodeName: "anotherName", }, validate: func(t *testing.T, data *joinData) { // validate that node-name is overwritten if data.cfg.NodeRegistration.Name != "anotherName" { t.Error("Invalid NodeRegistration.Name") } }, }, { name: "fail if mixedArguments are passed", flags: map[string]string{ options.CfgPath: configFilePath,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 12:26:20 UTC 2024 - 12.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/upgrade/node/preflight.go
// that come from UpgradeNodeConfiguration. initConfig := data.InitCfg() initConfig.NodeRegistration.ImagePullPolicy = data.Cfg().Node.ImagePullPolicy initConfig.NodeRegistration.ImagePullSerial = data.Cfg().Node.ImagePullSerial if !data.DryRun() { fmt.Println("[preflight] Pulling images required for setting up a Kubernetes cluster")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 03:55:23 UTC 2024 - 2.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/join.go
if opt.externalcfg.NodeRegistration.Name != "" { cfg.NodeRegistration.Name = opt.externalcfg.NodeRegistration.Name } if opt.externalcfg.NodeRegistration.CRISocket != "" { cfg.NodeRegistration.CRISocket = opt.externalcfg.NodeRegistration.CRISocket } if cfg.ControlPlane != nil { if err := configutil.VerifyAPIServerBindAddress(cfg.ControlPlane.LocalAPIEndpoint.AdvertiseAddress); err != nil { return nil, err } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 15:33:38 UTC 2024 - 25.2K bytes - Viewed (0)