Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for sandboxes (0.16 sec)

  1. pkg/kubelet/kuberuntime/helpers.go

    		State:               toKubeContainerState(c.State),
    	}, nil
    }
    
    // sandboxToKubeContainer converts runtimeapi.PodSandbox to kubecontainer.Container.
    // This is only needed because we need to return sandboxes as if they were
    // kubecontainer.Containers to avoid substantial changes to PLEG.
    // TODO: Remove this once it becomes obsolete.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods.go

    }
    
    // killPod instructs the container runtime to kill the pod. This method requires that
    // the pod status contains the result of the last syncPod, otherwise it may fail to
    // terminate newly created containers and sandboxes.
    func (kl *Kubelet) killPod(ctx context.Context, pod *v1.Pod, p kubecontainer.Pod, gracePeriodOverride *int64) error {
    	// Call the container runtime KillPod method which stops all known running containers of the pod
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/runtime/impl.go

    	return runtimeService.ListPodSandbox(ctx, filter)
    }
    
    func (*defaultImpl) StopPodSandbox(ctx context.Context, runtimeService criapi.RuntimeService, sandboxID string) error {
    	return runtimeService.StopPodSandbox(ctx, sandboxID)
    }
    
    func (*defaultImpl) RemovePodSandbox(ctx context.Context, runtimeService criapi.RuntimeService, podSandboxID string) error {
    	return runtimeService.RemovePodSandbox(ctx, podSandboxID)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet.go

    func (kl *Kubelet) ListMetricDescriptors(ctx context.Context) ([]*runtimeapi.MetricDescriptor, error) {
    	return kl.containerRuntime.ListMetricDescriptors(ctx)
    }
    
    // ListPodSandboxMetrics retrieves the metrics for all pod sandboxes.
    func (kl *Kubelet) ListPodSandboxMetrics(ctx context.Context) ([]*runtimeapi.PodSandboxMetrics, error) {
    	return kl.containerRuntime.ListPodSandboxMetrics(ctx)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache-example-client/src/main/java/org/gradle/caching/example/ExampleBuildCacheClient.java

                    throw new RuntimeException("Should have been a miss");
                });
    
            // Produce some example output (simulate executing cacheable work in a temporary sandbox)
            Path sandboxOutputDirectory = Files.createTempDirectory("sandbox-output");
            Path sandboxOutputTxt = sandboxOutputDirectory.resolve("output.txt");
            Files.write(sandboxOutputTxt, Collections.singleton("contents"));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 19:35:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/runtime/runtime_test.go

    			containers:  []string{"1", "2"},
    			shouldError: false,
    		},
    		{
    			name:       "invalid: remove pod sandbox fails",
    			containers: []string{"1"},
    			prepare: func(mock *fakeImpl) {
    				mock.RemovePodSandboxReturns(errTest)
    			},
    			shouldError: true,
    		},
    		{
    			name:       "invalid: stop pod sandbox fails",
    			containers: []string{"1"},
    			prepare: func(mock *fakeImpl) {
    				mock.StopPodSandboxReturns(errTest)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. .github/bot_config.yml

       
          * Try Google Colab to use TensorFlow.
             * The easiest way to use TF will be to switch to [google colab](https://colab.sandbox.google.com/notebooks/welcome.ipynb#recent=true). You get pre-installed latest stable TF version. Also you can use ```pip install```  to install any other preferred TF version.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 04:55:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/CrossVersionPerformanceTestRunner.groovy

            return cleanOrCreate(perVersion)
        }
    
        private File perVersionStudioSandboxDirectory(File workingDir) {
            File studioSandboxDir = new File(workingDir, "studio-sandbox")
            return cleanOrCreate(studioSandboxDir)
        }
    
        private static File cleanOrCreate(File directory) {
            if (!directory.exists()) {
                directory.mkdirs()
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    		Spec: v1.PodSpec{
    			Containers: []v1.Container{
    				{
    					Name:            "foo",
    					Image:           "busybox",
    					ImagePullPolicy: v1.PullIfNotPresent,
    				},
    			},
    		},
    	}
    
    	// Create fake sandbox and container
    	_, fakeContainers := makeAndSetFakePod(t, m, fakeRuntime, pod)
    	assert.Equal(t, len(fakeContainers), 1)
    
    	containerID := fakeContainers[0].Id
    	fakeOS := m.osInterface.(*containertest.FakeOS)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  10. cni/pkg/plugin/plugin_test.go

            "search": ["testSearch"],
            "options": ["testOption"]
        },
        "prevResult": {
            "cniversion": "%s",
            "interfaces": [
                {
                    "name": "%s",
                    "sandbox": "%s"
                }
            ],
            "ips": [
                {
                    "version": "4",
                    "address": "10.0.0.2/24",
                    "gateway": "10.0.0.1",
                    "interface": 0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top