Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 51 for initConfiguration (0.27 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. cmd/kubeadm/app/apis/kubeadm/validation/validation.go

    	"k8s.io/kubernetes/cmd/kubeadm/app/features"
    	kubeadmutil "k8s.io/kubernetes/cmd/kubeadm/app/util"
    )
    
    // ValidateInitConfiguration validates an InitConfiguration object and collects all encountered errors
    func ValidateInitConfiguration(c *kubeadm.InitConfiguration) field.ErrorList {
    	allErrs := field.ErrorList{}
    	allErrs = append(allErrs, ValidateNodeRegistrationOptions(&c.NodeRegistration, field.NewPath("nodeRegistration"))...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/controlplane/manifests.go

    )
    
    // CreateInitStaticPodManifestFiles will write all static pod manifest files needed to bring up the control plane.
    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