Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,237 for ContainerT (0.18 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/ReadOnlyDependencyCacheWithinContainerTest.groovy

            }
    
            cleanup:
            container.stopContainer()
        }
    
        def "can use a read-only cache within multiple containers concurrently (daemon in container=#daemon)"() {
            given:
            def ids = (0..3)
            exposeServerToContainers()
            def containers = ids.collect { id ->
                // The HEAD requests are because the URL of the repository is different
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    			name: "default termination grace period",
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{Containers: []v1.Container{{Name: "foo"}}},
    			},
    			reason:              reasonUnknown,
    			expectedGracePeriod: int64(2),
    		},
    		{
    			name: "use pod termination grace period",
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{
    					Containers:                    []v1.Container{{Name: "foo"}},
    					TerminationGracePeriodSeconds: &longGracePeriod,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  3. cluster/gce/gci/README.md

        image: cos-77-12371-274-0
        project: cos-cloud
        metadata: "user-data</go/src/github.com/containerd/cri/test/e2e_node/init.yaml,containerd-configure-sh</go/src/github.com/containerd/cri/cluster/gce/configure.sh,containerd-extra-init-sh</go/src/github.com/containerd/cri/test/e2e_node/gci-init.sh,containerd-env</workspace/test-infra/jobs/e2e_node/containerd/cri-master/env,gci-update-strategy=update_disabled"
    ```
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 14:55:40 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. pkg/kubelet/lifecycle/handlers_test.go

    	pod.ObjectMeta.Name = "podFoo"
    	pod.ObjectMeta.Namespace = "nsFoo"
    	pod.Spec.Containers = []v1.Container{container}
    
    	t.Run("consistent", func(t *testing.T) {
    		container.Lifecycle.PostStart.HTTPGet.Port = intstr.FromString("70")
    		pod.Spec.Containers = []v1.Container{container}
    		_, err := handlerRunner.Run(ctx, containerID, &pod, &container, container.Lifecycle.PostStart)
    
    		if err != nil {
    			t.Errorf("unexpected error: %v", err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/labels_test.go

    			DeletionGracePeriodSeconds: &deletionGracePeriod,
    		},
    		Spec: v1.PodSpec{
    			Containers:                    []v1.Container{*container},
    			TerminationGracePeriodSeconds: &terminationGracePeriod,
    		},
    	}
    
    	var tests = []struct {
    		description string
    		expected    *labeledContainerInfo
    	}{
    		{
    			"Regular containers",
    			&labeledContainerInfo{
    				PodName:       pod.Name,
    				PodNamespace:  pod.Namespace,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 22:43:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. pkg/api/v1/resource/helpers.go

    }
    
    // findContainerInPod finds a container by its name in the provided pod
    func findContainerInPod(pod *v1.Pod, containerName string) (*v1.Container, error) {
    	for _, container := range pod.Spec.Containers {
    		if container.Name == containerName {
    			return &container, nil
    		}
    	}
    	for _, container := range pod.Spec.InitContainers {
    		if container.Name == containerName {
    			return &container, nil
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 26 13:58:16 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  7. pkg/kubelet/volumemanager/volume_manager_test.go

    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "abc",
    			Namespace: "nsA",
    			UID:       "1234",
    		},
    		Spec: v1.PodSpec{
    			Containers: []v1.Container{
    				{
    					Name: "container1",
    					VolumeMounts: []v1.VolumeMount{
    						{
    							Name:      volumetest.FailMountDeviceVolumeName,
    							MountPath: "/vol1",
    						},
    						{
    							Name:      "vol2",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. pkg/kube/inject/app_probe.go

    		return c
    	}
    	return FindContainer(name, pod.Spec.InitContainers)
    }
    
    // FindContainer returns the pointer to the first container whose name matches.
    func FindContainer(name string, containers []corev1.Container) *corev1.Container {
    	for i := range containers {
    		if containers[i].Name == name {
    			return &containers[i]
    		}
    	}
    	return nil
    }
    
    // convertAppProber returns an overwritten `Probe` for pilot agent to take over.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 04 15:06:24 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  9. pkg/kubelet/util/util.go

    }
    
    // GetContainerByIndex validates and extracts the container at index "idx" from
    // "containers" with respect to "statuses".
    // It returns true if the container is valid, else returns false.
    func GetContainerByIndex(containers []v1.Container, statuses []v1.ContainerStatus, idx int) (v1.Container, bool) {
    	if idx < 0 || idx >= len(containers) || idx >= len(statuses) {
    		return v1.Container{}, false
    	}
    	if statuses[idx].Name != containers[idx].Name {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 18:07:39 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. pkg/kubelet/qos/policy.go

    	// Burstable containers are a middle tier, between Guaranteed and Best-Effort. Ideally,
    	// we want to protect Burstable containers that consume less memory than requested.
    	// The formula below is a heuristic. A container requesting for 10% of a system's
    	// memory will have an OOM score adjust of 900. If a process in container Y
    	// uses over 10% of memory, its OOM score will be 1000. The idea is that containers
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 14:49:26 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top