Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,691 for Warningf (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go

    		}
    
    		matcher := h.GetCompiledMatcher(a.filterCompiler)
    		matchResult := matcher.Match(ctx, versionedAttr, nil, a.authorizer)
    
    		if matchResult.Error != nil {
    			klog.Warningf("Failed evaluating match conditions, failing closed %v: %v", h.GetName(), matchResult.Error)
    			return nil, apierrors.NewForbidden(attr.GetResource().GroupResource(), attr.GetName(), matchResult.Error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. pkg/controlplane/controller/kubernetesservice/controller.go

    		// This path is no executed since 1.17 2a9a9fa, keeping it in case it needs to be revisited
    		if reconcile {
    			if svc, updated := getMasterServiceUpdateIfNeeded(s, servicePorts, serviceType); updated {
    				klog.Warningf("Resetting master service %q to %#v", serviceName, svc)
    				_, err := c.client.CoreV1().Services(metav1.NamespaceDefault).Update(context.TODO(), svc, metav1.UpdateOptions{})
    				return err
    			}
    		}
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 16:33:01 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/controller.go

    	if quit {
    		return false
    	}
    	defer c.queue.Done(key)
    
    	// log slow aggregations
    	start := time.Now()
    	defer func() {
    		elapsed := time.Since(start)
    		if elapsed > time.Second {
    			klog.Warningf("slow openapi aggregation of %q: %s", key, elapsed)
    		}
    	}()
    
    	err := c.syncFn(key)
    	if err == nil {
    		c.queue.Forget(key)
    		return true
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. pkg/registry/core/service/portallocator/allocator.go

    // unallocated port or a port out of the range is a no-op and
    // returns no error.
    func (r *PortAllocator) Release(port int) error {
    	ok, offset := r.contains(port)
    	if !ok {
    		klog.Warningf("port is not in the range when release it. port: %v", port)
    		return nil
    	}
    
    	err := r.alloc.Release(offset)
    	if err == nil {
    		// update metrics
    		r.metrics.setAllocated(r.Used())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 07:15:02 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/authentication/serviceaccount/util.go

    		if _, err = coreClient.Namespaces().Create(context.TODO(), &v1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: namespace}}, metav1.CreateOptions{}); err != nil && !apierrors.IsAlreadyExists(err) {
    			klog.Warningf("create non-exist namespace %s failed:%v", namespace, err)
    		}
    	}
    
    	// Create the service account
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 05 10:24:31 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. pkg/volume/local/local.go

    	mountOptions := util.MountOptionFromSpec(spec, options...)
    	err = dm.mounter.FormatAndMount(devicePath, deviceMountPath, fstype, mountOptions)
    	if err != nil {
    		if rmErr := os.Remove(deviceMountPath); rmErr != nil {
    			klog.Warningf("local: failed to remove %s: %v", deviceMountPath, rmErr)
    		}
    		return fmt.Errorf("local: failed to mount device %s at %s (fstype: %s), error %w", devicePath, deviceMountPath, fstype, err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top