Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for PodID (0.04 sec)

  1. pkg/kubelet/container/cache_test.go

    	podID, status := getTestPodIDAndStatus(3)
    	cache.Set(podID, status, nil, time.Time{})
    	actualStatus, actualErr := cache.Get(podID)
    	assert.Equal(t, status, actualStatus)
    	assert.Equal(t, nil, actualErr)
    	// Delete the pod from cache, and verify that we get an empty status.
    	cache.Delete(podID)
    	expectedStatus := &PodStatus{ID: podID}
    	actualStatus, actualErr = cache.Get(podID)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 24 20:23:12 UTC 2020
    - 6K bytes
    - Viewed (0)
  2. pkg/kubelet/server/auth_test.go

    	// Path -> ExpectedSubresource
    	testPaths := map[string]string{
    		"/attach/{podNamespace}/{podID}/{containerName}":       "proxy",
    		"/attach/{podNamespace}/{podID}/{uid}/{containerName}": "proxy",
    		"/checkpoint/{podNamespace}/{podID}/{containerName}":   "checkpoint",
    		"/configz": "proxy",
    		"/containerLogs/{podNamespace}/{podID}/{containerName}": "proxy",
    		"/debug/flags/v":                                     "proxy",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 18:09:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. tests/integration/pilot/istioctl_test.go

    				return nil
    			}, retry.Timeout(time.Second*20))
    
    			retry.UntilSuccessOrFail(t, func() error {
    				podID, err := getPodID(apps.A[0])
    				if err != nil {
    					return fmt.Errorf("could not get Pod ID: %v", err)
    				}
    				args := []string{
    					"--namespace=dummy",
    					"x", "describe", "pod", fmt.Sprintf("%s.%s", podID, apps.Namespace.Name()),
    				}
    				output, _, err := istioCtl.Invoke(args)
    				if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. pkg/kubelet/pleg/evented.go

    			} else {
    				klog.ErrorS(err, "Evented PLEG: error generating pod status from the received event", "podUID", podID)
    			}
    		} else {
    			if klogV := klog.V(6); klogV.Enabled() {
    				klogV.InfoS("Evented PLEG: Generated pod status from the received event", "podUID", podID, "podStatus", status)
    			} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 10:46:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. pkg/registry/core/pod/storage/storage.go

    	if _, err = r.setPodHostAndAnnotations(ctx, podUID, podResourceVersion, podID, machine, annotations, dryRun); err != nil {
    		err = storeerr.InterpretGetError(err, api.Resource("pods"), podID)
    		err = storeerr.InterpretUpdateError(err, api.Resource("pods"), podID)
    		if _, ok := err.(*errors.StatusError); !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 20 14:29:25 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  6. pkg/kubelet/server/server.go

    		Path("/attach")
    	ws.Route(ws.GET("/{podNamespace}/{podID}/{containerName}").
    		To(s.getAttach).
    		Operation("getAttach"))
    	ws.Route(ws.POST("/{podNamespace}/{podID}/{containerName}").
    		To(s.getAttach).
    		Operation("getAttach"))
    	ws.Route(ws.GET("/{podNamespace}/{podID}/{uid}/{containerName}").
    		To(s.getAttach).
    		Operation("getAttach"))
    	ws.Route(ws.POST("/{podNamespace}/{podID}/{uid}/{containerName}").
    		To(s.getAttach).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  7. pkg/kubelet/pleg/generic.go

    	return true, nil
    }
    
    func generateEvents(podID types.UID, cid string, oldState, newState plegContainerState) []*PodLifecycleEvent {
    	if newState == oldState {
    		return nil
    	}
    
    	klog.V(4).InfoS("GenericPLEG", "podUID", podID, "containerID", cid, "oldState", oldState, "newState", newState)
    	switch newState {
    	case plegContainerRunning:
    		return []*PodLifecycleEvent{{ID: podID, Type: ContainerStarted, Data: cid}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. pkg/kubelet/pleg/generic_test.go

    	podID := types.UID("test-pod")
    	pods := []*kubecontainer.Pod{{
    		ID:         podID,
    		Containers: []*kubecontainer.Container{infraContainer},
    	}}
    	runtimeMock.EXPECT().GetPods(ctx, true).Return(pods, nil).Times(1)
    
    	goodStatus := &kubecontainer.PodStatus{
    		ID:                podID,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_pods_windows_test.go

    		"disk4": kubecontainer.VolumeInfo{Mounter: &stubVolume{path: "c:/mnt/host"}},
    		"disk5": kubecontainer.VolumeInfo{Mounter: &stubVolume{path: "c:/var/lib/kubelet/podID/volumes/empty/disk5"}},
    		"disk6": kubecontainer.VolumeInfo{Mounter: &stubVolume{path: `/mnt/disk6`}},
    		"disk7": kubecontainer.VolumeInfo{Mounter: &stubVolume{path: `\mnt\disk7`}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. pkg/test/framework/components/istio/ingress/interface.go

    	// when in an environment that doesn't support LoadBalancer) for the given port.
    	AddressesForPort(port int) ([]string, []int)
    
    	// PodID returns the name of the ingress gateway pod of index i. Returns error if failed to get the pod
    	// or the index is out of boundary.
    	PodID(i int) (string, error)
    
    	// Cluster the ingress is deployed to
    	Cluster() cluster.Cluster
    
    	// Namespace of the ingress
    	Namespace() string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 17:13:34 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top