Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 738 for ContainerT (0.12 sec)

  1. pkg/kubelet/cm/dra/manager_test.go

    	resourceClaimName := "test-pod-claim-1"
    
    	for _, test := range []struct {
    		description string
    		container   *v1.Container
    		pod         *v1.Pod
    		claimInfo   *ClaimInfo
    		wantErr     bool
    	}{
    		{
    			description: "claim info with annotations",
    			container: &v1.Container{
    				Name: "test-container",
    				Resources: v1.ResourceRequirements{
    					Claims: []v1.ResourceClaim{
    						{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:29 UTC 2024
    - 42K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/types_test.go

    		})
    	}
    }
    
    func TestNewNodeInfo(t *testing.T) {
    	nodeName := "test-node"
    	pods := []*v1.Pod{
    		st.MakePod().UID("test-1").Namespace("node_info_cache_test").Name("test-1").Node(nodeName).
    			Containers([]v1.Container{st.MakeContainer().ResourceRequests(map[v1.ResourceName]string{
    				v1.ResourceCPU:    "100m",
    				v1.ResourceMemory: "500",
    			}).ContainerPort([]v1.ContainerPort{{
    				HostIP:   "127.0.0.1",
    				HostPort: 80,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  3. 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)
  4. pkg/kubelet/logs/container_log_manager.go

    	defer c.mutex.Unlock()
    	klog.V(4).InfoS("Starting container log rotation sequence")
    	// TODO(#59998): Use kubelet pod cache.
    	containers, err := c.runtimeService.ListContainers(ctx, &runtimeapi.ContainerFilter{})
    	if err != nil {
    		return fmt.Errorf("failed to list containers: %v", err)
    	}
    	for _, container := range containers {
    		// Only rotate logs for running containers. Non-running containers won't
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. pkg/kube/inject/testdata/inputs/hello.yaml.4.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)
  6. pkg/kube/inject/testdata/inputs/merge-probers.yaml.43.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)
  7. pkg/kube/inject/testdata/inputs/default.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)
  8. pkg/kube/inject/testdata/inputs/status_params.yaml.8.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)
  9. pkg/kube/inject/testdata/inputs/hello-existing-cncf-networks.yaml.15.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)
  10. pkg/kube/inject/testdata/inputs/hello-openshift.yaml.47.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)
Back to top