Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for UploadConfiguration (0.18 sec)

  1. cmd/kubeadm/app/phases/uploadconfig/uploadconfig_test.go

    			// For idempotent test, we check the result of the second call.
    			if err := UploadConfiguration(cfg, client); err != nil {
    				t2.Fatalf("UploadConfiguration() error = %v", err)
    			}
    			if tt.updateExisting {
    				if err := UploadConfiguration(cfg, client); err != nil {
    					t2.Fatalf("UploadConfiguration() error = %v", err)
    				}
    			}
    			if tt.verifyResult {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 08:46:51 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/uploadconfig/uploadconfig.go

    	// or during upgrade nodes
    	NodesKubeadmConfigClusterRoleName = "kubeadm:nodes-kubeadm-config"
    )
    
    // UploadConfiguration saves the InitConfiguration used for later reference (when upgrading for instance)
    func UploadConfiguration(cfg *kubeadmapi.InitConfiguration, client clientset.Interface) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 04 07:20:43 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/phases/init/uploadconfig.go

    	cfg, client, err := getUploadConfigData(c)
    	if err != nil {
    		return err
    	}
    
    	klog.V(1).Infoln("[upload-config] Uploading the kubeadm ClusterConfiguration to a ConfigMap")
    	if err := uploadconfig.UploadConfiguration(cfg, client); err != nil {
    		return errors.Wrap(err, "error uploading the kubeadm ClusterConfiguration")
    	}
    	return nil
    }
    
    // runUploadKubeletConfig uploads the kubelet configuration to a ConfigMap
    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/postupgrade.go

    	// Note: This is done right in the beginning of cluster initialization; as we might want to make other phases
    	// depend on centralized information from this source in the future
    	if err := uploadconfig.UploadConfiguration(cfg, client); err != nil {
    		errs = append(errs, err)
    	}
    
    	// Create the new, version-branched kubelet ComponentConfig ConfigMap
    	if err := kubeletphase.CreateConfigMap(&cfg.ClusterConfiguration, client); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top