Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for checkpointing_ (0.24 sec)

  1. pkg/kubelet/checkpointmanager/README.md

    ## Introduction
    This folder contains a framework & primitives, Checkpointing Manager, which is
    used by several other Kubelet submodules, `dockershim`, `devicemanager`, `pods`
    and `cpumanager`, to implement checkpointing at each submodule level. As already
    explained in above `Disclaimer` section, think twice before introducing any further
    checkpointing in Kubelet. If still checkpointing is required, then this folder
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 16 05:30:20 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  2. pkg/kubelet/checkpointmanager/testing/example_checkpoint_formats/v1/types.go

    type Data struct {
    	PortMappings []*PortMapping `json:"port_mappings,omitempty"`
    	HostNetwork  bool           `json:"host_network,omitempty"`
    }
    
    // CheckpointData is a sample example structure to be used in test cases for checkpointing
    type CheckpointData struct {
    	Version  string
    	Name     string
    	Data     *Data
    	Checksum checksum.Checksum
    }
    
    // MarshalCheckpoint tries to marshal the CheckpointData into JSON data.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 19 03:53:33 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  3. pkg/kubelet/server/server_test.go

    		if err != nil {
    			t.Errorf("Got error POSTing: %v", err)
    		}
    		defer resp.Body.Close()
    		if resp.StatusCode != http.StatusNotFound {
    			t.Errorf("Unexpected non-error checkpointing container: %#v", resp)
    		}
    	})
    	// Now the checkpointing of the container fails
    	fw.fakeKubelet.podByNameFunc = func(namespace, name string) (*v1.Pod, bool) {
    		return &v1.Pod{
    			ObjectMeta: metav1.ObjectMeta{
    				Namespace: podNamespace,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  4. pkg/kubelet/checkpointmanager/checkpoint_manager_test.go

    	ContainerPort *int32
    	// Port number on the host.
    	HostPort *int32
    	// Host ip to expose.
    	HostIP string
    }
    
    // CheckpointData is a sample example structure to be used in test cases for checkpointing
    type CheckpointData struct {
    	Version  string
    	Name     string
    	Data     *Data
    	Checksum checksum.Checksum
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 12 06:41:04 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.30.md

    - Graduated _forensic container checkpointing_ [KEP #2008](https://kep.k8s.io/2008) from Alpha to Beta. ([#123215](https://github.com/kubernetes/kubernetes/pull/123215), [@adrianreber](https://github.com/adrianreber)) [SIG Node and Testing]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 04:05:28 UTC 2024
    - 253.2K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/dra/manager.go

    			if !exists {
    				return nil
    			}
    
    			// Skip calling NodeUnprepareResource if other pods are still referencing it
    			if len(claimInfo.PodUIDs) > 1 {
    				// We delay checkpointing of this change until
    				// UnprepareResources returns successfully. It is OK to do
    				// this because we will only return successfully from this call
    				// if the checkpoint has succeeded. That means if the kubelet
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:23:29 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. pkg/kubelet/server/server.go

    	}
    
    	if err := s.host.CheckpointContainer(ctx, pod.UID, kubecontainer.GetPodFullName(pod), containerName, options); err != nil {
    		response.WriteError(
    			http.StatusInternalServerError,
    			fmt.Errorf(
    				"checkpointing of %v/%v/%v failed (%v)",
    				request.PathParameter("podNamespace"),
    				request.PathParameter("podID"),
    				containerName,
    				err,
    			),
    		)
    		return
    	}
    	writeJSONResponse(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go

    	// For HA clusters, we want to prevent race conditions when changing status to Established,
    	// so we want to be sure that CRD is Installing at least for 5 seconds before Establishing it.
    	// TODO: find a real HA safe checkpointing mechanism instead of an arbitrary wait.
    	if !apiextensionshelpers.IsCRDConditionTrue(newCRD, apiextensionsv1.Established) &&
    		apiextensionshelpers.IsCRDConditionTrue(newCRD, apiextensionsv1.NamesAccepted) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_pods.go

    // updates are delivered to the pod workers while this method is running.
    func (kl *Kubelet) HandlePodCleanups(ctx context.Context) error {
    	// The kubelet lacks checkpointing, so we need to introspect the set of pods
    	// in the cgroup tree prior to inspecting the set of pods in our pod manager.
    	// this ensures our view of the cgroup tree does not mistakenly observe pods
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/prove.go

    	lens map[ID]*Value
    	caps map[ID]*Value
    
    	// zero is a zero-valued constant
    	zero *Value
    }
    
    // checkpointFact is an invalid value used for checkpointing
    // and restoring factsTable.
    var checkpointFact = fact{}
    var checkpointBound = limitFact{}
    
    func newFactsTable(f *Func) *factsTable {
    	ft := &factsTable{}
    	ft.orderS = f.newPoset()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
Back to top