Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,623 for ContainerT (0.16 sec)

  1. pkg/volume/emptydir/empty_dir_test.go

    		mountDetector   = fakeMountDetector{}
    		pod             = &v1.Pod{
    			ObjectMeta: metav1.ObjectMeta{
    				UID: types.UID("poduid"),
    			},
    			Spec: v1.PodSpec{
    				Containers: []v1.Container{
    					{
    						Resources: v1.ResourceRequirements{
    							Requests: v1.ResourceList{
    								v1.ResourceName("hugepages-2Mi"): resource.MustParse("100Mi"),
    							},
    						},
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/util/in_mesh.go

    	}
    
    	return enabled, ok
    }
    
    func hasIstioProxy(containers []v1.Container) bool {
    	proxyImage := ""
    	for _, container := range containers {
    		if container.Name == IstioProxyName {
    			proxyImage = container.Image
    			break
    		}
    	}
    
    	return proxyImage != ""
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. pkg/apis/core/v1/validation/validation_test.go

    }
    
    func TestAccumulateUniqueHostPorts(t *testing.T) {
    	successCase := []struct {
    		name        string
    		containers  []v1.Container
    		accumulator *sets.String
    		fldPath     *field.Path
    	}{{
    		name: "HostPort is not allocated while containers use the same port with different protocol",
    		containers: []v1.Container{{
    			Ports: []v1.ContainerPort{{
    				HostPort: 8080,
    				Protocol: v1.ProtocolUDP,
    			}},
    		}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/devicemanager/topology_hints_test.go

    				},
    			},
    			registeredDevices: []string{"gpu"},
    			expected:          map[string]int{"gpu": 2},
    		},
    		{
    			description: "Init containers and user containers request the same amount of device plugin resources",
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{
    					InitContainers: []v1.Container{
    						{
    							Resources: v1.ResourceRequirements{
    								Limits: v1.ResourceList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  5. pkg/kubelet/types/types.go

    }
    
    // SortInitContainerStatuses ensures that statuses are in the order that their
    // init container appears in the pod spec
    func SortInitContainerStatuses(p *v1.Pod, statuses []v1.ContainerStatus) {
    	containers := p.Spec.InitContainers
    	current := 0
    	for _, container := range containers {
    		for j := current; j < len(statuses); j++ {
    			if container.Name == statuses[j].Name {
    				statuses[current], statuses[j] = statuses[j], statuses[current]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 13:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. container-tests/src/test/java/okhttp3/containers/SocksProxyTest.kt

    import org.mockserver.model.HttpRequest.request
    import org.mockserver.model.HttpResponse.response
    import org.testcontainers.containers.GenericContainer
    import org.testcontainers.containers.MockServerContainer
    import org.testcontainers.containers.Network
    import org.testcontainers.junit.jupiter.Container
    import org.testcontainers.junit.jupiter.Testcontainers
    import org.testcontainers.utility.DockerImageName
    
    @Testcontainers
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. cluster/addons/fluentd-gcp/fluentd-gcp-configmap-old.yaml

    kind: ConfigMap
    apiVersion: v1
    data:
      containers.input.conf: |-
        # This configuration file for Fluentd is used
        # to watch changes to Docker log files that live in the
        # directory /var/lib/docker/containers/ and are symbolically
        # linked to from the /var/log/containers directory using names that capture the
        # pod name and container name. These logs are then submitted to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 26 07:09:07 UTC 2018
    - 16.3K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/pod_container_manager_linux_test.go

    			require.Equalf(t, tt.wantCgroupName, actualCgroupName, "Unexpected cgroup name for pod with UID %s, container resources: %v", tt.args.pod.UID, tt.args.pod.Spec.Containers[0].Resources)
    			require.Equalf(t, tt.wantLiteralCgroupfs, actualLiteralCgroupfs, "Unexpected literal cgroupfs for pod with UID %s, container resources: %v", tt.args.pod.UID, tt.args.pod.Spec.Containers[0].Resources)
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 08 13:06:38 UTC 2022
    - 8.9K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/cpumanager/cpu_manager.go

    	// Called to trigger the allocation of CPUs to a container. This must be
    	// called at some point prior to the AddContainer() call for a container,
    	// e.g. at pod admission time.
    	Allocate(pod *v1.Pod, container *v1.Container) error
    
    	// AddContainer adds the mapping between container ID to pod UID and the container name
    	// The mapping used to remove the CPU allocation during the container removal
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 19.9K bytes
    - Viewed (0)
  10. pkg/apis/core/validation/validation_test.go

    			{Type: field.ErrorTypeInvalid, Field: "containers[0].livenessProbe.initialDelaySeconds"},
    			{Type: field.ErrorTypeInvalid, Field: "containers[0].livenessProbe.timeoutSeconds"},
    			{Type: field.ErrorTypeInvalid, Field: "containers[0].livenessProbe.periodSeconds"},
    			{Type: field.ErrorTypeInvalid, Field: "containers[0].livenessProbe.successThreshold"},
    			{Type: field.ErrorTypeInvalid, Field: "containers[0].livenessProbe.failureThreshold"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top