- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for StatusManager (0.2 sec)
-
pkg/kubelet/kubelet.go
// which pods are running. volumeManager volumemanager.VolumeManager // statusManager receives updated pod status updates from the podWorker and updates the API // status of those pods to match. The statusManager is authoritative for the synthesized // status of the pod from the kubelet's perspective (other components own the individual
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 126.1K bytes - Viewed (0) -
pkg/kubelet/kubelet_test.go
kl.HandlePodAdditions(pods) if _, found := kl.statusManager.GetPodStatus(podToTest.UID); !found { t.Fatalf("expected to have status cached for pod2") } // Sync with empty pods so that the entry in status map will be removed. kl.podManager.SetPods([]*v1.Pod{}) kl.HandlePodCleanups(ctx) if _, found := kl.statusManager.GetPodStatus(podToTest.UID); found {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 106.9K bytes - Viewed (0) -
pkg/kubelet/prober/prober_manager_test.go
} func (m *manager) extractedReadinessHandling() { update := <-m.readinessManager.Updates() // This code corresponds to an extract from kubelet.syncLoopIteration() ready := update.Result == results.Success m.statusManager.SetContainerReadiness(update.PodUID, update.ContainerID, ready) } func TestUpdateReadiness(t *testing.T) { testPod := getTestPod() setTestProbe(testPod, readiness, v1.Probe{}) m := newTestManager()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 18.8K bytes - Viewed (0) -
pkg/kubelet/runonce_test.go
rootDirectory: filepath.Clean(basePath), podLogsDirectory: filepath.Join(basePath, "pod-logs"), recorder: &record.FakeRecorder{}, cadvisor: cadvisor, nodeLister: testNodeLister{}, statusManager: status.NewManager(nil, podManager, &statustest.FakePodDeletionSafetyProvider{}, podStartupLatencyTracker, basePath), mirrorPodClient: podtest.NewFakeMirrorClient(), podManager: podManager,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 06:59:54 UTC 2024 - 6.5K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
break } } } if !specStatusDiffer { // Clear last resize state from checkpoint if err := kl.statusManager.SetPodResizeStatus(pod.UID, ""); err != nil { klog.ErrorS(err, "SetPodResizeStatus failed", "pod", pod.Name) } } else { if resizeStatus, found := kl.statusManager.GetPodResizeStatus(string(pod.UID)); found { podResizeStatus = resizeStatus } } return podResizeStatus }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0) -
pilot/pkg/bootstrap/server.go
} func (s *Server) initStatusManager(_ *PilotArgs) { s.addStartFunc("status manager", func(stop <-chan struct{}) error { s.statusManager = status.NewManager(s.RWConfigStore) s.statusManager.Start(stop) return nil }) } func (s *Server) serveHTTP() error { // At this point we are ready - start Http Listener so that it can respond to readiness events.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 46.3K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_test.go
testKubelet := newTestKubelet(t, false /* controllerAttachDetachEnabled */) defer testKubelet.Cleanup() kl := testKubelet.kubelet oldStatus := test.pod.Status kl.statusManager = status.NewFakeManager() kl.statusManager.SetPodStatus(test.pod, oldStatus) actual := kl.generateAPIPodStatus(test.pod, &testKubecontainerPodStatus /* criStatus */, false /* test.isPodTerminal */) if actual.Resize != "" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 198.8K bytes - Viewed (0)