Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 125 for PROBE (0.04 sec)

  1. pilot/cmd/pilot-agent/status/ready/probe.go

    }
    
    type Prober interface {
    	// Check executes the probe and returns an error if the probe fails.
    	Check() error
    }
    
    var _ Prober = &Probe{}
    
    // Check executes the probe and returns an error if the probe fails.
    func (p *Probe) Check() error {
    	// First, check that Envoy has received a configuration update from Pilot.
    	if err := p.checkConfigStatus(); err != nil {
    		return err
    	}
    	return p.isEnvoyReady()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 00:35:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. pkg/kube/apimirror/probe.go

    John Howard <******@****.***> 1716476823 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. pkg/probe/exec/exec.go

    	"k8s.io/kubernetes/pkg/probe"
    
    	"k8s.io/klog/v2"
    	"k8s.io/utils/exec"
    )
    
    const (
    	maxReadLength = 10 * 1 << 10 // 10KB
    )
    
    // New creates a Prober.
    func New() Prober {
    	return execProber{}
    }
    
    // Prober is an interface defining the Probe object for container readiness/liveness checks.
    type Prober interface {
    	Probe(e exec.Cmd) (probe.Result, string, error)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. pkg/kubelet/prober/prober.go

    	if err != nil || (result != probe.Success && result != probe.Warning) {
    		// Probe failed in one way or another.
    		if err != nil {
    			klog.V(1).ErrorS(err, "Probe errored", "probeType", probeType, "pod", klog.KObj(pod), "podUID", pod.UID, "containerName", container.Name)
    			pb.recordContainerEvent(pod, &container, v1.EventTypeWarning, events.ContainerUnhealthy, "%s probe errored: %v", probeType, err)
    		} else { // result != probe.Success
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 10:50:13 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. 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)
  6. pkg/probe/exec/exec_test.go

    	tests := []struct {
    		expectedStatus   probe.Result
    		expectError      bool
    		execProbeTimeout bool
    		input            string
    		output           string
    		err              error
    	}{
    		// Ok
    		{probe.Success, false, true, "OK", "OK", nil},
    		// Ok
    		{probe.Success, false, true, "OK", "OK", &fakeExitError{true, 0}},
    		// Ok - truncated output
    		{probe.Success, false, true, elevenKilobyte, tenKilobyte, nil},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. hack/testdata/pod-with-metadata-and-probes.yaml

      - image: registry.k8s.io/nginx:1.7.9
        name: target
        readinessProbe:
          exec:
            command: ["/bin/sh", "-c", "cat probe"]
        livenessProbe:
          exec:
            command: ["/bin/sh", "-c", "cat probe"]
        startupProbe:
          exec:
            command: ["/bin/sh", "-c", "cat probe"]
      initContainers:
      - image: busybox
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 17:26:20 UTC 2024
    - 471 bytes
    - Viewed (0)
  8. docs/metrics/README.md

    ## Healthcheck Probe
    
    MinIO server has two healthcheck related un-authenticated endpoints, a liveness probe to indicate if server is responding, cluster probe to check if server can be taken down for maintenance.
    
    - Liveness probe available at `/minio/health/live`
    - Cluster probe available at `/minio/health/cluster`
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 29 18:35:20 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    			expectedGracePeriod: shortGracePeriod,
    		},
    		{
    			name: "startup probe overrides pod termination grace period, probe period > pod period",
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{
    					Containers: []v1.Container{{
    						Name: "foo", StartupProbe: &v1.Probe{TerminationGracePeriodSeconds: &longGracePeriod},
    					}},
    					TerminationGracePeriodSeconds: &shortGracePeriod,
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  10. pilot/cmd/pilot-agent/status/server.go

    func isRedirect(code int) bool {
    	return code >= http.StatusMultipleChoices && code < http.StatusBadRequest
    }
    
    // Using the same redirect logic that kubelet does: https://github.com/kubernetes/kubernetes/blob/b152001f459/pkg/probe/http/http.go#L141
    // This means that:
    // * If we exceed 10 redirects, the probe fails
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 31.1K bytes
    - Viewed (1)
Back to top