Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,290 for Warningf (0.18 sec)

  1. plugin/pkg/admission/admit/admission.go

    	return true
    }
    
    // NewAlwaysAdmit creates a new always admit admission handler
    func NewAlwaysAdmit() admission.Interface {
    	// DEPRECATED: AlwaysAdmit admit all admission request, it is no use.
    	klog.Warningf("%s admission controller is deprecated. "+
    		"Please remove this controller from your configuration files and scripts.", PluginName)
    	return new(alwaysAdmit)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 16 11:54:27 UTC 2020
    - 2.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/filters/watch_termination.go

    	"k8s.io/klog/v2"
    )
    
    func WithWatchTerminationDuringShutdown(handler http.Handler, termination apirequest.ServerShutdownSignal, wg RequestWaitGroup) http.Handler {
    	if termination == nil || wg == nil {
    		klog.Warningf("watch termination during shutdown not attached to the handler chain")
    		return handler
    	}
    	return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
    		ctx := req.Context()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 15:49:49 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. pkg/registry/rbac/rest/storage_rbac.go

    			result, err := opts.Run()
    			if err != nil {
    				return err
    			}
    			switch {
    			case result.Protected && result.Operation != reconciliation.ReconcileNone:
    				klog.Warningf("skipped reconcile-protected clusterrole.%s/%s with missing permissions: %v", rbac.GroupName, clusterRole.Name, result.MissingRules)
    			case result.Operation == reconciliation.ReconcileUpdate:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 14 03:25:19 UTC 2022
    - 18.5K bytes
    - Viewed (0)
  4. plugin/pkg/admission/deny/admission.go

    	return true
    }
    
    // NewAlwaysDeny creates an always deny admission handler
    func NewAlwaysDeny() admission.Interface {
    	// DEPRECATED: AlwaysDeny denys all admission request, it is no use.
    	klog.Warningf("%s admission controller is deprecated. "+
    		"Please remove this controller from your configuration files and scripts.", PluginName)
    	return new(alwaysDeny)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 16 11:54:27 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  5. plugin/pkg/admission/alwayspullimages/admission.go

    		return false
    	}
    
    	pod, ok := attributes.GetObject().(*api.Pod)
    	if !ok {
    		klog.Warningf("Resource was marked with kind Pod but pod was unable to be converted.")
    		return false
    	}
    
    	oldPod, ok := attributes.GetOldObject().(*api.Pod)
    	if !ok {
    		klog.Warningf("Resource was marked with kind Pod but old pod was unable to be converted.")
    		return false
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 30 22:59:57 UTC 2020
    - 5.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/dispatcher.go

    		Policy:            binding.Spec.PolicyName,
    	}})
    	if err != nil {
    		klog.Warningf("Failed to set admission audit annotation %s for ValidatingAdmissionPolicy %s and ValidatingAdmissionPolicyBinding %s: %v", key, binding.Spec.PolicyName, binding.Name, err)
    	}
    	value := string(valueJSON)
    	if err := attributes.AddAnnotation(key, value); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/discovery/file/file.go

    					// If the request is unauthorized, the cluster admin has not granted access to the cluster info configmap for unauthenticated users
    					// In that case, trust the cluster admin and do not refresh the cluster-info data
    					klog.Warningf("[discovery] Could not access the %s ConfigMap for refreshing the cluster-info information, but the TLS cert is valid so proceeding...\n", bootstrapapi.ConfigMapClusterInfo)
    					return true, nil
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:55 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. pkg/controlplane/reconcilers/instancecount.go

    		// Something is egregiously wrong, just re-make the endpoints record.
    		e.Subsets = []corev1.EndpointSubset{{
    			Addresses: []corev1.EndpointAddress{{IP: ip.String()}},
    			Ports:     endpointPorts,
    		}}
    		klog.Warningf("Resetting endpoints for master service %q to %#v", serviceName, e)
    		_, err = r.epAdapter.Update(metav1.NamespaceDefault, e)
    		return err
    	}
    
    	if !skipMirrorChanged && ipCorrect && portsCorrect {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/etcd3/logger.go

    		klog.V(5).InfoSDepth(klogWrapperDepth, fmt.Sprintf(format, args...))
    	}
    }
    
    func (klogWrapper) Warning(args ...interface{}) {
    	klog.WarningDepth(klogWrapperDepth, args...)
    }
    
    func (klogWrapper) Warningln(args ...interface{}) {
    	klog.WarningDepth(klogWrapperDepth, fmt.Sprintln(args...))
    }
    
    func (klogWrapper) Warningf(format string, args ...interface{}) {
    	klog.WarningDepth(klogWrapperDepth, fmt.Sprintf(format, args...))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 24 10:13:50 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  10. pkg/volume/iscsi/attacher.go

    	if err != nil {
    		klog.Warningf("failed to get iscsi mounter: %v", err)
    		return "", err
    	}
    	return attacher.manager.AttachDisk(*mounter)
    }
    
    func (attacher *iscsiAttacher) GetDeviceMountPath(
    	spec *volume.Spec) (string, error) {
    	mounter, err := volumeSpecToMounter(spec, attacher.host, attacher.targetLocks, nil)
    	if err != nil {
    		klog.Warningf("failed to get iscsi mounter: %v", err)
    		return "", err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 04 08:51:31 UTC 2022
    - 6.8K bytes
    - Viewed (0)
Back to top