- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 325 for Wrobel (0.15 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/kubelet/prober/prober_manager_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 18.8K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/ready/probe.go
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() } // checkConfigStatus checks to make sure initial configs have been received from Pilot.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 00:35:05 UTC 2024 - 4.5K 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) -
pkg/kubelet/prober/worker.go
return true } } else { // Disable other probes until container has started. if w.probeType != startup { return true } } // Note, exec probe does NOT have access to pod environment variables or downward API result, err := w.probeManager.prober.probe(ctx, w.probeType, w.pod, status, w.container, w.containerID) if err != nil { // Prober error, throw away the result. return true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 27 01:28:06 UTC 2023 - 10.7K 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/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) -
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) -
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/istio-agent/health/health_probers.go
} type EnvoyProber struct { Config ready.Prober } var _ Prober = &EnvoyProber{} func (a EnvoyProber) Probe(time.Duration) (ProbeResult, error) { if err := a.Config.Check(); err != nil { return Unhealthy, err } return Healthy, nil } type AggregateProber struct { Probes []Prober } var _ Prober = &AggregateProber{}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 5.7K bytes - Viewed (0)