Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for Preflight (0.21 sec)

  1. cmd/kubeadm/app/cmd/options/generic.go

    func AddConfigFlag(fs *pflag.FlagSet, cfgPath *string) {
    	fs.StringVar(cfgPath, CfgPath, *cfgPath, "Path to a kubeadm configuration file.")
    }
    
    // AddIgnorePreflightErrorsFlag adds the --ignore-preflight-errors flag to the given flagset
    func AddIgnorePreflightErrorsFlag(fs *pflag.FlagSet, ignorePreflightErrors *[]string) {
    	fs.StringSliceVar(
    		ignorePreflightErrors, IgnorePreflightErrors, *ignorePreflightErrors,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/upgrade/apply.go

    	cmdutil "k8s.io/kubernetes/cmd/kubeadm/app/cmd/util"
    	"k8s.io/kubernetes/cmd/kubeadm/app/features"
    	"k8s.io/kubernetes/cmd/kubeadm/app/phases/upgrade"
    	"k8s.io/kubernetes/cmd/kubeadm/app/preflight"
    	kubeadmutil "k8s.io/kubernetes/cmd/kubeadm/app/util"
    	"k8s.io/kubernetes/cmd/kubeadm/app/util/apiclient"
    	configutil "k8s.io/kubernetes/cmd/kubeadm/app/util/config"
    	"k8s.io/kubernetes/cmd/kubeadm/app/util/output"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 11.6K 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. manifests/charts/istiod-remote/templates/crd-all.gen.yaml

                          properties:
                            allowCredentials:
                              description: Indicates whether the caller is allowed to
                                send the actual request (not the preflight) using credentials.
                              nullable: true
                              type: boolean
                            allowHeaders:
                              description: List of HTTP headers that can be used when
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:42 UTC 2024
    - 671.7K bytes
    - Viewed (0)
  10. manifests/charts/base/crds/crd-all.gen.yaml

                          properties:
                            allowCredentials:
                              description: Indicates whether the caller is allowed to
                                send the actual request (not the preflight) using credentials.
                              nullable: true
                              type: boolean
                            allowHeaders:
                              description: List of HTTP headers that can be used when
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:42 UTC 2024
    - 671.6K bytes
    - Viewed (0)
Back to top