Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for CleanupTmpDir (0.29 sec)

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

    				options.DryRun:                "true",
    				options.CleanupTmpDir:         "true",
    			},
    			data: &resetData{
    				certificatesDir:       "/tmp",
    				criSocketPath:         constants.CRISocketCRIO,
    				ignorePreflightErrors: sets.New("all"),
    				forceReset:            true,
    				dryRun:                true,
    				cleanupTmpDir:         true,
    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/phases/reset/data.go

    	Cfg() *kubeadmapi.InitConfiguration
    	ResetCfg() *kubeadmapi.ResetConfiguration
    	DryRun() bool
    	Client() clientset.Interface
    	CertificatesDir() string
    	CRISocketPath() string
    	CleanupTmpDir() bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 09:03:31 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/phases/reset/data_test.go

    func (t *testData) CertificatesDir() string                  { return "" }
    func (t *testData) CRISocketPath() string                    { return "" }
    func (t *testData) CleanupTmpDir() bool                      { return false }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 09:03:31 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/phases/reset/cleanupnode.go

    		Name:    "cleanup-node",
    		Aliases: []string{"cleanupnode"},
    		Short:   "Run cleanup node.",
    		Run:     runCleanupNode,
    		InheritFlags: []string{
    			options.CertificatesDir,
    			options.NodeCRISocket,
    			options.CleanupTmpDir,
    			options.DryRun,
    		},
    	}
    }
    
    func runCleanupNode(c workflow.RunData) error {
    	dirsToClean := []string{filepath.Join(kubeadmconstants.KubernetesDir, kubeadmconstants.ManifestsSubDirName)}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/options/constant.go

    	Patches = "patches"
    
    	// PrintManifest flag instructs kubeadm to print the addon manifests to STDOUT instead of installing them.
    	PrintManifest = "print-manifest"
    
    	// CleanupTmpDir flag indicates whether reset will cleanup the tmp dir
    	CleanupTmpDir = "cleanup-tmp-dir"
    
    	// AllowExperimentalAPI flag can be used to allow experimental / work in progress APIs
    	AllowExperimentalAPI = "allow-experimental-api"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/config/resetconfiguration_test.go

    			`),
    			expectErr: true,
    		},
    		{
    			name: "valid v1beta4 is loaded",
    			fileContents: dedent.Dedent(`
    				apiVersion: kubeadm.k8s.io/v1beta4
    				kind: ResetConfiguration
    				force: true
    				cleanupTmpDir: true
    				criSocket: unix:///var/run/containerd/containerd.sock
    				certificatesDir: /etc/kubernetes/pki
    				ignorePreflightErrors:
    				- a
    				- b
    			`),
    		},
    	}
    
    	for _, rt := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 06 13:21:52 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top