Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 108 for initConfiguration (2.65 sec)

  1. cmd/kubeadm/app/cmd/reset_test.go

    		}
    		if data.cfg != nil && !expected.HasAll(data.cfg.NodeRegistration.IgnorePreflightErrors...) {
    			t.Errorf("Invalid ignore preflight errors in InitConfiguration. Expected: %v. Actual: %v", sets.List(expected), data.cfg.NodeRegistration.IgnorePreflightErrors)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 13:42:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/certs_test.go

    	expectedKubeConfigs := []string{
    		"admin",
    		"kubelet",
    		"controller-manager",
    		"scheduler",
    	}
    
    	config := genCSRConfig{
    		kubeConfigDir: kubeConfigDir,
    		kubeadmConfig: &kubeadmapi.InitConfiguration{
    			LocalAPIEndpoint: kubeadmapi.APIEndpoint{
    				AdvertiseAddress: "192.0.2.1",
    				BindPort:         443,
    			},
    			ClusterConfiguration: kubeadmapi.ClusterConfiguration{
    				Networking: kubeadmapi.Networking{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 21 13:26:12 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/phases/join/kubelet.go

    			options.TLSBootstrapToken,
    			options.TokenStr,
    			options.Patches,
    			options.DryRun,
    		},
    	}
    }
    
    func getKubeletStartJoinData(c workflow.RunData) (*kubeadmapi.JoinConfiguration, *kubeadmapi.InitConfiguration, *clientcmdapi.Config, error) {
    	data, ok := c.(JoinData)
    	if !ok {
    		return nil, nil, nil, errors.New("kubelet-start phase invoked with an invalid data struct")
    	}
    	cfg := data.Cfg()
    	initCfg, err := data.InitCfg()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/apis/kubeadm/v1beta4/types.go

    	bootstraptokenv1 "k8s.io/kubernetes/cmd/kubeadm/app/apis/bootstraptoken/v1"
    )
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    // InitConfiguration contains a list of elements that is specific "kubeadm init"-only runtime
    // information.
    type InitConfiguration struct {
    	metav1.TypeMeta `json:",inline"`
    
    	// `kubeadm init`-only information. These fields are solely used the first time `kubeadm init` runs.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/upgrade/apply.go

    func PerformControlPlaneUpgrade(flags *applyFlags, client clientset.Interface, waiter apiclient.Waiter, initCfg *kubeadmapi.InitConfiguration, upgradeCfg *kubeadmapi.UpgradeConfiguration) error {
    	// OK, the cluster is hosted using static pods. Upgrade a static-pod hosted cluster
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/token_test.go

    			if err != nil && len(tc.token) != 0 { // if tc.token is "" it's okay as it will be generated later at runtime
    				t.Fatalf("token couldn't be parsed for testing: %v", err)
    			}
    
    			cfg := &kubeadmapiv1.InitConfiguration{
    				BootstrapTokens: []bootstraptokenv1.BootstrapToken{
    					{
    						Token:  bts,
    						TTL:    &metav1.Duration{Duration: 0},
    						Usages: tc.usages,
    						Groups: tc.extraGroups,
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/preflight/checks.go

    // Name returns the label for memory
    func (MemCheck) Name() string {
    	return "Mem"
    }
    
    // InitNodeChecks returns checks specific to "kubeadm init"
    func InitNodeChecks(execer utilsexec.Interface, cfg *kubeadmapi.InitConfiguration, ignorePreflightErrors sets.Set[string], isSecondaryControlPlane bool, downloadCerts bool) ([]Checker, error) {
    	if !isSecondaryControlPlane {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/controlplane/manifests_test.go

    	tests := []struct {
    		name            string
    		cfg             *kubeadmapi.InitConfiguration
    		caKeyPresent    bool
    		expectedArgFunc func(dir string) []string
    	}{
    		{
    			name: "caKeyPresent-false for " + cpVersion,
    			cfg: &kubeadmapi.InitConfiguration{
    				LocalAPIEndpoint: kubeadmapi.APIEndpoint{AdvertiseAddress: "1.2.3.4"},
    				ClusterConfiguration: kubeadmapi.ClusterConfiguration{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 14:43:47 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/constants/constants.go

    	ClusterConfigurationKind = "ClusterConfiguration"
    
    	// InitConfigurationKind is the string kind value for the InitConfiguration struct
    	InitConfigurationKind = "InitConfiguration"
    
    	// JoinConfigurationKind is the string kind value for the JoinConfiguration struct
    	JoinConfigurationKind = "JoinConfiguration"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/etcd/local.go

    }
    
    // RemoveStackedEtcdMemberFromCluster will remove a local etcd member from etcd cluster,
    // when reset the control plane node.
    func RemoveStackedEtcdMemberFromCluster(client clientset.Interface, cfg *kubeadmapi.InitConfiguration) error {
    	// creates an etcd client that connects to all the local/stacked etcd members
    	klog.V(1).Info("[etcd] creating etcd client that connects to etcd pods")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 14:07:27 UTC 2024
    - 13.8K bytes
    - Viewed (1)
Back to top