Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 210 for container_0 (0.15 sec)

  1. pkg/kubelet/prober/worker.go

    		}
    	}
    
    	if w.containerID.String() != c.ContainerID {
    		if !w.containerID.IsEmpty() {
    			w.resultsManager.Remove(w.containerID)
    		}
    		w.containerID = kubecontainer.ParseContainerID(c.ContainerID)
    		w.resultsManager.Set(w.containerID, w.initialValue, w.pod)
    		// We've got a new container; resume probing.
    		w.onHold = false
    	}
    
    	if w.onHold {
    		// Worker is on hold until there is a new container.
    		return true
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 27 01:28:06 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/memorymanager/fake_memory_manager.go

    }
    
    func (m *fakeManager) Allocate(pod *v1.Pod, container *v1.Container) error {
    	klog.InfoS("Allocate", "pod", klog.KObj(pod), "containerName", container.Name)
    	return nil
    }
    
    func (m *fakeManager) AddContainer(pod *v1.Pod, container *v1.Container, containerID string) {
    	klog.InfoS("Add container", "pod", klog.KObj(pod), "containerName", container.Name, "containerID", containerID)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/helpers_linux_test.go

    		},
    		{
    			description:   "container seccomp profile set to SeccompProfileTypeLocalhost with empty LocalhostProfile returns error",
    			containerSc:   &v1.SecurityContext{SeccompProfile: &v1.SeccompProfile{Type: v1.SeccompProfileTypeLocalhost}},
    			expectedError: "localhostProfile must be set if seccompProfile type is Localhost.",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. pkg/kubelet/userns/userns_manager_test.go

    	                        "gidMappings":[ { "hostId":131072, "containerId":0, "length":userNsLength }, { "hostId":196608, "containerId":0, "length":65536 } ]
                                   }`,
    			success: false,
    		},
    		{
    			name: "two UID mappings",
    			file: `{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. pkg/volume/util/util_test.go

    								{
    									Name: "vol2",
    								},
    							},
    						},
    					},
    					Containers: []v1.Container{
    						{
    							Name: "container1",
    							VolumeMounts: []v1.VolumeMount{
    								{
    									Name: "vol3",
    								},
    							},
    						},
    						{
    							Name: "container2",
    							VolumeDevices: []v1.VolumeDevice{
    								{
    									Name: "vol4",
    								},
    							},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/topologymanager/fake_topology_manager.go

    }
    
    func (m *fakeManager) AddContainer(pod *v1.Pod, container *v1.Container, containerID string) {
    	klog.InfoS("AddContainer", "pod", klog.KObj(pod), "containerName", container.Name, "containerID", containerID)
    }
    
    func (m *fakeManager) RemoveContainer(containerID string) error {
    	klog.InfoS("RemoveContainer", "containerID", containerID)
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 02 18:02:07 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/cpumanager/fake_cpu_manager.go

    	return pol
    }
    
    func (m *fakeManager) Allocate(pod *v1.Pod, container *v1.Container) error {
    	klog.InfoS("Allocate", "pod", klog.KObj(pod), "containerName", container.Name)
    	return nil
    }
    
    func (m *fakeManager) AddContainer(pod *v1.Pod, container *v1.Container, containerID string) {
    	klog.InfoS("AddContainer", "pod", klog.KObj(pod), "containerName", container.Name, "containerID", containerID)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/security_context_windows_test.go

    			fail:     false,
    		},
    		{
    			desc: "Fail if container's RunAsUser is root and RunAsNonRoot is true",
    			sc: &v1.SecurityContext{
    				RunAsNonRoot: &runAsNonRootTrue,
    				WindowsOptions: &v1.WindowsSecurityContextOptions{
    					RunAsUserName: &rootUser,
    				},
    			},
    			username: rootUser,
    			fail:     true,
    		},
    		{
    			desc: "Fail if container's RunAsUser is root (case-insensitive) and RunAsNonRoot is true",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 02:29:11 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  9. pkg/kubelet/stats/cri_stats_provider_test.go

    		sandbox0, sandbox1, sandbox2, sandbox3, sandbox4, sandbox5, sandbox6,
    	})
    	fakeRuntimeService.SetFakeContainers([]*critest.FakeContainer{
    		container0, container1, container2, container3, container4, container5, container6, container7, container8, container9,
    	})
    	fakeRuntimeService.SetFakeContainerStats([]*runtimeapi.ContainerStats{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    		fakeOS.Removes)
    	// Verify container is removed
    	assert.Contains(t, fakeRuntime.Called, "RemoveContainer")
    	containers, err := fakeRuntime.ListContainers(ctx, &runtimeapi.ContainerFilter{Id: containerID})
    	assert.NoError(t, err)
    	assert.Empty(t, containers)
    }
    
    // TestKillContainer tests killing the container in a Pod.
    func TestKillContainer(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top