Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for containerA (0.56 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. cluster/gce/gci/configure-helper.sh

    [plugins."io.containerd.grpc.v1.cri".cni]
      bin_dir = "${KUBE_HOME}/bin"
      conf_dir = "/etc/cni/net.d"
      conf_template = "${cni_template_path}"
    [plugins."io.containerd.grpc.v1.cri".containerd]
      default_runtime_name = "runc"
    [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
      runtime_type = "io.containerd.runc.v2"
    [plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.io"]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top