Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for port1 (0.03 sec)

  1. pkg/kubelet/kubelet.go

    		MaxPerPodContainer: int(maxPerPodContainerCount),
    		MaxContainers:      int(maxContainerCount),
    	}
    
    	daemonEndpoints := &v1.NodeDaemonEndpoints{
    		KubeletEndpoint: v1.DaemonEndpoint{Port: kubeCfg.Port},
    	}
    
    	imageGCPolicy := images.ImageGCPolicy{
    		MinAge:               kubeCfg.ImageMinimumGCAge.Duration,
    		HighThresholdPercent: int(kubeCfg.ImageGCHighThresholdPercent),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_test.go

    	kl := testKubelet.kubelet
    	pods := []*v1.Pod{
    		{ObjectMeta: metav1.ObjectMeta{Name: "pod1", UID: "1234"}, Spec: v1.PodSpec{Containers: []v1.Container{{Ports: []v1.ContainerPort{{HostPort: 80}}}}}},
    		{ObjectMeta: metav1.ObjectMeta{Name: "pod2", UID: "4567"}, Spec: v1.PodSpec{Containers: []v1.Container{{Ports: []v1.ContainerPort{{HostPort: 80}}}}}},
    	}
    	podToTest := pods[1]
    	// Run once to populate the status map.
    	kl.HandlePodAdditions(pods)
    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/kubelet/kubelet_pods.go

    	if pod.IsEmpty() {
    		return nil, fmt.Errorf("pod not found (%q)", podFullName)
    	}
    
    	return kl.streamingRuntime.GetPortForward(ctx, podName, podNamespace, podUID, portForwardOpts.Ports)
    }
    
    // cleanupOrphanedPodCgroups removes cgroups that should no longer exist.
    // it reconciles the cached state of cgroupPods with the specified list of runningPods
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top