Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for containerA (0.27 sec)

  1. pkg/kubelet/kubelet_pods_test.go

    		InitContainers: []v1.Container{
    			{Name: "containerX"},
    		},
    		Containers: []v1.Container{
    			{Name: "containerA"},
    			{Name: "containerB"},
    		},
    		RestartPolicy: v1.RestartPolicyAlways,
    	}
    
    	tests := []struct {
    		pod    *v1.Pod
    		status v1.PodPhase
    		test   string
    	}{
    		{&v1.Pod{Spec: desiredState, Status: v1.PodStatus{}}, v1.PodPending, "empty, waiting"},
    		{
    			&v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/memorymanager/policy_static_test.go

    				hugepages1Gi:      4 * gb,
    			},
    		},
    		{
    			description: "maximum resources of init containers > total resources of long running containers, including restartable init containers",
    			pod: getPodWithInitContainers(
    				"",
    				[]v1.Container{
    					{
    						Name: "container1",
    						Resources: v1.ResourceRequirements{
    							Requests: v1.ResourceList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 05:49:15 UTC 2023
    - 100.4K bytes
    - Viewed (0)
  3. pkg/printers/internalversion/printers_test.go

    								Name:  "fake-container1",
    								Image: "fake-image1",
    							},
    							{
    								Name:  "fake-container2",
    								Image: "fake-image2",
    							},
    						},
    					},
    				},
    			},
    
    			options: printers.GenerateOptions{},
    			// Columns: Name, Containers, Images, Pod Labels
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_pods.go

    	// TODO: Consolidate the logic here with kuberuntime.GetContainerLogs, here we convert container name to containerID,
    	// but inside kuberuntime we convert container id back to container name and restart count.
    	// TODO: After separate container log lifecycle management, we should get log based on the existing log files
    	// instead of container status.
    	containerID, err := kl.validateContainerLogStatus(pod.Name, &podStatus, containerName, logOptions.Previous)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 229.4K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet.go

    		}
    		if klogVEnabled {
    			containers = append(containers, container{Name: s.Name, State: string(s.State), ExitCode: s.ExitCode, FinishedAt: s.FinishedAt.UTC().Format(time.RFC3339Nano)})
    		}
    	}
    	if klogVEnabled {
    		sort.Slice(containers, func(i, j int) bool { return containers[i].Name < containers[j].Name })
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  7. pkg/apis/apps/validation/validation_test.go

    	addContainersValidTemplate.Template.Spec.Containers = append(addContainersValidTemplate.Template.Spec.Containers,
    		api.Container{Name: "def", Image: "image2", ImagePullPolicy: "IfNotPresent"})
    	if len(addContainersValidTemplate.Template.Spec.Containers) != len(validPodTemplate.Template.Spec.Containers)+1 {
    		t.Errorf("failure during test setup: template %v should have more containers than template %v", addContainersValidTemplate, validPodTemplate)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  8. pkg/printers/internalversion/printers.go

    }
    
    // Lay out all the containers on one line if use wide output.
    func layoutContainerCells(containers []api.Container) (names string, images string) {
    	var namesBuffer bytes.Buffer
    	var imagesBuffer bytes.Buffer
    
    	for i, container := range containers {
    		namesBuffer.WriteString(container.Name)
    		imagesBuffer.WriteString(container.Image)
    		if i != len(containers)-1 {
    			namesBuffer.WriteString(",")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  9. pkg/apis/batch/validation/validation_test.go

    		},
    		Spec: api.PodSpec{
    			RestartPolicy:  api.RestartPolicyOnFailure,
    			DNSPolicy:      api.DNSClusterFirst,
    			Containers:     []api.Container{{Name: "abc", Image: "image", ImagePullPolicy: "IfNotPresent", TerminationMessagePolicy: api.TerminationMessageReadFile}},
    			InitContainers: []api.Container{{Name: "def", Image: "image", ImagePullPolicy: "IfNotPresent", TerminationMessagePolicy: api.TerminationMessageReadFile}},
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
  10. pkg/registry/batch/job/strategy_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Labels: validSelector.MatchLabels,
    		},
    		Spec: api.PodSpec{
    			RestartPolicy: api.RestartPolicyOnFailure,
    			DNSPolicy:     api.DNSClusterFirst,
    			Containers:    []api.Container{{Name: "abc", Image: "image", ImagePullPolicy: "IfNotPresent", TerminationMessagePolicy: api.TerminationMessageReadFile}},
    		},
    	}
    	validPodTemplateSpecNever := *validPodTemplateSpec.DeepCopy()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 101.5K bytes
    - Viewed (0)
Back to top