Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,986 for Warningf (0.19 sec)

  1. 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)
  2. pkg/volume/util/fsquota/common/quota_common_linux_impl.go

    }
    
    func isFilesystemOfType(mountpoint string, backingDev string, typeMagic int64) bool {
    	var buf syscall.Statfs_t
    	err := syscall.Statfs(mountpoint, &buf)
    	if err != nil {
    		klog.Warningf("Warning: Unable to statfs %s: %v", mountpoint, err)
    		return false
    	}
    	if int64(buf.Type) != typeMagic {
    		return false
    	}
    	if answer, _ := SupportsQuotas(mountpoint, FSQuotaAccounting); answer {
    		return true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. plugin/pkg/admission/imagepolicy/admission.go

    		a.responseCache.Add(string(cacheKey), review.Status, a.statusTTL(review.Status))
    	}
    
    	for k, v := range review.Status.AuditAnnotations {
    		if err := attributes.AddAnnotation(AuditKeyPrefix+k, v); err != nil {
    			klog.Warningf("failed to set admission audit annotation %s to %s: %v", AuditKeyPrefix+k, v, err)
    		}
    	}
    	if !review.Status.Allowed {
    		if len(review.Status.Reason) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 06:05:06 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader_controller.go

    	switch {
    	case errors.IsNotFound(err):
    		// ignore, authConfigMap is nil now
    		return nil
    	case errors.IsForbidden(err):
    		klog.Warningf("Unable to get configmap/%s in %s.  Usually fixed by "+
    			"'kubectl create rolebinding -n %s ROLEBINDING_NAME --role=%s --serviceaccount=YOUR_NS:YOUR_SA'",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/kubeconfig/kubeconfig.go

    	}
    	// If the current API Server location on disk doesn't match the expected API server, show a warning
    	if currentConfig.Clusters[currentCluster].Server != config.Clusters[expectedCluster].Server {
    		klog.Warningf("a kubeconfig file %q exists already but has an unexpected API Server URL: expected: %s, got: %s",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:04:18 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top