Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,625 for containerB (0.19 sec)

  1. plugin/pkg/admission/extendedresourcetoleration/admission_test.go

    			},
    		},
    		{
    			description: "pod with container without any extended resources, expect no change in tolerations",
    			requestedPod: core.Pod{
    				Spec: core.PodSpec{
    					Containers: []core.Container{
    						containerRequestingCPU,
    					},
    				},
    			},
    			expectedPod: core.Pod{
    				Spec: core.PodSpec{
    					Containers: []core.Container{
    						containerRequestingCPU,
    					},
    				},
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 20 15:11:00 UTC 2019
    - 10.3K bytes
    - Viewed (0)
  2. pkg/apis/core/pods/helpers_test.go

    			[]string{},
    		},
    		{
    			"regular containers",
    			field.NewPath("spec"),
    			&api.PodSpec{
    				Containers: []api.Container{
    					{Name: "c1"},
    					{Name: "c2"},
    				},
    			},
    			[]string{"spec.containers[0]", "spec.containers[1]"},
    		},
    		{
    			"init containers",
    			field.NewPath("spec"),
    			&api.PodSpec{
    				InitContainers: []api.Container{
    					{Name: "i1"},
    					{Name: "i2"},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:35:30 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  3. pkg/kubelet/container/helpers_test.go

    					},
    					InitContainers: []v1.Container{
    						{Name: "init-container"},
    					},
    				},
    			},
    			haveName:      "init-container",
    			wantContainer: &v1.Container{Name: "init-container"},
    		},
    		{
    			name: "ephemeral container",
    			havePod: &v1.Pod{
    				Spec: v1.PodSpec{
    					Containers: []v1.Container{
    						{Name: "plain-ole-container"},
    					},
    					InitContainers: []v1.Container{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 01:55:46 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  4. pkg/kube/inject/app_probe_test.go

    			containers: &corev1.Pod{Spec: corev1.PodSpec{Containers: []corev1.Container{app, proxy}}},
    			want:       &proxy,
    		},
    		{
    			name:       "no-sidecar",
    			containers: &corev1.Pod{Spec: corev1.PodSpec{Containers: []corev1.Container{app}}},
    			want:       nil,
    		},
    		{
    			name:       "init-sidecar",
    			containers: &corev1.Pod{Spec: corev1.PodSpec{InitContainers: []corev1.Container{proxy}, Containers: []corev1.Container{app}}},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 04 15:06:24 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  5. pkg/kubelet/container/ref.go

    // within the given pod. Returns an error if the reference can't be constructed or the
    // container doesn't actually belong to the pod.
    func GenerateContainerRef(pod *v1.Pod, container *v1.Container) (*v1.ObjectReference, error) {
    	fieldPath, err := fieldPath(pod, container)
    	if err != nil {
    		// TODO: figure out intelligent way to refer to containers that we implicitly
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 00:55:30 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  6. pkg/kubelet/status/generate_test.go

    	noInitContainer := &v1.PodSpec{}
    	oneInitContainer := &v1.PodSpec{
    		InitContainers: []v1.Container{
    			{Name: "1234"},
    		},
    		Containers: []v1.Container{
    			{Name: "regular"},
    		},
    	}
    	twoInitContainer := &v1.PodSpec{
    		InitContainers: []v1.Container{
    			{Name: "1234"},
    			{Name: "5678"},
    		},
    		Containers: []v1.Container{
    			{Name: "regular"},
    		},
    	}
    	oneRestartableInitContainer := &v1.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 15:18:11 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  7. pkg/api/v1/pod/util_test.go

    	testCases := []struct {
    		name       string
    		containers []v1.Container
    		port       intstr.IntOrString
    		expected   int
    		pass       bool
    	}{{
    		name:       "valid int, no ports",
    		containers: []v1.Container{{}},
    		port:       intstr.FromInt32(93),
    		expected:   93,
    		pass:       true,
    	}, {
    		name: "valid int, with ports",
    		containers: []v1.Container{{Ports: []v1.ContainerPort{{
    			Name:          "",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 32.1K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/noderesources/resource_allocation_test.go

    						{}, {},
    					},
    				},
    			},
    			// should accumulate once per container without a request
    			expected: map[v1.ResourceName]int64{
    				v1.ResourceCPU:    2 * util.DefaultMilliCPURequest,
    				v1.ResourceMemory: 2 * util.DefaultMemoryRequest,
    			},
    		},
    		{
    			name: "request container + requestless container",
    			pod: v1.Pod{
    				Spec: v1.PodSpec{
    					Containers: []v1.Container{
    						{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 23:15:53 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/cpumanager/topology_hints_test.go

    		var activePods []*v1.Pod
    		for p := range tc.assignments {
    			pod := v1.Pod{}
    			pod.UID = types.UID(p)
    			for c := range tc.assignments[p] {
    				container := v1.Container{}
    				container.Name = c
    				pod.Spec.Containers = append(pod.Spec.Containers, container)
    			}
    			activePods = append(activePods, &pod)
    		}
    
    		m := manager{
    			policy: &staticPolicy{
    				topology: topology,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. releasenotes/notes/default-container.yaml

    area: networking
    issue:
      - 26764
    
    releaseNotes:
    - |
      **Improved** sidecar injection to automatically specify the `kubectl.kubernetes.io/default-logs-container`. This ensures `kubectl logs`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 01 15:34:22 UTC 2021
    - 346 bytes
    - Viewed (0)
Back to top