Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 58 for ContainerT (0.35 sec)

  1. pkg/api/pod/util_test.go

    		container := api.EphemeralContainer{
    			EphemeralContainerCommon: api.EphemeralContainerCommon{Name: "foo"},
    		}
    		if preStop != nil || postStart != nil {
    			container.Lifecycle = &api.Lifecycle{
    				PostStart: postStart,
    				PreStop:   preStop,
    			}
    		}
    		return container
    	}
    
    	makePod := func(containers []api.Container, initContainers []api.Container, ephemeralContainers []api.EphemeralContainer) *api.PodSpec {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  2. pkg/controller/job/job_controller_test.go

    	}
    	for _, c := range spec.InitContainers {
    		if diff := cmp.Diff(want, c.Env); diff != "" {
    			t.Errorf("Unexpected Env in container %s (-want,+got):\n%s", c.Name, diff)
    		}
    	}
    	for _, c := range spec.Containers {
    		if diff := cmp.Diff(want, c.Env); diff != "" {
    			t.Errorf("Unexpected Env in container %s (-want,+got):\n%s", c.Name, diff)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  3. pkg/controller/daemon/daemon_controller_test.go

    	for _, strategy := range updateStrategies() {
    		podSpec1 := v1.PodSpec{
    			NodeName: "no-port-conflict",
    			Containers: []v1.Container{{
    				Ports: []v1.ContainerPort{{
    					HostPort: 6661,
    				}},
    			}},
    		}
    		podSpec2 := v1.PodSpec{
    			NodeName: "no-port-conflict",
    			Containers: []v1.Container{{
    				Ports: []v1.ContainerPort{{
    					HostPort: 6662,
    				}},
    			}},
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  4. pkg/controller/podautoscaler/horizontal_test.go

    					},
    				},
    
    				Spec: v1.PodSpec{
    					Containers: []v1.Container{
    						{
    							Name: "container1",
    							Resources: v1.ResourceRequirements{
    								Requests: v1.ResourceList{
    									v1.ResourceCPU: *resource.NewMilliQuantity(reportedCPURequest.MilliValue()/2, resource.DecimalSI),
    								},
    							},
    						},
    						{
    							Name: "container2",
    							Resources: v1.ResourceRequirements{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  5. pkg/kubelet/eviction/eviction_manager_test.go

    		}
    	}
    }
    
    func makeContainersByQOS(class v1.PodQOSClass) []v1.Container {
    	resource := newResourceList("100m", "1Gi", "")
    	switch class {
    	case v1.PodQOSGuaranteed:
    		return []v1.Container{newContainer("guaranteed-container", resource, resource)}
    	case v1.PodQOSBurstable:
    		return []v1.Container{newContainer("burtable-container", resource, nil)}
    	case v1.PodQOSBestEffort:
    		fallthrough
    	default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  6. pkg/scheduler/schedule_one_test.go

    	noResources := v1.PodSpec{
    		Containers: []v1.Container{
    			{},
    		},
    	}
    	noResources1 := noResources
    	noResources1.NodeName = "node1"
    	// A pod with the same resources as a 0-request pod gets by default as its resources (for spreading).
    	small := v1.PodSpec{
    		Containers: []v1.Container{
    			{
    				Resources: v1.ResourceRequirements{
    					Requests: v1.ResourceList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  7. samples/addons/grafana.yaml

    count(container_memory_working_set_bytes{pod=~\"istio-ingressgateway-.*\",container!=\"POD\"})","format":"time_series","intervalFactor":1,"legendFormat":"per istio-ingressgateway","refId":"A"},{"datasource":{"type":"prometheus","uid":"${datasource}"},"expr":"sum(container_memory_working_set_bytes{namespace!=\"istio-system\",container=\"istio-proxy\"}) / count(container_memory_working_set_bytes{namespace!=\"istio-system\",container=\"istio-proxy\"})","format":"time_series","intervalFactor":1,"legendFormat":"per...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 242.3K bytes
    - Viewed (0)
  8. cluster/gce/util.sh

      fi
    
      CONTAINER_RUNTIME_ENDPOINT=${KUBE_CONTAINER_RUNTIME_ENDPOINT:-unix:///run/containerd/containerd.sock}
      flags+=" --container-runtime-endpoint=${CONTAINER_RUNTIME_ENDPOINT}"
    
      if [[ "${CONTAINER_RUNTIME_ENDPOINT}" =~ /containerd.sock$ ]]; then
        flags+=" --runtime-cgroups=/system.slice/containerd.service"
      fi
    
      KUBELET_ARGS="${flags}"
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/autoscaling/v2beta1/generated.pb.go

    }
    
    func (m *ContainerResourceMetricSource) MarshalToSizedBuffer(dAtA []byte) (int, error) {
    	i := len(dAtA)
    	_ = i
    	var l int
    	_ = l
    	i -= len(m.Container)
    	copy(dAtA[i:], m.Container)
    	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Container)))
    	i--
    	dAtA[i] = 0x22
    	if m.TargetAverageValue != nil {
    		{
    			size, err := m.TargetAverageValue.MarshalToSizedBuffer(dAtA[:i])
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 142.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/autoscaling/v1/generated.pb.go

    }
    
    func (m *ContainerResourceMetricSource) MarshalToSizedBuffer(dAtA []byte) (int, error) {
    	i := len(dAtA)
    	_ = i
    	var l int
    	_ = l
    	i -= len(m.Container)
    	copy(dAtA[i:], m.Container)
    	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Container)))
    	i--
    	dAtA[i] = 0x2a
    	if m.TargetAverageValue != nil {
    		{
    			size, err := m.TargetAverageValue.MarshalToSizedBuffer(dAtA[:i])
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 153K bytes
    - Viewed (0)
Back to top