Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 166 for ContainerT (0.29 sec)

  1. 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)
  2. pkg/controller/podautoscaler/replica_calculator_test.go

    					Containers: []v1.Container{
    						{Name: "container1", Resources: v1.ResourceRequirements{Requests: v1.ResourceList{v1.ResourceCPU: *resource.NewMilliQuantity(100, resource.DecimalSI)}}},
    						{Name: "container2", Resources: v1.ResourceRequirements{Requests: v1.ResourceList{v1.ResourceCPU: *resource.NewMilliQuantity(50, resource.DecimalSI)}}},
    					},
    				},
    			}},
    			container:        "container1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 68.4K bytes
    - Viewed (0)
  3. pkg/registry/core/pod/strategy_test.go

    			expectedErr:       errors.NewBadRequest("a container name must be specified for pod test, choose one of: [container1 container2]"),
    			expectedTransport: nil,
    		},
    		{
    			name: "initcontainers",
    			in: &api.Pod{
    				ObjectMeta: metav1.ObjectMeta{Name: fakePodName},
    				Spec: api.PodSpec{
    					Containers: []api.Container{
    						{Name: "container1"},
    						{Name: "container2"},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    		}
    	}
    
    	// Number of running containers to keep.
    	keepCount := 0
    	// check the status of containers.
    	for idx, container := range pod.Spec.Containers {
    		containerStatus := podStatus.FindContainerStatusByName(container.Name)
    
    		// Call internal container post-stop lifecycle hook for any non-running container so that any
    		// allocated cpus are released immediately. If the container is restarted, cpus will be re-allocated
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  5. pkg/apis/core/v1/defaults_test.go

    		".Spec.Containers[0].LivenessProbe.FailureThreshold":             `3`,
    		".Spec.Containers[0].LivenessProbe.ProbeHandler.HTTPGet.Path":    `"/"`,
    		".Spec.Containers[0].LivenessProbe.ProbeHandler.HTTPGet.Scheme":  `"HTTP"`,
    		".Spec.Containers[0].LivenessProbe.PeriodSeconds":                `10`,
    		".Spec.Containers[0].LivenessProbe.SuccessThreshold":             `1`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. operator/cmd/mesh/testdata/manifest-generate/output/sidecar_template.golden.yaml

              {{- 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: Wed Jan 10 05:10:03 UTC 2024
    - 86.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top