Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 775 for prober1 (0.14 sec)

  1. releasenotes/notes/agent-probe-keepalives.yaml

    releaseNotes:
    - |
      **Improved** istio-agent health probe rewrite to not re-use connections, mirring Kubernetes' probing behavior.
    
    upgradeNotes:
    - title: Health Probes will no longer re-use connections
      content: |
        Health probes using the istio-agent [health probe rewrite](https://istio.io/latest/docs/ops/configuration/mesh/app-health-check/) will
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 07 20:06:21 UTC 2021
    - 963 bytes
    - Viewed (0)
  2. pkg/probe/tcp/tcp.go

    import (
    	"net"
    	"strconv"
    	"time"
    
    	"k8s.io/kubernetes/pkg/probe"
    
    	"k8s.io/klog/v2"
    )
    
    // New creates Prober.
    func New() Prober {
    	return tcpProber{}
    }
    
    // Prober is an interface that defines the Probe function for doing TCP readiness/liveness checks.
    type Prober interface {
    	Probe(host string, port int, timeout time.Duration) (probe.Result, string, error)
    }
    
    type tcpProber struct{}
    
    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. pkg/registry/core/componentstatus/validator_test.go

    	}{
    		{probe.Unknown, "", fmt.Errorf("probe error"), probe.Unknown, "", true, nil},
    		{probe.Failure, "", nil, probe.Failure, "", false, nil},
    		{probe.Success, "foo", nil, probe.Failure, "foo", true, matchError},
    		{probe.Success, "foo", nil, probe.Success, "foo", false, nil},
    	}
    
    	s := HttpServer{Addr: "foo.com", Port: 8080, Path: "/healthz"}
    
    	for _, test := range tests {
    		fakeProber := &fakeHttpProber{
    			result: test.probeResult,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. pkg/probe/http/http.go

    	return httpProber{transport, followNonLocalRedirects}
    }
    
    // Prober is an interface that defines the Probe function for doing HTTP readiness/liveness checks.
    type Prober interface {
    	Probe(req *http.Request, timeout time.Duration) (probe.Result, string, error)
    }
    
    type httpProber struct {
    	transport               *http.Transport
    	followNonLocalRedirects bool
    }
    
    // Probe returns a ProbeRunner capable of running an HTTP check.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 10 00:37:32 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/core/v1/probe.go

    	TerminationGracePeriodSeconds  *int64 `json:"terminationGracePeriodSeconds,omitempty"`
    }
    
    // ProbeApplyConfiguration constructs an declarative configuration of the Probe type for use with
    // apply.
    func Probe() *ProbeApplyConfiguration {
    	return &ProbeApplyConfiguration{}
    }
    
    // WithExec sets the Exec field in the declarative configuration to the given value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 17:31:23 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  6. releasenotes/notes/http2-probes.yaml

    issues:
    - 40173
    releaseNotes:
    - |
      **Added** support for ALPN negotiation to Istio [health checks](https://istio.io/latest/docs/ops/configuration/mesh/app-health-check/), mirroring
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 08 19:15:41 UTC 2022
    - 440 bytes
    - Viewed (0)
  7. pkg/kubelet/prober/testing/fake_manager.go

    	"k8s.io/apimachinery/pkg/util/sets"
    )
    
    // FakeManager simulates a prober.Manager for testing.
    type FakeManager struct{}
    
    // Unused methods below.
    
    // AddPod simulates adding a Pod.
    func (FakeManager) AddPod(_ *v1.Pod) {}
    
    // RemovePod simulates removing a Pod.
    func (FakeManager) RemovePod(_ *v1.Pod) {}
    
    // Simulated stopping liveness and startup probes.
    func (FakeManager) StopLivenessAndStartup(_ *v1.Pod) {}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 22:26:12 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. pkg/probe/probe.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package probe
    
    // Result is a string used to handle the results for probing container readiness/liveness
    type Result string
    
    const (
    	// Success Result
    	Success Result = "success"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:20:50 UTC 2019
    - 966 bytes
    - Viewed (0)
  9. pkg/registry/core/componentstatus/validator.go

    	req, err := httpprober.NewProbeRequest(url, nil)
    	if err != nil {
    		return probe.Unknown, "", fmt.Errorf("failed to construct probe request: %w", err)
    	}
    	result, data, err := server.Prober.Probe(req, probeTimeOut)
    
    	if err != nil {
    		return probe.Unknown, "", err
    	}
    	if result == probe.Failure {
    		return probe.Failure, data, err
    	}
    	if server.Validate != nil {
    		if err := server.Validate([]byte(data)); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 13:08:41 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. pkg/kubelet/prober/prober_test.go

    		},
    		{ // No handler
    			probe:          &v1.Probe{},
    			expectError:    true,
    			expectedResult: results.Failure,
    		},
    		{ // Probe fails
    			probe:          execProbe,
    			execResult:     probe.Failure,
    			expectedResult: results.Failure,
    		},
    		{ // Probe succeeds
    			probe:          execProbe,
    			execResult:     probe.Success,
    			expectedResult: results.Success,
    		},
    		{ // Probe result is warning
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:17:35 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top