- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 2,625 for container3 (0.16 sec)
-
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) -
pkg/kubelet/kuberuntime/kuberuntime_termination_order_test.go
// sidecars should exit in reverse order, so // sc1 = 3 (main container + sc3 + sc2) { containerName: "sc1", expectedDelay: 3, }, // sc2 = 2 (main container + sc3) { containerName: "sc2", expectedDelay: 2, }, // sc3 = 1 (main container) { containerName: "sc3", expectedDelay: 1, }, // main container = 0 delay, nothing to wait on { containerName: "main",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 18 00:07:21 UTC 2023 - 6.7K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)