- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 775 for prober1 (0.29 sec)
-
releasenotes/notes/probe-redirect.yaml
apiVersion: release-notes/v2 kind: bug-fix area: traffic-management issue: - 34238 - 29468 releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 04 21:48:40 UTC 2021 - 179 bytes - Viewed (0) -
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) -
releasenotes/notes/grpc-probe.yaml
apiVersion: release-notes/v2 kind: feature area: traffic-management releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Jan 08 02:37:58 UTC 2022 - 127 bytes - Viewed (0) -
pkg/probe/grpc/grpc.go
"k8s.io/klog/v2" "k8s.io/kubernetes/pkg/probe" ) // Prober is an interface that defines the Probe function for doing GRPC readiness/liveness/startup checks. type Prober interface { Probe(host, service string, port int, timeout time.Duration) (probe.Result, string, error) } type grpcProber struct { } // New Prober for execute grpc probe func New() Prober { return grpcProber{} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 25 19:28:03 UTC 2023 - 4K bytes - Viewed (0) -
pkg/kube/apimirror/probe.go
URISchemeHTTP URIScheme = "HTTP" // URISchemeHTTPS means that the scheme used will be https:// URISchemeHTTPS URIScheme = "HTTPS" ) // HTTPHeader describes a custom header to be used in HTTP probes type HTTPHeader struct { // The header field name Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // The header field value Value string `json:"value" protobuf:"bytes,2,opt,name=value"` }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 4.4K bytes - Viewed (0) -
pkg/probe/tcp/tcp_test.go
host string port int expectedStatus probe.Result expectedError error }{ // A connection is made and probing would succeed {tHost, tPort, probe.Success, nil}, // No connection can be made and probing would fail {tHost, -1, probe.Failure, nil}, } prober := New() for i, tt := range tests { status, _, err := prober.Probe(tt.host, tt.port, 1*time.Second) if status != tt.expectedStatus {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 25 18:23:33 UTC 2017 - 1.8K bytes - Viewed (0) -
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) -
pkg/registry/core/componentstatus/rest_test.go
api "k8s.io/kubernetes/pkg/apis/core" "k8s.io/kubernetes/pkg/probe" ) type fakeHttpProber struct { result probe.Result body string err error } func (f *fakeHttpProber) Probe(*http.Request, time.Duration) (probe.Result, string, error) { return f.result, f.body, f.err } type testResponse struct { result probe.Result data string err error }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 13 08:10:29 UTC 2023 - 5.3K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/server_test.go
testCases := []struct { name string probes []ready.Prober err error }{ { name: "success probe", probes: []ready.Prober{rp}, err: nil, }, { name: "not ready probe", probes: []ready.Prober{urp}, err: errors.New("not ready"), }, { name: "both probes", probes: []ready.Prober{rp, urp}, err: errors.New("not ready"),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 42.6K bytes - Viewed (0) -
pkg/probe/exec/exec_test.go
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}, // Run returns error {probe.Unknown, true, true, "", "", fmt.Errorf("test error")}, // Unhealthy {probe.Failure, false, true, "Fail", "", &fakeExitError{true, 1}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 08:58:18 UTC 2024 - 3.8K bytes - Viewed (0)