Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 136 for retriable (0.27 sec)

  1. staging/src/k8s.io/apiserver/plugin/pkg/audit/webhook/webhook.go

    func init() {
    	install.Install(audit.Scheme)
    }
    
    // retryOnError enforces the webhook client to retry requests
    // on error regardless of its nature.
    // The default implementation considers a very limited set of
    // 'retriable' errors, assuming correct use of HTTP codes by
    // external webhooks.
    // That may easily lead to dropped audit events. In fact, there is
    // hardly any error that could be a justified reason NOT to retry
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 21:13:31 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/types.go

    const ExtenderName = "Extender"
    
    // Diagnosis records the details to diagnose a scheduling failure.
    type Diagnosis struct {
    	// NodeToStatusMap records the status of each retriable node (status Unschedulable)
    	// if they're rejected in PreFilter (via PreFilterResult) or Filter plugins.
    	// Nodes that pass PreFilter/Filter plugins are not included in this map.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  3. pkg/config/validation/validation.go

    		// https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/router_filter.html#x-envoy-retry-on
    		"5xx",
    		"gateway-error",
    		"reset",
    		"connect-failure",
    		"retriable-4xx",
    		"refused-stream",
    		"retriable-status-codes",
    		"retriable-headers",
    		"envoy-ratelimited",
    		"http3-post-connect-failure",
    
    		// 'x-envoy-retry-grpc-on' supported policies:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  4. cmd/server-main.go

    	//  - Write quorum not met when upgrading configuration
    	//    version is needed, migration is needed etc.
    	rquorum := InsufficientReadQuorum{}
    	wquorum := InsufficientWriteQuorum{}
    
    	// One of these retriable errors shall be retried.
    	return errors.Is(err, errDiskNotFound) ||
    		errors.Is(err, errConfigNotFound) ||
    		errors.Is(err, context.DeadlineExceeded) ||
    		errors.Is(err, errErasureWriteQuorum) ||
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 15:12:57 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  5. cmd/os-reliable.go

    func reliableRemoveAll(dirPath string) (err error) {
    	i := 0
    	for {
    		// Removes all the directories and files.
    		if err = RemoveAll(dirPath); err != nil {
    			// Retry only for the first retryable error.
    			if isSysErrNotEmpty(err) && i == 0 {
    				i++
    				continue
    			}
    		}
    		break
    	}
    	return err
    }
    
    // Wrapper functions to os.MkdirAll, which calls reliableMkdirAll
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 22 17:49:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. releasenotes/notes/reliable-wasm-remote-load.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: extensibility
    issue:
      - 29989
    
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 09 20:31:49 UTC 2021
    - 162 bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.26.md

    - Enable the "Retriable and non-retriable pod failures for jobs" feature into beta. ([#113360](https://github.com/kubernetes/kubernetes/pull/113360), [@mimowo](https://github.com/mimowo))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 16:24:51 UTC 2024
    - 425.7K bytes
    - Viewed (0)
  8. src/runtime/pprof/vminfo_darwin_test.go

    	}
    }
    
    func useVMMapWithRetry(t *testing.T) (hi, lo uint64, err error) {
    	var retryable bool
    	for {
    		hi, lo, retryable, err = useVMMap(t)
    		if err == nil {
    			return hi, lo, nil
    		}
    		if !retryable {
    			return 0, 0, err
    		}
    		t.Logf("retrying vmmap after error: %v", err)
    	}
    }
    
    func useVMMap(t *testing.T) (hi, lo uint64, retryable bool, err error) {
    	pid := strconv.Itoa(os.Getpid())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 19:59:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. pkg/kubelet/config/file_linux.go

    		if backOff.IsInBackOffSinceUpdate(backOffID, time.Now()) {
    			return
    		}
    
    		if err := s.doWatch(); err != nil {
    			klog.ErrorS(err, "Unable to read config path", "path", s.path)
    			if _, retryable := err.(*retryableError); !retryable {
    				backOff.Next(backOffID, time.Now())
    			}
    		}
    	}, retryPeriod)
    }
    
    func (s *sourceFile) doWatch() error {
    	_, err := os.Stat(s.path)
    	if err != nil {
    		if !os.IsNotExist(err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 17:27:26 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. src/internal/poll/sendfile_bsd.go

    		// support) and syscall.EINVAL (fd types which
    		// don't implement sendfile), and other errors.
    		// We should end the loop when there is no error
    		// returned from sendfile(2) or it is not a retryable error.
    		if err != syscall.EAGAIN {
    			break
    		}
    		if err = dstFD.pd.waitWrite(dstFD.isFile); err != nil {
    			break
    		}
    	}
    	handled = written != 0 || (err != syscall.ENOSYS && err != syscall.EINVAL)
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top