Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for syncAt (0.12 sec)

  1. pkg/kubelet/status/status_manager_test.go

    	}
    }
    
    func TestChangedStatus(t *testing.T) {
    	syncer := newTestManager(&fake.Clientset{})
    	testPod := getTestPod()
    	syncer.SetPodStatus(testPod, getRandomPodStatus())
    	verifyUpdates(t, syncer, 1)
    	syncer.SetPodStatus(testPod, getRandomPodStatus())
    	verifyUpdates(t, syncer, 1)
    }
    
    func TestChangedStatusKeepsStartTime(t *testing.T) {
    	syncer := newTestManager(&fake.Clientset{})
    	testPod := getTestPod()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
  2. pkg/kubelet/pod_workers_test.go

    	}
    	if !podWorkers.CouldHaveRunningContainers(types.UID("abc")) {
    		t.Errorf("Expected pod to potentially have running containers (does not exist but not yet synced)")
    	}
    	if podWorkers.ShouldPodContentBeRemoved(types.UID("abc")) {
    		t.Errorf("Expected pod to not be suitable for removal (does not exist but not yet synced)")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  3. cmd/kube-controller-manager/app/options/options_test.go

    	"--concurrent-deployment-syncs=10",
    	"--concurrent-horizontal-pod-autoscaler-syncs=10",
    	"--concurrent-statefulset-syncs=15",
    	"--concurrent-endpoint-syncs=10",
    	"--concurrent-ephemeralvolume-syncs=10",
    	"--concurrent-service-endpoint-syncs=10",
    	"--concurrent-gc-syncs=30",
    	"--concurrent-namespace-syncs=20",
    	"--concurrent-job-syncs=10",
    	"--concurrent-cron-job-syncs=10",
    	"--concurrent-replicaset-syncs=10",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. pkg/kubelet/pod_workers.go

    	// pod workers have synced (syncPod could be called). Once the pod workers
    	// have synced it returns false if the pod has a sync status until
    	// SyncTerminatedPod completes successfully. If the pod workers have synced,
    	// but the pod does not have a status it returns true.
    	//
    	// Intended for use by subsystem sync loops to avoid performing background setup
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 13:22:37 UTC 2024
    - 74.8K bytes
    - Viewed (0)
  5. pkg/proxy/nftables/proxier.go

    	// services that happened since nftables was synced. For a single object,
    	// changes are accumulated, i.e. previous is state from before all of them,
    	// current is state after applying all of those.
    	endpointsChanges *proxy.EndpointsChangeTracker
    	serviceChanges   *proxy.ServiceChangeTracker
    
    	mu           sync.Mutex // protects the following fields
    	svcPortMap   proxy.ServicePortMap
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  6. pkg/controller/job/job_controller.go

    	syncHandler         func(ctx context.Context, jobKey string) error
    	// podStoreSynced returns true if the pod store has been synced at least once.
    	// Added as a member to the struct to allow injection for testing.
    	podStoreSynced cache.InformerSynced
    	// jobStoreSynced returns true if the job store has been synced at least once.
    	// Added as a member to the struct to allow injection for testing.
    	jobStoreSynced cache.InformerSynced
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  7. pkg/controller/daemon/daemon_controller.go

    	// dsStoreSynced returns true if the daemonset store has been synced at least once.
    	// Added as a member to the struct to allow injection for testing.
    	dsStoreSynced cache.InformerSynced
    	// historyLister get list/get history from the shared informers's store
    	historyLister appslisters.ControllerRevisionLister
    	// historyStoreSynced returns true if the history store has been synced at least once.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  8. pkg/controller/volume/persistentvolume/pv_controller.go

    			if err = ctrl.bind(ctx, volume, claim); err != nil {
    				// Objects not saved, next syncPV or syncClaim will try again
    				return err
    			}
    			return nil
    		} else if volume.Spec.ClaimRef.UID == claim.UID {
    			// All is well
    			// NOTE: syncPV can handle this so it can be left out.
    			// NOTE: bind() call here will do nothing in most cases as
    			// everything should be already set.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    func TestApfExecuteMultipleRequests(t *testing.T) {
    	concurrentRequests := 5
    	preStartExecute, postStartExecute := &sync.WaitGroup{}, &sync.WaitGroup{}
    	preEnqueue, postEnqueue := &sync.WaitGroup{}, &sync.WaitGroup{}
    	preDequeue, postDequeue := &sync.WaitGroup{}, &sync.WaitGroup{}
    	finishExecute := &sync.WaitGroup{}
    	for _, wg := range []*sync.WaitGroup{preStartExecute, postStartExecute, preEnqueue, postEnqueue, preDequeue, postDequeue, finishExecute} {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  10. pkg/controller/replicaset/replica_set_test.go

    		if store != nil {
    			store.Add(pod)
    		}
    		pods = append(pods, *pod)
    	}
    	return &v1.PodList{
    		Items: pods,
    	}
    }
    
    // processSync initiates a sync via processNextWorkItem() to test behavior that
    // depends on both functions (such as re-queueing on sync error).
    func processSync(ctx context.Context, rsc *ReplicaSetController, key string) error {
    	// Save old syncHandler and replace with one that captures the error.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
Back to top