Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 166 for slog (0.04 sec)

  1. pkg/scheduler/framework/plugins/nodeports/node_ports.go

    		return framework.QueueSkip, nil
    	}
    
    	logger.V(4).Info("the deleted pod and the target pod have any common port(s), returning Queue as deleting this Pod may make the Pod schedulable", "pod", klog.KObj(pod), "deletedPod", klog.KObj(deletedPod))
    	return framework.Queue, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 10:53:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. pkg/kubeapiserver/admission/config.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package admission
    
    import (
    	"os"
    
    	"k8s.io/klog/v2"
    
    	"k8s.io/apiserver/pkg/admission"
    )
    
    // Config holds the configuration needed to for initialize the admission plugins
    type Config struct {
    	CloudConfigFile string
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/controller.go

    // Reconciliation ends as soon as the context completes. If there are events
    // waiting to be processed at that itme, they will be dropped.
    func (c *controller[T]) Run(ctx context.Context) error {
    	klog.Infof("starting %s", c.options.Name)
    	defer klog.Infof("stopping %s", c.options.Name)
    
    	c.queue = workqueue.NewTypedRateLimitingQueueWithConfig(
    		workqueue.DefaultTypedControllerRateLimiter[string](),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. pkg/controller/certificates/certificate_controller.go

    	csr = csr.DeepCopy()
    	return cc.handler(ctx, csr)
    }
    
    // IgnorableError returns an error that we shouldn't handle (i.e. log) because
    // it's spammy and usually user error. Instead we will log these errors at a
    // higher log level. We still need to throw these errors to signal that the
    // sync should be retried.
    func IgnorableError(s string, args ...interface{}) ignorableError {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/apiapproval/apiapproval_controller.go

    func (c *KubernetesAPIApprovalPolicyConformantConditionController) Run(workers int, stopCh <-chan struct{}) {
    	defer utilruntime.HandleCrash()
    	defer c.queue.ShutDown()
    
    	klog.Infof("Starting KubernetesAPIApprovalPolicyConformantConditionController")
    	defer klog.Infof("Shutting down KubernetesAPIApprovalPolicyConformantConditionController")
    
    	if !cache.WaitForCacheSync(stopCh, c.crdSynced) {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. pkg/volume/util/operationexecutor/fakegenerator.go

    }
    
    func (f *fakeOGCounter) GenerateAttachVolumeFunc(logger klog.Logger, volumeToAttach VolumeToAttach, actualStateOfWorld ActualStateOfWorldAttacherUpdater) volumetypes.GeneratedOperations {
    	return f.recordFuncCall("GenerateAttachVolumeFunc")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go

    		return framework.Queue, nil
    	}
    
    	logger.V(5).Info("node was created or updated, but it doesn't change the TaintToleration plugin's decision", "pod", klog.KObj(pod), "node", klog.KObj(modifiedNode))
    	return framework.QueueSkip, nil
    }
    
    // Filter invoked at the filter extension point.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/kubeadm.go

    package app
    
    import (
    	"flag"
    	"os"
    
    	"github.com/spf13/pflag"
    
    	cliflag "k8s.io/component-base/cli/flag"
    	"k8s.io/klog/v2"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd"
    )
    
    // Run creates and executes new kubeadm command
    func Run() error {
    	var allFlags flag.FlagSet
    	klog.InitFlags(&allFlags)
    	// only add the flags that are still supported for kubeadm
    	allFlags.VisitAll(func(f *flag.Flag) {
    		switch f.Name {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 04:38:21 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/upgrade/health.go

    		if err != nil {
    			klog.V(2).Infof("Could not list Nodes with field selector %q: %v", fieldSelector, err)
    			lastError = err
    			return false, nil
    		}
    		return true, nil
    	})
    	if err != nil {
    		return errors.Wrap(lastError, "could not check if there is at least one Node that can schedule a test Pod")
    	}
    
    	if len(nodes.Items) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 09:18:02 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. operator/cmd/mesh/shared.go

    var installerScope = log.RegisterScope("installer", "installer")
    
    func init() {
    	// adding to remove message about the controller-runtime logs not getting displayed
    	// We cannot do this in the `log` package since it would place a runtime dependency on controller-runtime for all binaries.
    	scope := log.RegisterScope("controlleruntime", "scope for controller runtime")
    	controllruntimelog.SetLogger(log.NewLogrAdapter(scope))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top