Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,290 for Warningf (0.25 sec)

  1. pkg/volume/emptydir/empty_dir.go

    			// In this case, delete ready file and print a warning for it.
    			klog.Warningf("volume ready file dir %s exist, but volume dir %s does not. Remove ready dir", readyDir, dir)
    			if err := os.RemoveAll(readyDir); err != nil && !os.IsNotExist(err) {
    				klog.Warningf("failed to remove ready dir [%s]: %v", readyDir, err)
    			}
    		}
    	}
    
    	switch {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. pkg/volume/fc/attacher.go

    	if err != nil {
    		klog.Warningf("failed to get fc mounter: %v", err)
    		return "", err
    	}
    	return attacher.manager.AttachDisk(*mounter)
    }
    
    func (attacher *fcAttacher) GetDeviceMountPath(
    	spec *volume.Spec) (string, error) {
    	mounter, err := volumeSpecToMounter(spec, attacher.host)
    	if err != nil {
    		klog.Warningf("failed to get fc mounter: %v", err)
    		return "", err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 31 12:02:51 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  3. pkg/controlplane/apiserver/options/options.go

    			}
    			if completed.Authentication.ServiceAccounts.ExtendExpiration {
    				if completed.Authentication.ServiceAccounts.MaxExpiration < serviceaccount.WarnOnlyBoundTokenExpirationSeconds*time.Second {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. pkg/volume/iscsi/iscsi_util.go

    		if err != nil {
    			klog.Warningf("Warning: Failed to flush multipath device map: %s\nError: %v", mpathDevice, err)
    			// Fall through -- keep deleting the block devices
    		}
    		klog.V(4).Infof("Flushed multipath device: %s", mpathDevice)
    	}
    	for _, deviceName := range deviceNames {
    		err = deleteDevice(deviceName)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 22 12:53:01 UTC 2022
    - 34.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/audit/policy/reader.go

    			lenientErr     error
    		)
    		_, gvk, lenientErr = lenientDecoder.Decode(policyDef, nil, policy)
    		if lenientErr != nil {
    			return nil, fmt.Errorf("failed lenient decoding: %w", lenientErr)
    		}
    		klog.Warningf("Audit policy contains errors, falling back to lenient decoding: %v", err)
    	}
    
    	// Ensure the policy file contained an apiVersion and kind.
    	gv := schema.GroupVersion{Group: gvk.Group, Version: gvk.Version}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 04:09:40 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/net/http.go

    	return out
    }
    
    // WarningHeader contains a single RFC2616 14.46 warnings header
    type WarningHeader struct {
    	// Codeindicates the type of warning. 299 is a miscellaneous persistent warning
    	Code int
    	// Agent contains the name or pseudonym of the server adding the Warning header.
    	// A single "-" is recommended when agent is unknown.
    	Agent string
    	// Warning text
    	Text string
    }
    
    // ParseWarningHeaders extract RFC2616 14.46
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 05 00:08:58 UTC 2022
    - 20.8K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/config/common.go

    func ChooseAPIServerBindAddress(bindAddress net.IP) (net.IP, error) {
    	ip, err := netutil.ResolveBindAddress(bindAddress)
    	if err != nil {
    		if netutil.IsNoRoutesError(err) {
    			klog.Warningf("WARNING: could not obtain a bind address for the API Server: %v; using: %s", err, constants.DefaultAPIServerBindAddress)
    			defaultIP := netutils.ParseIPSloppy(constants.DefaultAPIServerBindAddress)
    			if defaultIP == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/arguments.go

    		// Warn in all other cases, but don't error out. This can happen only if the user has edited the argument list by hand, so they might know what they are doing
    		if err != nil {
    			if i != 0 {
    				klog.Warningf("[kubeadm] WARNING: The component argument %q could not be parsed correctly. The argument must be of the form %q. Skipping...\n", arg, "--")
    			}
    			continue
    		}
    
    		args = append(args, kubeadmapi.Arg{Name: key, Value: val})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 11:01:00 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/customresourcedefinition.go

    	if watchListOptions, hasWatchListOptionsPrepared, watchListOptionsErr := watchlist.PrepareWatchListOptionsFromListOptions(opts); watchListOptionsErr != nil {
    		klog.Warningf("Failed preparing watchlist options for customresourcedefinitions, falling back to the standard LIST semantics, err = %v", watchListOptionsErr)
    	} else if hasWatchListOptionsPrepared {
    		result, err := c.watchList(ctx, watchListOptions)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/kubeconfig.go

    				SkipCRIDetect: true,
    			})
    			if err != nil {
    				return err
    			}
    
    			if validityPeriod > kubeadmconstants.CertificateValidityPeriod {
    				klog.Warningf("WARNING: the specified certificate validity period %v is longer than the default duration %v, this may increase security risks.",
    					validityPeriod, kubeadmconstants.CertificateValidityPeriod)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top