- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 746 for Prober (0.16 sec)
-
pkg/kubelet/prober/prober.go
httpprobe "k8s.io/kubernetes/pkg/probe/http" tcpprobe "k8s.io/kubernetes/pkg/probe/tcp" "k8s.io/utils/exec" "k8s.io/klog/v2" ) const maxProbeRetries = 3 // Prober helps to check the liveness/readiness/startup of a container. type prober struct { exec execprobe.Prober http httpprobe.Prober tcp tcpprobe.Prober grpc grpcprobe.Prober runner kubecontainer.CommandRunner
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 10:50:13 UTC 2024 - 8.7K bytes - Viewed (0) -
pkg/istio-agent/health/health_check.go
prober = &TCPProber{Config: healthCheckMethod.TcpSocket} case *v1alpha3.ReadinessProbe_Exec: prober = &ExecProber{Config: healthCheckMethod.Exec} default: prober = nil } probers := []Prober{} if envoyProbe != nil { probers = append(probers, &EnvoyProber{envoyProbe}) } probers = append(probers, prober) return &WorkloadHealthChecker{ config: applicationHealthCheckConfig{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jul 21 03:06:44 UTC 2021 - 5.7K bytes - Viewed (0) -
pkg/volume/flexvolume/probe.go
if err := prober.createPluginDir(); err != nil { return err } if err := prober.initWatcher(); err != nil { return err } return nil } // If probeAllNeeded is true, probe all pluginDir // else probe events in eventsMap func (prober *flexVolumeProber) Probe() (events []volume.ProbeEvent, err error) { if prober.probeAllNeeded { prober.testAndSetProbeAllNeeded(false) return prober.probeAll() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 28 11:14:00 UTC 2023 - 9K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/server.go
} if prober.HTTPGet != nil && prober.HTTPGet.Port.Type != apimirror.Int { return fmt.Errorf("invalid prober config for %v, the port must be int type", path) } if prober.TCPSocket != nil && prober.TCPSocket.Port.Type != apimirror.Int { return fmt.Errorf("invalid prober config for %v, the port must be int type", path) } return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 31.1K bytes - Viewed (1) -
pkg/volume/flexvolume/probe_test.go
assert.NoError(t, err) // Should no longer probe. // Act events, err = prober.Probe() // Assert assert.Equal(t, 0, len(events)) assert.NoError(t, err) } // Probes newly added drivers after prober is running. func TestProberAddRemoveDriver(t *testing.T) { // Arrange _, fs, watcher, prober := initTestEnvironment(t) prober.Probe() events, err := prober.Probe() assert.NoError(t, err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 28 11:14:00 UTC 2023 - 10.5K bytes - Viewed (0) -
pkg/kube/inject/app_probe.go
// kubeProbeToInternalProber converts a Kubernetes Probe to an Istio internal Prober func kubeProbeToInternalProber(probe *corev1.Probe) *Prober { if probe == nil { return nil } if probe.HTTPGet != nil { return &Prober{ HTTPGet: probe.HTTPGet, TimeoutSeconds: probe.TimeoutSeconds, } } if probe.TCPSocket != nil { return &Prober{ TCPSocket: probe.TCPSocket,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Aug 04 15:06:24 UTC 2023 - 8.4K bytes - Viewed (0) -
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) -
pkg/kubelet/prober/worker_test.go
} // Exceeding FailureThreshold should cause resultRun to // reset to 0 so that the probe on the restarted pod // also gets FailureThreshold attempts to succeed. m.prober.exec = fakeExecProber{probe.Failure, nil} msg = "3rd probe failure, result failure" expectContinue(t, w, w.doProbe(ctx), msg) expectResult(t, w, results.Failure, msg) if w.resultRun != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 07 23:48:10 UTC 2023 - 16.1K bytes - Viewed (0) -
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) -
pkg/kubelet/prober/prober_manager.go
// readinessManager manages the results of readiness probes readinessManager results.Manager // livenessManager manages the results of liveness probes livenessManager results.Manager // startupManager manages the results of startup probes startupManager results.Manager // prober executes the probe actions. prober *prober start time.Time }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 07 22:26:12 UTC 2023 - 11K bytes - Viewed (0)