- Sort Score
- Result 10 results
- Languages All
Results 21 - 29 of 29 for componentconfig (0.45 sec)
-
cmd/kubeadm/app/phases/uploadconfig/uploadconfig_test.go
t2.Fatalf("unable to decode config from bytes: %v", err) } if len(decodedCfg.ComponentConfigs) != 0 { t2.Errorf("unexpected component configs in decodedCfg: %d", len(decodedCfg.ComponentConfigs)) } // Force initialize with an empty map so that reflect.DeepEqual works decodedCfg.ComponentConfigs = kubeadmapi.ComponentConfigMap{} if !reflect.DeepEqual(decodedCfg, &cfg.ClusterConfiguration) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 24 08:46:51 UTC 2023 - 3.4K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go
return errors.New("could not initialize a Kubernetes cluster") } waiter.SetTimeout(data.Cfg().Timeouts.KubeletHealthCheck.Duration) kubeletConfig := data.Cfg().ClusterConfiguration.ComponentConfigs[componentconfigs.KubeletGroup].Get() kubeletConfigTyped, ok := kubeletConfig.(*kubeletconfig.KubeletConfiguration) if !ok { return errors.New("could not convert the KubeletConfiguration to a typed object") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 5K bytes - Viewed (0) -
cmd/kubeadm/app/phases/addons/proxy/proxy.go
controlPlaneEndpoint, err := kubeadmutil.GetControlPlaneEndpoint(cfg.ControlPlaneEndpoint, localEndpoint) if err != nil { return []byte(""), err } kubeProxyCfg, ok := cfg.ComponentConfigs[componentconfigs.KubeProxyGroup] if !ok { return []byte(""), errors.New("no kube-proxy component config found in the active component config set") } proxyBytes, err := kubeProxyCfg.Marshal() if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 26 13:23:44 UTC 2023 - 8.1K bytes - Viewed (0) -
cmd/kubeadm/app/componentconfigs/kubelet_unix.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package componentconfigs import ( "k8s.io/klog/v2" kubeletconfig "k8s.io/kubelet/config/v1beta1" "k8s.io/utils/ptr" "k8s.io/kubernetes/cmd/kubeadm/app/util/initsystem" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 25 10:26:46 UTC 2024 - 1.9K bytes - Viewed (0) -
cmd/kubeadm/app/componentconfigs/kubelet_unix_test.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package componentconfigs import ( "reflect" "testing" kubeletconfig "k8s.io/kubelet/config/v1beta1" "k8s.io/utils/ptr" ) func TestMutateResolverConfig(t *testing.T) { var fooResolverConfig = "/foo/resolver"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 25 10:26:46 UTC 2024 - 2.5K bytes - Viewed (0) -
cmd/kubeadm/app/componentconfigs/kubelet_windows_test.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package componentconfigs import ( "path/filepath" "reflect" "testing" kubeletconfig "k8s.io/kubelet/config/v1beta1" "k8s.io/utils/ptr" ) func TestMutatePaths(t *testing.T) { const drive = "C:"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 25 10:26:46 UTC 2024 - 2.6K bytes - Viewed (0) -
cmd/kubeadm/app/componentconfigs/utils_test.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package componentconfigs import ( "testing" "k8s.io/apimachinery/pkg/runtime/schema" ) func TestUnsupportedConfigVersionsError(t *testing.T) { tests := []struct { name string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jan 09 13:52:11 UTC 2024 - 3.1K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/fuzzer/fuzzer.go
obj.Disabled = false } func fuzzComponentConfigMap(obj *kubeadm.ComponentConfigMap, c fuzz.Continue) { // This is intentionally empty because component config does not exists in the public api // (empty mean all ComponentConfigs fields nil, and this is necessary for getting roundtrip passing) } func fuzzLocalEtcd(obj *kubeadm.LocalEtcd, c fuzz.Continue) { c.FuzzNoCustom(obj)
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/phases/addons/proxy/proxy_test.go
// Create a fake client and set up default test configuration client := clientsetfake.NewSimpleClientset() // TODO: Consider using a YAML file instead for this that makes it possible to specify YAML documents for the ComponentConfigs initConfiguration, err := configutil.DefaultedStaticInitConfiguration() if err != nil { t.Errorf("test failed to convert external to internal version: %v", err) return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 18 11:14:32 UTC 2024 - 8.7K bytes - Viewed (0)