Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 108 for initConfiguration (0.77 sec)

  1. cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go

    	var tests = []struct {
    		name     string
    		s        *kubeadmapi.InitConfiguration
    		expected bool
    	}{
    		{"invalid missing InitConfiguration",
    			&kubeadmapi.InitConfiguration{}, false},
    		{"invalid missing token with IPv4 service subnet",
    			&kubeadmapi.InitConfiguration{
    				LocalAPIEndpoint: kubeadmapi.APIEndpoint{
    					AdvertiseAddress: "1.2.3.4",
    					BindPort:         6443,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/kubeconfig/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package kubeconfig
    
    /*
    
    	PHASE: KUBECONFIG
    
    	INPUTS:
    		From InitConfiguration
    			The API Server endpoint (AdvertiseAddress + BindPort) is required so the kubeconfig file knows where to find the control-plane
    			The KubernetesDir path is required for knowing where to put the kubeconfig files
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 13 15:13:31 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/phases/init/uploadconfig.go

    		# upload the configuration of your cluster
    		kubeadm init phase upload-config --config=myConfig.yaml
    		`)
    
    	uploadKubeletConfigLongDesc = cmdutil.LongDesc(`
    		Upload the kubelet configuration extracted from the kubeadm InitConfiguration object
    		to a kubelet-config ConfigMap in the cluster
    		`)
    
    	uploadKubeletConfigExample = cmdutil.Examples(`
    		# Upload the kubelet configuration from the kubeadm Config file to a ConfigMap in the cluster.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 02 12:34:30 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/upgrade/staticpods.go

    		}
    	}
    
    	return nil
    }
    
    // GetPathManagerForUpgrade returns a path manager properly configured for the given InitConfiguration.
    func GetPathManagerForUpgrade(kubernetesDir, patchesDir string, internalcfg *kubeadmapi.InitConfiguration, etcdUpgrade bool) (StaticPodPathManager, error) {
    	isExternalEtcd := internalcfg.Etcd.External != nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 10:07:41 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/phases/upgrade/node/data.go

    // The "nodeData" type from "cmd/upgrade/node.go" must satisfy this interface.
    type Data interface {
    	EtcdUpgrade() bool
    	RenewCerts() bool
    	DryRun() bool
    	Cfg() *kubeadmapi.UpgradeConfiguration
    	InitCfg() *kubeadmapi.InitConfiguration
    	IsControlPlaneNode() bool
    	Client() clientset.Interface
    	IgnorePreflightErrors() sets.Set[string]
    	PatchesDir() string
    	KubeConfigPath() string
    	OutputWriter() io.Writer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/certs.go

    }
    
    // genCSRConfig is the configuration required by the gencsr command
    type genCSRConfig struct {
    	kubeadmConfigPath string
    	certDir           string
    	kubeConfigDir     string
    	kubeadmConfig     *kubeadmapi.InitConfiguration
    }
    
    func newGenCSRConfig() *genCSRConfig {
    	return &genCSRConfig{
    		kubeConfigDir: kubeadmconstants.KubernetesDir,
    	}
    }
    
    func (o *genCSRConfig) addFlagSet(flagSet *pflag.FlagSet) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/apis/kubeadm/v1beta3/register.go

    func Resource(resource string) schema.GroupResource {
    	return SchemeGroupVersion.WithResource(resource).GroupResource()
    }
    
    func addKnownTypes(scheme *runtime.Scheme) error {
    	scheme.AddKnownTypes(SchemeGroupVersion,
    		&InitConfiguration{},
    		&ClusterConfiguration{},
    		&JoinConfiguration{},
    	)
    	metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 03 17:11:43 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/phases/init/data_test.go

    func (t *testInitData) SetCertificateKey(key string)                         {}
    func (t *testInitData) SkipCertificateKeyPrint() bool                        { return false }
    func (t *testInitData) Cfg() *kubeadmapi.InitConfiguration                   { return nil }
    func (t *testInitData) DryRun() bool                                         { return false }
    func (t *testInitData) SkipTokenPrint() bool                                 { return false }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 06 10:43:20 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/upgrade/postupgrade.go

    // Note that the mark-control-plane phase is left out, not needed, and no token is created as that doesn't belong to the upgrade
    func PerformPostUpgradeTasks(client clientset.Interface, cfg *kubeadmapi.InitConfiguration, patchesDir string, dryRun bool, out io.Writer) error {
    	var errs []error
    
    	// Upload currently used configuration to the cluster
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/phases/init/data.go

    type InitData interface {
    	UploadCerts() bool
    	CertificateKey() string
    	SetCertificateKey(key string)
    	SkipCertificateKeyPrint() bool
    	Cfg() *kubeadmapi.InitConfiguration
    	DryRun() bool
    	SkipTokenPrint() bool
    	IgnorePreflightErrors() sets.Set[string]
    	CertificateWriteDir() string
    	CertificateDir() string
    	KubeConfigDir() string
    	KubeConfigPath() string
    	ManifestDir() string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 06 10:43:20 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top