Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for runningpods (2.59 sec)

  1. pkg/kubelet/container/runtime.go

    	Sandboxes []*Container
    }
    
    // PodPair contains both runtime#Pod and api#Pod
    type PodPair struct {
    	// APIPod is the v1.Pod
    	APIPod *v1.Pod
    	// RunningPod is the pod defined in pkg/kubelet/container/runtime#Pod
    	RunningPod *Pod
    }
    
    // ContainerID is a type that identifies a container.
    type ContainerID struct {
    	// The type of the container runtime. e.g. 'docker'.
    	Type string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_test.go

    	testKubelet := newTestKubelet(t, false /* controllerAttachDetachEnabled */)
    	defer testKubelet.Cleanup()
    	runningPod := &kubecontainer.Pod{
    		ID:        "12345678",
    		Name:      "pod1",
    		Namespace: "ns",
    	}
    	apiPod := podWithUIDNameNs(runningPod.ID, runningPod.Name, runningPod.Namespace)
    
    	// Sync once to create pod directory; confirm that the pod directory has
    	// already been created.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  3. pkg/bootstrap/instance_test.go

    			},
    			annotations: map[string]string{
    				"istio.io/insecurepath": "{\"paths\":[\"/metrics\",\"/live\"]}",
    			},
    			checkLocality: true,
    		},
    		{
    			base: "runningsds",
    			envVars: map[string]string{
    				"ISTIO_META_ISTIO_PROXY_SHA":   "istio-proxy:sha",
    				"ISTIO_META_INTERCEPTION_MODE": "REDIRECT",
    				"ISTIO_META_ISTIO_VERSION":     "release-3.1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet.go

    		// While resize is in progress, periodically call PLEG to update pod cache
    		runningPod := kubecontainer.ConvertPodStatusToRunningPod(kl.getRuntime().Type(), podStatus)
    		if err, _ := kl.pleg.UpdateCache(&runningPod, pod.UID); err != nil {
    			klog.ErrorS(err, "Failed to update pod cache", "pod", klog.KObj(pod))
    			return false, err
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  5. pkg/kubelet/metrics/metrics.go

    	VolumeStatsInodesUsedKey           = "volume_stats_inodes_used"
    	VolumeStatsHealthStatusAbnormalKey = "volume_stats_health_status_abnormal"
    	RunningPodsKey                     = "running_pods"
    	RunningContainersKey               = "running_containers"
    	DesiredPodCountKey                 = "desired_pods"
    	ActivePodCountKey                  = "active_pods"
    	MirrorPodCountKey                  = "mirror_pods"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 15:13:25 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    			Image:    fakeContainer.Image,
    			ImageRef: fakeContainer.ImageRef,
    			Labels:   fakeContainer.Labels,
    		})
    		if err != nil {
    			t.Fatalf("unexpected error %v", err)
    		}
    		containers[i] = c
    	}
    	runningPod := kubecontainer.Pod{
    		ID:         pod.UID,
    		Name:       pod.Name,
    		Namespace:  pod.Namespace,
    		Containers: []*kubecontainer.Container{containers[0], containers[1], containers[2]},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  7. pkg/printers/internalversion/printers_test.go

    		}
    		if !reflect.DeepEqual(test.expect, rows) {
    			t.Errorf("%d mismatch: %s", i, cmp.Diff(test.expect, rows))
    		}
    	}
    }
    
    func TestPrintPodConditions(t *testing.T) {
    	runningPod := &api.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "test1", Labels: map[string]string{"a": "1", "b": "2"}},
    		Spec:       api.PodSpec{Containers: make([]api.Container, 2)},
    		Status: api.PodStatus{
    			Phase: "Running",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
Back to top