Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 253 for PROBE (0.04 sec)

  1. pkg/kubelet/prober/worker.go

    // associated with it which runs the probe loop until the container permanently terminates, or the
    // stop channel is closed. The worker uses the probe Manager's statusManager to get up-to-date
    // container IDs.
    type worker struct {
    	// Channel for stopping the probe.
    	stopCh chan struct{}
    
    	// Channel for triggering the probe manually.
    	manualTriggerCh chan struct{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 27 01:28:06 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  2. pkg/probe/tcp/tcp.go

    	d := probe.ProbeDialer()
    	d.Timeout = timeout
    	conn, err := d.Dial("tcp", addr)
    	if err != nil {
    		// Convert errors to failures to handle timeouts.
    		return probe.Failure, err.Error(), nil
    	}
    	err = conn.Close()
    	if err != nil {
    		klog.Errorf("Unexpected error closing TCP probe socket: %v (%#v)", err, err)
    	}
    	return probe.Success, "", nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 16:57:41 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. docs/metrics/healthcheck/README.md

    # MinIO Healthcheck
    
    MinIO server exposes three un-authenticated, healthcheck endpoints liveness probe and a cluster probe at `/minio/health/live` and `/minio/health/cluster` respectively.
    
    ## Liveness probe
    
    This probe always responds with '200 OK'. Only fails if 'etcd' is configured and unreachable. When liveness probe fails, Kubernetes like platforms restart the container.
    
    ```
    livenessProbe:
      httpGet:
        path: /minio/health/live
        port: 9000
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jul 06 16:18:38 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. pkg/probe/http/http.go

    		return probe.Success, body, nil
    	}
    	klog.V(4).Infof("Probe failed for %s with request headers %v, response body: %v", url.String(), headers, body)
    	// Note: Until https://issue.k8s.io/99425 is addressed, this user-facing failure message must not contain the response body.
    	failureMsg := fmt.Sprintf("HTTP probe failed with statuscode: %d", res.StatusCode)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 10 00:37:32 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. pkg/kubelet/prober/prober_manager.go

    // Manager manages pod probing. It creates a probe "worker" for every container that specifies a
    // probe (AddPod). The worker periodically probes its assigned container and caches the results. The
    // manager use the cached probe results to set the appropriate Ready state in the PodStatus when
    // requested (UpdatePodStatus). Updating probe parameters is not currently supported.
    type Manager interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 22:26:12 UTC 2023
    - 11K bytes
    - Viewed (0)
  6. pkg/probe/http/http_test.go

    		redirect             string
    		expectLocalResult    probe.Result
    		expectNonLocalResult probe.Result
    	}{
    		"local success":   {"/success", probe.Success, probe.Success},
    		"local fail":      {"/fail", probe.Failure, probe.Failure},
    		"newport success": {newportServer.URL + "/success", probe.Success, probe.Success},
    		"newport fail":    {newportServer.URL + "/fail", probe.Failure, probe.Failure},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 18 01:40:08 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  7. releasenotes/notes/startupProbe.yaml

          Startup probes run only at the start of the pod. Once the startup probe completes, readiness probes will continue.
          
          By using a startup probe, we can poll for the sidecar to start more aggressively, without polling as aggressively throughout
          the entire pod's lifecycle.
          On average, this improves pod startup time by roughly 1s.
          
          If the startup probe does not pass after 10 minutes, the pod will be terminated.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Oct 13 23:27:34 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. pkg/kubelet/prober/worker_test.go

    		w := newTestWorker(m, probeType, v1.Probe{SuccessThreshold: 1, FailureThreshold: 1})
    		status := getTestRunningStatusWithStarted(probeType != startup)
    		m.statusManager.SetPodStatus(w.pod, status)
    
    		// First probe should fail.
    		m.prober.exec = fakeExecProber{probe.Failure, nil}
    		msg := "first probe"
    		expectContinue(t, w, w.doProbe(ctx), msg)
    		expectResult(t, w, results.Failure, msg)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 23:48:10 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildServiceIntegrationTest.groovy

            configurationCacheRun ':included:classloader1:probe', ':included:boundary:classloader2:probe'
    
            then: 'on classloader classloader1'
            outputContains 'probe(classloader1) => 1'
            outputContains 'probe(classloader1) => 2'
            outputContains 'probe(classloader1) => 3'
    
            and: 'on classloader classloader2'
            outputContains 'probe(classloader2) => 1'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 11:47:23 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  10. pkg/probe/grpc/grpc_test.go

    	"testing"
    	"time"
    
    	"github.com/stretchr/testify/assert"
    	"google.golang.org/grpc"
    	grpchealth "google.golang.org/grpc/health/grpc_health_v1"
    
    	"k8s.io/kubernetes/pkg/probe"
    )
    
    func TestNew(t *testing.T) {
    	t.Run("Should: implement Probe interface", func(t *testing.T) {
    		s := New()
    		assert.Implements(t, (*Prober)(nil), s)
    	})
    }
    
    type successServerMock struct {
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 20 00:23:53 UTC 2021
    - 5.7K bytes
    - Viewed (0)
Back to top