Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 64 for Preflight (0.13 sec)

  1. cmd/kubeadm/test/cmd/init_test.go

    func runKubeadmInit(t testing.TB, args ...string) (string, string, int, error) {
    	t.Helper()
    	t.Setenv("KUBEADM_INIT_DRYRUN_DIR", os.TempDir())
    	kubeadmPath := getKubeadmPath()
    	kubeadmArgs := []string{"init", "--dry-run", "--ignore-preflight-errors=all"}
    	kubeadmArgs = append(kubeadmArgs, args...)
    	return RunCmd(kubeadmPath, kubeadmArgs...)
    }
    
    func getKubeadmVersion() *version.Version {
    	kubeadmPath := getKubeadmPath()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 18 01:03:09 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/cors.md

    * `max_age` - Sets a maximum time in seconds for browsers to cache CORS responses. Defaults to `600`.
    
    The middleware responds to two particular types of HTTP request...
    
    ### CORS preflight requests
    
    These are any `OPTIONS` request with `Origin` and `Access-Control-Request-Method` headers.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Nov 13 20:28:37 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/addons/dns/dns.go

    		if err := migrateCoreDNSCorefile(client, coreDNSConfigMap, corefile, currentInstalledCoreDNSVersion); err != nil {
    			// Errors in Corefile Migration is verified during preflight checks. This part will be executed when a user has chosen
    			// to ignore preflight check errors.
    			canMigrateCorefile = false
    			klog.Warningf("the CoreDNS Configuration was not migrated: %v. The existing CoreDNS Corefile configuration has been retained.", err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/upgrade/diff.go

    		Use:   "diff [version]",
    		Short: "Show what differences would be applied to existing static pod manifests. See also: kubeadm upgrade apply --dry-run",
    		RunE: func(cmd *cobra.Command, args []string) error {
    			// Run preflight checks for diff to check that the manifests already exist.
    			if err := validateManifestsPath(
    				flags.apiServerManifestPath,
    				flags.controllerManagerManifestPath,
    				flags.schedulerManifestPath); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go

    		{[]string{"--foo=bar"}, true},
    		{[]string{"--config=hello"}, true},
    		{[]string{"--config=hello", "--ignore-preflight-errors=all"}, true},
    		// Expected to succeed, --config is mixed with skip-* flags only or no other flags
    		{[]string{"--config=hello", "--skip-token-print=true"}, true},
    		{[]string{"--config=hello", "--ignore-preflight-errors=baz", "--skip-token-print"}, true},
    		// Expected to fail, --config is mixed with the --foo flag
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/upgrade/node.go

    	return d.client
    }
    
    // PatchesDir returns the folder where patches for components are stored
    func (d *nodeData) PatchesDir() string {
    	return d.patchesDir
    }
    
    // IgnorePreflightErrors returns the list of preflight errors to ignore.
    func (d *nodeData) IgnorePreflightErrors() sets.Set[string] {
    	return d.ignorePreflightErrors
    }
    
    // KubeConfigPath returns the path to the user kubeconfig file.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/reset.go

    	return r.forceReset
    }
    
    // InputReader returns the io.reader used to read messages.
    func (r *resetData) InputReader() io.Reader {
    	return r.inputReader
    }
    
    // IgnorePreflightErrors returns the list of preflight errors to ignore.
    func (r *resetData) IgnorePreflightErrors() sets.Set[string] {
    	return r.ignorePreflightErrors
    }
    
    // CRISocketPath returns the criSocketPath.
    func (r *resetData) CRISocketPath() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 12:26:58 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/apis/kubeadm/validation/validation.go

    		}
    	}
    
    	return allErrs
    }
    
    // ValidateIgnorePreflightErrors validates duplicates in:
    // - ignore-preflight-errors flag and
    // - ignorePreflightErrors field in {Init,Join}Configuration files.
    func ValidateIgnorePreflightErrors(ignorePreflightErrorsFromCLI, ignorePreflightErrorsFromConfigFile []string) (sets.Set[string], error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.31.md

    - Kubeadm: during the preflight check "CreateJob" of "kubeadm upgrade", check if there are no nodes where a Pod can schedule. If there are none, show a warning and skip this preflight check. This can happen in single node clusters where the only node was drained. ([#124503](https://github.com/kubernetes/kubernetes/pull/124503), [@neolit123](https://gi...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:34:14 UTC 2024
    - 60.3K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/preflight/checks_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package preflight
    
    import (
    	"bytes"
    	"fmt"
    	"net"
    	"net/http"
    	"os"
    	"runtime"
    	"strings"
    	"testing"
    
    	utiltesting "k8s.io/client-go/util/testing"
    
    	"github.com/google/go-cmp/cmp"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top