Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,986 for Warningf (0.26 sec)

  1. cmd/kubeadm/app/phases/certs/certs.go

    // and validates that the cert is a CA. Failure to load the key produces a warning.
    func validateCACertAndKey(l certKeyLocation) error {
    	if err := validateCACert(l); err != nil {
    		return err
    	}
    
    	_, err := pkiutil.TryLoadKeyFromDisk(l.pkiDir, l.caBaseName)
    	if err != nil {
    		klog.Warningf("assuming external key for %s: %v", l.uxName, err)
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 05 10:17:14 UTC 2023
    - 19.4K bytes
    - Viewed (0)
  2. pkg/volume/util/volumepathhandler/volume_path_handler_linux.go

    // detach it from block device.
    func (v VolumePathHandler) DetachFileDevice(path string) error {
    	loopPath, err := v.GetLoopDevice(path)
    	if err != nil {
    		if err.Error() == ErrDeviceNotFound {
    			klog.Warningf("couldn't find loopback device which takes file descriptor lock. Skip detaching device. device path: %q", path)
    		} else {
    			return fmt.Errorf("GetLoopDevice failed for path %s: %v", path, err)
    		}
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/watch_tracker.go

    func getIndexValue(r *http.Request, field string) string {
    	opts := metainternalversion.ListOptions{}
    	if err := scheme.ParameterCodec.DecodeParameters(r.URL.Query(), metav1.SchemeGroupVersion, &opts); err != nil {
    		klog.Warningf("Couldn't parse list options for %v: %v", r.URL.Query(), err)
    		return unsetValue
    	}
    	if opts.FieldSelector == nil {
    		return unsetValue
    	}
    	if value, ok := opts.FieldSelector.RequiresExactMatch(field); ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/options/authorization.go

    		// use this path. If it is optional, ignore errors.
    		clientConfig, err = rest.InClusterConfig()
    		if err != nil && s.RemoteKubeConfigFileOptional {
    			if err != rest.ErrNotInCluster {
    				klog.Warningf("failed to read in-cluster kubeconfig for delegated authorization: %v", err)
    			}
    			return nil, nil
    		}
    	}
    	if err != nil {
    		return nil, fmt.Errorf("failed to get delegated authorization kubeconfig: %v", err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  5. pkg/kubeapiserver/options/authentication.go

    			if o.TokenSuccessCacheTTL > 0 && o.WebHook.CacheTTL < o.TokenSuccessCacheTTL {
    				klog.Warningf("the webhook cache ttl of %s is shorter than the overall cache ttl of %s for successful token authentication attempts.", o.WebHook.CacheTTL, o.TokenSuccessCacheTTL)
    			}
    			if o.TokenFailureCacheTTL > 0 && o.WebHook.CacheTTL < o.TokenFailureCacheTTL {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 22:40:22 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/controller.go

    				if err2 != nil {
    					utilruntime.HandleError(err2)
    				}
    				return
    			} else if oldMeta.GetResourceVersion() == newMeta.GetResourceVersion() {
    				if len(oldMeta.GetResourceVersion()) == 0 {
    					klog.Warningf("%v throwing out update with empty RV. this is likely to happen if a test did not supply a resource version on an updated object", c.options.Name)
    				}
    				return
    			}
    
    			enqueue(newObj, false)
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. pkg/volume/volume_linux.go

    	if fsGroup == nil {
    		return nil
    	}
    
    	timer := time.AfterFunc(30*time.Second, func() {
    		klog.Warningf("Setting volume ownership for %s and fsGroup set. If the volume has a lot of files then setting volume ownership could be slow, see https://github.com/kubernetes/kubernetes/issues/69699", dir)
    	})
    	defer timer.Stop()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/audit/context.go

    	ae := &ac.Event
    
    	if ae.Annotations == nil {
    		ae.Annotations = make(map[string]string)
    	}
    	if v, ok := ae.Annotations[key]; ok && v != value {
    		klog.Warningf("Failed to set annotations[%q] to %q for audit:%q, it has already been set to %q", key, value, ae.AuditID, ae.Annotations[key])
    		return
    	}
    	ae.Annotations[key] = value
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  9. pkg/volume/flexvolume/probe.go

    	return nil
    }
    
    // Creates the plugin directory, if it doesn't already exist.
    func (prober *flexVolumeProber) createPluginDir() error {
    	if _, err := prober.fs.Stat(prober.pluginDir); os.IsNotExist(err) {
    		klog.Warningf("Flexvolume plugin directory at %s does not exist. Recreating.", prober.pluginDir)
    		err := prober.fs.MkdirAll(prober.pluginDir, 0755)
    		if err != nil {
    			return fmt.Errorf("error (re-)creating driver directory: %s", err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 28 11:14:00 UTC 2023
    - 9K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/componentconfigs/configset.go

    	configMap, err := apiclient.GetConfigMapWithShortRetry(client, metav1.NamespaceSystem, cmName)
    	if err != nil {
    		if !mustExist && (apierrors.IsNotFound(err) || apierrors.IsForbidden(err)) {
    			klog.Warningf("Warning: No %s config is loaded. Continuing without it: %v", h.GroupVersion, err)
    			return nil, nil
    		}
    		return nil, err
    	}
    
    	configData, ok := configMap.Data[cmKey]
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 04 15:36:00 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top