Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,192 for slog (0.18 sec)

  1. pkg/volume/downwardapi/downwardapi.go

    	klog.V(3).Infof("Setting up a downwardAPI volume %v for pod %v/%v at %v", b.volName, b.pod.Namespace, b.pod.Name, dir)
    	// Wrap EmptyDir. Here we rely on the idempotency of the wrapped plugin to avoid repeatedly mounting
    	wrapped, err := b.plugin.host.NewWrapperMounter(b.volName, wrappedVolumeSpec(), b.pod, *b.opts)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. cmd/kube-controller-manager/app/plugins_providers.go

    import (
    	"k8s.io/component-base/featuregate"
    	"k8s.io/csi-translation-lib/plugins"
    	"k8s.io/klog/v2"
    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/kubernetes/pkg/volume"
    	"k8s.io/kubernetes/pkg/volume/csimigration"
    	"k8s.io/kubernetes/pkg/volume/portworx"
    )
    
    type probeFn func() []volume.VolumePlugin
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. pkg/kubelet/status/state/state_mem.go

    package state
    
    import (
    	"sync"
    
    	"k8s.io/api/core/v1"
    	"k8s.io/klog/v2"
    )
    
    type stateMemory struct {
    	sync.RWMutex
    	podAllocation   PodResourceAllocation
    	podResizeStatus PodResizeStatus
    }
    
    var _ State = &stateMemory{}
    
    // NewStateMemory creates new State to track resources allocated to pods
    func NewStateMemory() State {
    	klog.V(2).InfoS("Initialized new in-memory state store for pod resource allocation tracking")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_image.go

    	}
    
    	imgSpec := toRuntimeAPIImageSpec(image)
    
    	creds, withCredentials := keyring.Lookup(repoToPull)
    	if !withCredentials {
    		klog.V(3).InfoS("Pulling image without credentials", "image", img)
    
    		imageRef, err := m.imageService.PullImage(ctx, imgSpec, nil, podSandboxConfig)
    		if err != nil {
    			klog.ErrorS(err, "Failed to pull image", "image", img)
    			return "", err
    		}
    
    		return imageRef, nil
    	}
    
    	var pullErrs []error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 08 00:30:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. pkg/kubelet/config/http.go

    			klog.InfoS("Failed to read pods from URL. Dropping verbosity of this message to V(4)", "err", err)
    		} else {
    			klog.V(4).InfoS("Failed to read pods from URL", "err", err)
    		}
    		s.failureLogs++
    	} else {
    		if s.failureLogs > 0 {
    			klog.InfoS("Successfully read pods from URL")
    			s.failureLogs = 0
    		}
    	}
    }
    
    func (s *sourceURL) applyDefaults(pod *api.Pod) error {
    	return applyDefaults(pod, s.url, false, s.nodeName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 01 07:19:44 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  6. pkg/controller/volume/attachdetach/cache/actual_state_of_world.go

    	// ResetDetachRequestTime resets the detachRequestTime to 0 which indicates there is no detach
    	// request any more for the volume
    	ResetDetachRequestTime(logger klog.Logger, volumeName v1.UniqueVolumeName, nodeName types.NodeName)
    
    	// SetDetachRequestTime sets the detachRequestedTime to current time if this is no
    	// previous request (the previous detachRequestedTime is zero) and return the time elapsed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 07:35:17 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  7. pkg/kubelet/pluginmanager/pluginwatcher/example_plugin.go

    	klog.InfoS("Notify registration status", "status", status)
    
    	if e.registrationStatus != nil {
    		e.registrationStatus <- *status
    	}
    
    	return &registerapi.RegistrationStatusResponse{}, nil
    }
    
    // Serve starts a pluginwatcher server and one or more of the plugin services
    func (e *examplePlugin) Serve(services ...string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 10 07:44:16 UTC 2021
    - 5K bytes
    - Viewed (0)
  8. cluster/images/etcd/migrate/migrator.go

    	// Start current version of etcd.
    	runner := m.newServer()
    	klog.Infof("Starting etcd version %s to capture rollback snapshot.", current.version)
    	err = runner.Start(current.version)
    	if err != nil {
    		klog.Fatalf("Unable to automatically downgrade etcd: starting etcd version %s to capture rollback snapshot failed: %v", current.version, err)
    		return nil, err
    	}
    
    	klog.Infof("Snapshotting etcd %s to %s", current.version, snapshotFilename)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 28 07:33:23 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  9. pkg/controller/storageversionmigrator/storageversionmigrator.go

    func (svmc *SVMController) Name() string {
    	return svmc.controllerName
    }
    
    func (svmc *SVMController) addSVM(logger klog.Logger, obj interface{}) {
    	svm := obj.(*svmv1alpha1.StorageVersionMigration)
    	logger.V(4).Info("Adding", "svm", klog.KObj(svm))
    	svmc.enqueue(svm)
    }
    
    func (svmc *SVMController) updateSVM(logger klog.Logger, oldObj, newObj interface{}) {
    	oldSVM := oldObj.(*svmv1alpha1.StorageVersionMigration)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. pkg/controller/certificates/cleaner/cleaner.go

    // rate if the certificate duration is short.
    package cleaner
    
    import (
    	"context"
    	"crypto/x509"
    	"encoding/pem"
    	"fmt"
    	"time"
    
    	"k8s.io/klog/v2"
    
    	capi "k8s.io/api/certificates/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/labels"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    	"k8s.io/apimachinery/pkg/util/wait"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 15 03:26:08 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top