Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for StopContainer (0.12 sec)

  1. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/containers/GradleInContainer.groovy

                        stopContainer()
                    } catch (InterruptedException ex) {
                        // nothing to do
                    }
                }
            })
            monitor.start()
        }
    
        void stopContainer() {
            if (started) {
                started = false
                container.stop()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/ReadOnlyDependencyCacheWithinContainerTest.groovy

                assertOutputContains("/gradle-home/caches/modules-2/files-2.1/org.readonly/util/1.0/")
            }
    
            cleanup:
            container.stopContainer()
        }
    
        def "can use a read-only cache within multiple containers concurrently (daemon in container=#daemon)"() {
            given:
            def ids = (0..3)
            exposeServerToContainers()
    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/instrumented_services.go

    	recordError(operation, err)
    	return err
    }
    
    func (in instrumentedRuntimeService) StopContainer(ctx context.Context, containerID string, timeout int64) error {
    	const operation = "stop_container"
    	defer recordOperation(operation, time.Now())
    
    	err := in.service.StopContainer(ctx, containerID, timeout)
    	recordError(operation, err)
    	return err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 10:46:06 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_gc_test.go

    	})
    	fakeRuntime.SetFakeContainers(fakeContainers)
    
    	err = m.containerGC.evictContainers(ctx, defaultGCPolicy, true, false)
    	assert.NoError(t, err)
    
    	assert.Contains(t, fakeRuntime.GetCalls(), "StopContainer", "RemoveContainer",
    		"container in unknown state should be stopped before being removed")
    
    	remain, err := fakeRuntime.ListContainers(ctx, nil)
    	assert.NoError(t, err)
    	assert.Empty(t, remain)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    		},
    		Spec: v1.PodSpec{
    			Containers: containers,
    		},
    	}
    
    	// Set fake sandbox and faked containers to fakeRuntime.
    	makeAndSetFakePod(t, m, fakeRuntime, pod)
    	fakeRuntime.InjectError("StopContainer", status.Error(codes.NotFound, "No such container"))
    	podStatus, err := m.GetPodStatus(ctx, pod.UID, pod.Name, pod.Namespace)
    	require.NoError(t, err)
    	p := kubecontainer.ConvertPodStatusToRunningPod("", podStatus)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	klog.V(2).InfoS("Killing container with a grace period", "pod", klog.KObj(pod), "podUID", pod.UID,
    		"containerName", containerName, "containerID", containerID.String(), "gracePeriod", gracePeriod)
    
    	err := m.runtimeService.StopContainer(ctx, containerID.ID, gracePeriod)
    	if err != nil && !crierror.IsNotFound(err) {
    		klog.ErrorS(err, "Container termination failed with gracePeriod", "pod", klog.KObj(pod), "podUID", pod.UID,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.7.md

      * Detach the volume when pod is terminated ([#45286](https://github.com/kubernetes/kubernetes/pull/45286), [@gnufied](https://github.com/gnufied))
    
      * CRI: Fix StopContainer timeout ([#44970](https://github.com/kubernetes/kubernetes/pull/44970), [@Random-Liu](https://github.com/Random-Liu))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 308.7K bytes
    - Viewed (0)
Back to top