Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,625 for containerA (0.29 sec)

  1. pkg/kubelet/cm/devicemanager/manager.go

    		}
    	}
    	// Allocate resources for init containers first as we know the caller always loops
    	// through init containers before looping through app containers. Should the caller
    	// ever change those semantics, this logic will need to be amended.
    	for _, initContainer := range pod.Spec.InitContainers {
    		if container.Name == initContainer.Name {
    			if err := m.allocateContainerResources(pod, container, m.devicesToReuse[string(pod.UID)]); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
  2. 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)
  3. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    		fakeOS.Removes)
    	// Verify container is removed
    	assert.Contains(t, fakeRuntime.Called, "RemoveContainer")
    	containers, err := fakeRuntime.ListContainers(ctx, &runtimeapi.ContainerFilter{Id: containerID})
    	assert.NoError(t, err)
    	assert.Empty(t, containers)
    }
    
    // TestKillContainer tests killing the container in a Pod.
    func TestKillContainer(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  4. 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)
  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/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/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/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