Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,623 for ContainerT (0.17 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/cm/devicemanager/manager.go

    		// mutex lock. Note if Allocate call fails, we may leave container resources
    		// partially allocated for the failed container. We rely on UpdateAllocatedDevices()
    		// to garbage collect these resources later. Another side effect is that if
    		// we have X resource A and Y resource B in total, and two containers, container1
    		// and container2 both require X resource A and Y resource B. Both allocation
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. pkg/api/testing/backward_compatibility_test.go

    		"hostIPC": true,
    		"containers":[{
    			"name":"a",
    			"image":"my-container-image"
    		}]
    	}
    }
    `,
    			expectedKeys: map[string]string{
    				"spec.hostIPC": "true",
    			},
    		},
    		{
    			name: "hostIPC = false",
    			input: `
    {
    	"kind":"Pod",
    	"apiVersion":"v1",
    	"metadata":{"name":"my-pod-name", "namespace":"my-pod-namespace"},
    	"spec": {
    		"hostIPC": false,
    		"containers":[{
    			"name":"a",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 01 18:45:58 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top