Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for recycler (0.25 sec)

  1. cmd/kube-controller-manager/app/options/persistentvolumebindercontroller.go

    	fs.Int32Var(&o.VolumeConfiguration.PersistentVolumeRecyclerConfiguration.IncrementTimeoutHostPath, "pv-recycler-timeout-increment-hostpath", o.VolumeConfiguration.P...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. pkg/controller/volume/persistentvolume/config/types.go

    type PersistentVolumeRecyclerConfiguration struct {
    	// maximumRetry is number of retries the PV recycler will execute on failure to recycle
    	// PV.
    	MaximumRetry int32
    	// minimumTimeoutNFS is the minimum ActiveDeadlineSeconds to use for an NFS Recycler
    	// pod.
    	MinimumTimeoutNFS int32
    	// podTemplateFilePathNFS is the file path to a pod definition used as a template for
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. cmd/kube-controller-manager/app/plugins.go

    	if err != nil {
    		return allPlugins, err
    	}
    
    	return allPlugins, nil
    }
    
    // AttemptToLoadRecycler tries decoding a pod from a filepath for use as a recycler for a volume.
    // If successful, this method will set the recycler on the config.
    // If unsuccessful, an error is returned. Function is exported for reuse downstream.
    func AttemptToLoadRecycler(path string, config *volume.VolumeConfig) error {
    	if path != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:17:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. pkg/volume/plugins.go

    //  2. pod.GenerateName helps distinguish recycler pods by name.  Recommended.
    //     Default is "pv-recycler-".
    //  3. pod.Spec.ActiveDeadlineSeconds gives the recycler pod a maximum timeout
    //     before failing.  Recommended.  Default is 60 seconds.
    //
    // See HostPath and NFS for working recycler examples
    func NewPersistentVolumeRecyclerPodTemplate() *v1.Pod {
    	timeout := int64(60)
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  5. internal/grid/handlers.go

    	newReq  func() Req
    	newResp func() Resp
    
    	recycleReq  func(Req)
    	recycleResp func(Resp)
    }
    
    func recycleFunc[RT RoundTripper](newRT func() RT) (newFn func() RT, recycle func(r RT)) {
    	rAny := any(newRT())
    	var rZero RT
    	if _, ok := rAny.(Recycler); ok {
    		return newRT, func(r RT) {
    			if r != rZero {
    				if rc, ok := any(r).(Recycler); ok {
    					rc.Recycle()
    				}
    			}
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  6. cmd/kube-controller-manager/app/options/options_test.go

    	"--node-monitor-grace-period=30s",
    	"--node-monitor-period=10s",
    	"--node-startup-grace-period=30s",
    	"--profiling=false",
    	"--pv-recycler-increment-timeout-nfs=45",
    	"--pv-recycler-minimum-timeout-hostpath=45",
    	"--pv-recycler-minimum-timeout-nfs=200",
    	"--pv-recycler-timeout-increment-hostpath=45",
    	"--pvclaimbinder-sync-period=30s",
    	"--resource-quota-sync-period=10m",
    	"--route-reconciliation-period=30s",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  7. cluster/gce/gci/configure-helper.sh

    }
    
    function override-pv-recycler {
      if [[ -z "${PV_RECYCLER_OVERRIDE_TEMPLATE:-}" ]]; then
        echo "PV_RECYCLER_OVERRIDE_TEMPLATE is not set"
        exit 1
      fi
    
      PV_RECYCLER_VOLUME="{\"name\": \"pv-recycler-mount\",\"hostPath\": {\"path\": \"${PV_RECYCLER_OVERRIDE_TEMPLATE}\", \"type\": \"FileOrCreate\"}},"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  8. pkg/volume/util/util.go

    	if err := apiruntime.DecodeInto(codec, podDef, pod); err != nil {
    		return nil, fmt.Errorf("failed decoding file: %v", err)
    	}
    	return pod, nil
    }
    
    // CalculateTimeoutForVolume calculates time for a Recycler pod to complete a
    // recycle operation. The calculation and return value is either the
    // minimumTimeout or the timeoutIncrement per Gi of storage size, whichever is
    // greater.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  9. src/os/pidfd_linux.go

    // _P_PIDFD is used as idtype argument to waitid syscall.
    const _P_PIDFD = 3
    
    func (p *Process) pidfdWait() (*ProcessState, error) {
    	// When pidfd is used, there is no wait/kill race (described in CL 23967)
    	// because the PID recycle issue doesn't exist (IOW, pidfd, unlike PID,
    	// is guaranteed to refer to one particular process). Thus, there is no
    	// need for the workaround (blockUntilWaitable + sigMu) from pidWait.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.28.md

    - Fixed a bug where pv recycler failed to scrub volume with too many files in the directory due to hitting ARG_MAX limit with rm command (#117189). ([#117283](https://github.com/kubernetes/kubernetes/pull/117283), [@defo89](https://github.com/defo89)) [SIG Cloud Provider and Storage]...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 23:47:59 UTC 2024
    - 408.3K bytes
    - Viewed (1)
Back to top