- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 60 for kubeadmapi (0.15 sec)
-
cmd/kubeadm/app/util/apiclient/wait_test.go
ExtraArgs: []kubeadmapi.Arg{ {Name: "secure-port", Value: "1111"}, }, }, }, ControllerManager: kubeadmapi.ControlPlaneComponent{ ExtraArgs: []kubeadmapi.Arg{ {Name: "secure-port", Value: "2222"}, }, }, Scheduler: kubeadmapi.ControlPlaneComponent{ ExtraArgs: []kubeadmapi.Arg{ {Name: "secure-port", Value: "3333"}, }, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 15:33:38 UTC 2024 - 2.3K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/resetconfiguration_test.go
args: args{ cfg: &kubeadmapi.ResetConfiguration{}, skipCRIDetect: false, }, }, { name: "CRISocket is valid", args: args{ cfg: &kubeadmapi.ResetConfiguration{ CRISocket: "unix:///var/run/containerd/containerd.sock", }, skipCRIDetect: false, }, }, { name: "CRISocket is invalid", args: args{ cfg: &kubeadmapi.ResetConfiguration{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 06 13:21:52 UTC 2023 - 3.4K bytes - Viewed (0) -
cmd/kubeadm/app/util/arguments_test.go
import ( "reflect" "sort" "testing" kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm" ) func TestArgumentsToCommand(t *testing.T) { var tests = []struct { name string base []kubeadmapi.Arg overrides []kubeadmapi.Arg expected []string }{ { name: "override an argument from the base", base: []kubeadmapi.Arg{ {Name: "admission-control", Value: "NamespaceLifecycle"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 16 10:27:05 UTC 2023 - 8.9K bytes - Viewed (0) -
cmd/kubeadm/app/util/arguments.go
// only the instances of this argument in the overrides to be applied. func ArgumentsToCommand(base []kubeadmapi.Arg, overrides []kubeadmapi.Arg) []string { var command []string // Copy the overrides arguments into a new slice. args := make([]kubeadmapi.Arg, len(overrides)) copy(args, overrides) // overrideArgs is a set of args which will replace the args defined in the base
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 06 11:01:00 UTC 2023 - 3.7K bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubelet/flags.go
// that are common to both Linux and Windows func buildKubeletArgsCommon(opts kubeletFlagsOpts) []kubeadmapi.Arg { kubeletFlags := []kubeadmapi.Arg{} kubeletFlags = append(kubeletFlags, kubeadmapi.Arg{Name: "container-runtime-endpoint", Value: opts.nodeRegOpts.CRISocket}) // This flag passes the pod infra container image (e.g. "pause" image) to the kubelet
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 16 10:27:05 UTC 2023 - 5K bytes - Viewed (0) -
cmd/kubeadm/app/componentconfigs/kubelet.go
kc.config.StaticPodPath = kubeadmapiv1.DefaultManifestsDir } else if kc.config.StaticPodPath != kubeadmapiv1.DefaultManifestsDir { warnDefaultComponentConfigValue(kind, "staticPodPath", kubeadmapiv1.DefaultManifestsDir, kc.config.StaticPodPath) } clusterDNS := "" dnsIP, err := constants.GetDNSIP(cfg.Networking.ServiceSubnet) if err != nil { clusterDNS = kubeadmapiv1.DefaultClusterDNSIP } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 8K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/reset/data.go
clientset "k8s.io/client-go/kubernetes" kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm" ) // resetData is the interface to use for reset phases. // The "resetData" type from "cmd/reset.go" must satisfy this interface. type resetData interface { ForceReset() bool InputReader() io.Reader IgnorePreflightErrors() sets.Set[string] Cfg() *kubeadmapi.InitConfiguration ResetCfg() *kubeadmapi.ResetConfiguration
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 14 09:03:31 UTC 2023 - 1.2K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/postupgrade_test.go
errPattern: missingKubeletConfig, cfg: &kubeadmapi.InitConfiguration{}, }, { name: "only one err: patch dir does not exist", dryrun: true, patchesDir: "Bogus", errPattern: "could not list patch files for path \"Bogus\"", cfg: &kubeadmapi.InitConfiguration{ ClusterConfiguration: kubeadmapi.ClusterConfiguration{ ComponentConfigs: kubeadmapi.ComponentConfigMap{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 15 11:40:04 UTC 2024 - 7.2K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/v1beta3/conversion_test.go
limitations under the License. */ package v1beta3 import ( "reflect" "testing" kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm" ) func TestConvertToArgs(t *testing.T) { var tests = []struct { name string args map[string]string expectedArgs []kubeadmapi.Arg }{ { name: "nil map returns nil args", args: nil, expectedArgs: nil, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 16 10:27:05 UTC 2023 - 2.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/reset/unmount_linux_test.go
}, { name: "no flags", input: []string{}, expectedOutput: 0, }, { name: "all flags", input: []string{ kubeadmapi.UnmountFlagMNTForce, kubeadmapi.UnmountFlagMNTDetach, kubeadmapi.UnmountFlagMNTExpire, kubeadmapi.UnmountFlagUmountNoFollow, }, expectedOutput: 15, }, } for _, tc := range tests { t.Run(tc.name, func(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 05 10:58:44 UTC 2024 - 1.4K bytes - Viewed (0)