Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 154 for Containers (0.23 sec)

  1. pkg/kube/inject/testdata/inputs/kubevirtInterfaces.yaml.9.template.gen.yaml

            {{- end }}
          {{- end }}
        {{- end }}
        {{ $nativeSidecar := (eq (env "ENABLE_NATIVE_SIDECARS" "false") "true") }}
        {{- $containers := list }}
        {{- range $index, $container := .Spec.Containers }}{{ if not (eq $container.Name "istio-proxy") }}{{ $containers = append $containers $container.Name }}{{end}}{{- end}}
        metadata:
          labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  2. pkg/kubelet/status/status_manager_test.go

    	newPod := func(initContainers, containers int, fns ...func(*v1.Pod)) *v1.Pod {
    		pod := getTestPod()
    		for i := 0; i < initContainers; i++ {
    			pod.Spec.InitContainers = append(pod.Spec.InitContainers, v1.Container{
    				Name: fmt.Sprintf("init-%d", i),
    			})
    		}
    		for i := 0; i < containers; i++ {
    			pod.Spec.Containers = append(pod.Spec.Containers, v1.Container{
    				Name: fmt.Sprintf("%d", i),
    			})
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    			}
    		}
    		containers = append(containers, v1.Container{
    			Resources: v1.ResourceRequirements{Requests: rl},
    		})
    	}
    	return &v1.Pod{
    		Spec: v1.PodSpec{
    			Containers: containers,
    		},
    	}
    }
    
    func newResourceInitPod(pod *v1.Pod, usage ...framework.Resource) *v1.Pod {
    	pod.Spec.InitContainers = newResourcePod(usage...).Spec.Containers
    	return pod
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/devicemanager/manager_test.go

    	as.Nil(err)
    	as.Nil(runContainerOpts)
    }
    
    func TestInitContainerDeviceAllocation(t *testing.T) {
    	// Requesting to create a pod that requests resourceName1 in init containers and normal containers
    	// should succeed with devices allocated to init containers reallocated to normal containers.
    	res1 := TestResource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/memorymanager/memory_manager_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			UID: types.UID(podUID),
    		},
    		Spec: v1.PodSpec{
    			Containers: []v1.Container{
    				{
    					Name:      containerName,
    					Resources: *requirements,
    				},
    			},
    		},
    	}
    }
    
    func getPodWithInitContainers(podUID string, containers []v1.Container, initContainers []v1.Container) *v1.Pod {
    	return &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			UID: types.UID(podUID),
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 13:01:40 UTC 2023
    - 70.2K bytes
    - Viewed (0)
  6. pkg/kubelet/pod_workers.go

    	// should aggressively cleanup pod resources that are not containers or on disk
    	// content, like attached volumes. This is true when a pod is not yet observed
    	// by a worker after the first sync (meaning it can't be running yet) or after
    	// all running containers are stopped.
    	// TODO: Once pod logs are separated from running containers, this method should
    	// be used to gate whether containers are kept.
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 13:22:37 UTC 2024
    - 74.8K bytes
    - Viewed (0)
  7. pkg/controller/podautoscaler/replica_calculator_test.go

    		},
    		{
    			name: "pod with restartable init containers",
    			pods: []*v1.Pod{{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      testPod,
    					Namespace: testNamespace,
    				},
    				Spec: v1.PodSpec{
    					Containers: []v1.Container{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 68.4K bytes
    - Viewed (0)
  8. pkg/kubelet/eviction/helpers.go

    				}
    			}
    		}
    		if containerFs := summary.Node.Runtime.ContainerFs; containerFs != nil {
    			if containerFs.AvailableBytes != nil && containerFs.CapacityBytes != nil {
    				result[evictionapi.SignalContainerFsAvailable] = signalObservation{
    					available: resource.NewQuantity(int64(*containerFs.AvailableBytes), resource.BinarySI),
    					capacity:  resource.NewQuantity(int64(*containerFs.CapacityBytes), resource.BinarySI),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  9. plugin/pkg/admission/limitranger/admission_test.go

    	}
    
    	for i := range testPod.Spec.Containers {
    		container := testPod.Spec.Containers[i]
    		limitMemory := container.Resources.Limits.Memory().String()
    		limitCPU := container.Resources.Limits.CPU().String()
    		requestMemory := container.Resources.Requests.Memory().String()
    		requestCPU := container.Resources.Requests.CPU().String()
    
    		if limitMemory != "10Mi" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    We look at each of those ways next, using the `tasks` container as an example.
    
    TIP: Note that you can leverage the type-safe accessors described in <<kotdsl:accessor_applicability,another section>> if you are configuring existing elements on supported containers. That section also describes which containers support type-safe accessors.
    
    === Using the container API
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
Back to top