- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 775 for prober1 (0.32 sec)
-
pkg/kubelet/prober/prober_manager_test.go
m.CleanupPods(desiredPods) removedProbes := []probeKey{ {"pod_cleanup", "prober1", readiness}, {"pod_cleanup", "prober2", liveness}, {"pod_cleanup", "prober3", startup}, } expectedProbes := []probeKey{ {"pod_keep", "prober1", readiness}, {"pod_keep", "prober2", liveness}, {"pod_keep", "prober3", startup}, } if err := waitForWorkerExit(t, m, removedProbes); err != nil { t.Fatal(err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 18.8K bytes - Viewed (0) -
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) -
pilot/cmd/pilot-agent/status/grpcready/probe.go
) var _ ready.Prober = &probe{} type probe struct { sync.RWMutex bootstrapPath string bootstrap *grpcxds.Bootstrap } // NewProbe returns a probe that checks if a valid bootstrap file can be loaded once. // If that bootstrap file has a file_watcher cert provider, we also ensure those certs exist. func NewProbe(bootstrapPath string) ready.Prober { return &probe{bootstrapPath: bootstrapPath} }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Oct 28 16:58:31 UTC 2021 - 1.9K 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) -
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.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/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/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) -
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)