- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for activeUpdate (0.21 sec)
-
pkg/kubelet/pod_workers.go
// the value of status.activeUpdate will be the fallback for the next sync. status.terminatingAt = p.clock.Now() if status.activeUpdate != nil && status.activeUpdate.Pod != nil { status.gracePeriod, _ = calculateEffectiveGracePeriod(status, status.activeUpdate.Pod, nil) } else { status.gracePeriod = 1 } p.requeueLastPodUpdate(uid, status)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 02 13:22:37 UTC 2024 - 74.8K bytes - Viewed (0) -
pkg/kubelet/pod_workers_test.go
Pod: newNamedPod("1", "ns", "running-pod", false), }, expect: hasContext(&podSyncStatus{ fullname: "running-pod_ns", syncedAt: time.Unix(1, 0), startedAt: time.Unix(3, 0), activeUpdate: &UpdatePodOptions{ Pod: newNamedPod("1", "ns", "running-pod", false), }, }), }, { name: "a new pod is recorded and started unless it is a duplicate of an existing terminating pod UID",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 75.6K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_test.go
t.Fatalf("unexpected requested pod termination: %#v", s) } if s.pendingUpdate != nil || s.activeUpdate == nil || s.activeUpdate.Pod == nil || s.activeUpdate.Pod.Annotations["version"] != "2" { t.Fatalf("unexpected restarted pod: %#v", s.activeUpdate.Pod) } // expect we get a pod sync record for kill that should have the same grace period as before (2), but no
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 198.8K bytes - Viewed (0)