Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for sandboxes (0.14 sec)

  1. cmd/kubeadm/app/util/runtime/runtime.go

    	ctx, cancel := defaultContext()
    	defer cancel()
    
    	sandboxes, err := runtime.impl.ListPodSandbox(ctx, runtime.runtimeService, nil)
    	if err != nil {
    		return nil, errors.Wrap(err, "failed to list pod sandboxes")
    	}
    
    	pods := []string{}
    	for _, sandbox := range sandboxes {
    		pods = append(pods, sandbox.GetId())
    	}
    	return pods, nil
    }
    
    // RemoveContainers removes running k8s pods
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/util/util.go

    		if s.State == runtimeapi.PodSandboxState_SANDBOX_READY {
    			readySandboxCount++
    		}
    	}
    
    	// Needs to create a new sandbox when readySandboxCount > 1 or the ready sandbox is not the latest one.
    	sandboxStatus := podStatus.SandboxStatuses[0]
    	if readySandboxCount > 1 {
    		klog.V(2).InfoS("Multiple sandboxes are ready for Pod. Need to reconcile them", "pod", klog.KObj(pod))
    		return true, sandboxStatus.Metadata.Attempt + 1, sandboxStatus.Id
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:14:48 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/util/util_test.go

    		expectedChanged   bool
    		expectedAttempt   uint32
    		expectedSandboxID string
    	}{
    		"Pod with no existing sandboxes": {
    			pod:               &v1.Pod{},
    			status:            &kubecontainer.PodStatus{},
    			expectedChanged:   true,
    			expectedAttempt:   0,
    			expectedSandboxID: "",
    		},
    		"Pod with multiple ready sandbox statuses": {
    			pod: &v1.Pod{},
    			status: &kubecontainer.PodStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:14:48 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. tools/istio-iptables/pkg/dependencies/implementation_linux_test.go

    	original := file.AsStringOrFail(t, "/etc/nsswitch.conf")
    	var sandboxed string
    
    	originalNetNS, err := netns.Get()
    	assert.NoError(t, err)
    	var sandboxedNetNS netns.NsHandle
    
    	// Due to unshare-go imports above, this can run
    	assert.NoError(t, runInSandbox("", func() error {
    		// We should have overwritten this file with /dev/null
    		sandboxed = file.AsStringOrFail(t, "/etc/nsswitch.conf")
    		sandboxedNetNS, err = netns.Get()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 26 20:05:40 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. 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)
  6. SECURITY.md

    libraries we consider that it is safe to work with untrusted inputs for PNG,
    BMP, GIF, WAV, RAW, RAW\_PADDED, CSV and PROTO formats. All other input formats,
    including tensorflow-io should be sandboxed if used to process untrusted data.
    
    For example, if an attacker were to upload a malicious video file, they could
    potentially exploit a vulnerability in the TensorFlow code that handles videos,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Oct 01 06:06:35 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  7. 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)
  8. .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)
Back to top