Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for updatepan (0.23 sec)

  1. cmd/site-replication.go

    	if change == nil {
    		return errSRInvalidRequest(errInvalidArgument)
    	}
    	// skip overwrite of local update if peer sent stale info
    	if !updatedAt.IsZero() {
    		if ui, err := globalIAMSys.GetUserInfo(ctx, change.AccessKey); err == nil && ui.UpdatedAt.After(updatedAt) {
    			return nil
    		}
    	}
    
    	var err error
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods_test.go

    				// send a create of a static pod
    				pod := staticPod()
    
    				w.UpdatePod(UpdatePodOptions{
    					UpdateType: kubetypes.SyncPodCreate,
    					StartTime:  time.Unix(1, 0).UTC(),
    					Pod:        pod,
    				})
    				drainAllWorkers(w)
    
    				// terminate the pod (which won't complete) and then deliver a recreate by that same UID
    				w.UpdatePod(UpdatePodOptions{
    					UpdateType: kubetypes.SyncPodKill,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet.go

    	// and been cleaned up by SyncKnownPods. This means a pod may be desired (in API), admitted
    	// (in pod manager), and requested (by invoking UpdatePod) but not start for an arbitrarily
    	// long interval because a prior pod is still terminating.
    	//
    	// As an event-driven (by UpdatePod) controller, the podWorkers must periodically be resynced
    	// by the kubelet invoking SyncKnownPods with the desired state (admitted pods in podManager).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  4. pkg/controller/job/job_controller_test.go

    	cases := map[string]struct {
    		oldJob                  *batch.Job
    		updateFn                func(job *batch.Job)
    		wantRequeuedImmediately bool
    	}{
    		"spec update": {
    			oldJob: newJob(1, 1, 1, batch.IndexedCompletion),
    			updateFn: func(job *batch.Job) {
    				job.Spec.Suspend = ptr.To(false)
    				job.Generation++
    			},
    			wantRequeuedImmediately: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  5. pkg/controller/daemon/daemon_controller_test.go

    		err = manager.dsStore.Add(ds2)
    		if err != nil {
    			t.Fatal(err)
    		}
    
    		pod1 := newPod("pod1-", "node-0", simpleDaemonSetLabel, ds1)
    		prev := *pod1
    		bumpResourceVersion(pod1)
    		manager.updatePod(logger, &prev, pod1)
    		if got, want := manager.queue.Len(), 1; got != want {
    			t.Fatalf("queue.Len() = %v, want %v", got, want)
    		}
    		key, done := manager.queue.Get()
    		if key == "" || done {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_pods.go

    		if pod == nil || wasMirror {
    			klog.V(2).InfoS("Programmer error, restartable pod was a mirror pod but activePods should never contain a mirror pod", "podUID", desiredPod.UID)
    			continue
    		}
    		kl.podWorkers.UpdatePod(UpdatePodOptions{
    			UpdateType: kubetypes.SyncPodCreate,
    			Pod:        pod,
    			MirrorPod:  mirrorPod,
    		})
    
    		// the desired pod is now known as well
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_test.go

    					{
    						State: v1.ContainerState{
    							Terminated: &v1.ContainerStateTerminated{},
    						},
    					},
    				},
    			},
    		},
    	}
    	for _, pod := range pods {
    		kubelet.podWorkers.UpdatePod(UpdatePodOptions{
    			Pod:        pod,
    			UpdateType: kubetypes.SyncPodSync,
    			StartTime:  time.Now(),
    		})
    		if !got {
    			t.Errorf("Should not skip completed pod %q", pod.Name)
    		}
    		got = false
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  8. pkg/volume/util/operationexecutor/operation_generator.go

    				return volumetypes.NewOperationContext(detailedErr, detailedErr, migrated)
    			}
    
    			klog.Infof("ExpandVolume.UpdatePV succeeded for volume %s", util.GetPersistentVolumeClaimQualifiedName(pvc))
    		}
    
    		fsVolume, _ := util.CheckVolumeModeFilesystem(volumeSpec)
    		// No Cloudprovider resize needed, lets mark resizing as done
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/resources/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/uikit.min.js

    li "+i.attrItem+'="'+e+'"><a href="#"></a></li>'}).join("")),He(Ne(this.selNavItem,this.$el).concat(this.nav),"uk-hidden",!this.maxIndex),this.updateNav()},events:["resize"]},events:[{name:"click",delegate:function(){return this.selNavItem},handler:function(t){t.preventDefault(),this.show(ht(t.current,this.attrItem))}},{name:"itemshow",handler:"updateNav"}],methods:{updateNav:function(){var i=this,n=this.getValidIndex();this.navItems.forEach(function(t){var e=ht(t,i.attrItem);He(t,i.clsActive,F(...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 130.5K bytes
    - Viewed (0)
  10. pkg/scheduler/schedule_one_test.go

    			pod := st.MakePod().Name("foo").NominatedNodeName(test.currentNominatedNodeName).Conditions(test.currentPodConditions).Obj()
    
    			ctx, cancel := context.WithCancel(context.Background())
    			defer cancel()
    			if err := updatePod(ctx, cs, pod, test.newPodCondition, test.newNominatingInfo); err != nil {
    				t.Fatalf("Error calling update: %v", err)
    			}
    
    			if actualPatchRequests != test.expectedPatchRequests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
Back to top