- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 81 for Probe (0.05 sec)
-
pkg/kubelet/prober/worker.go
// associated with it which runs the probe loop until the container permanently terminates, or the // stop channel is closed. The worker uses the probe Manager's statusManager to get up-to-date // container IDs. type worker struct { // Channel for stopping the probe. stopCh chan struct{} // Channel for triggering the probe manually. manualTriggerCh chan struct{}
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
// Manager manages pod probing. It creates a probe "worker" for every container that specifies a // probe (AddPod). The worker periodically probes its assigned container and caches the results. The // manager use the cached probe results to set the appropriate Ready state in the PodStatus when // requested (UpdatePodStatus). Updating probe parameters is not currently supported. type Manager interface {
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/http/http_test.go
redirect string expectLocalResult probe.Result expectNonLocalResult probe.Result }{ "local success": {"/success", probe.Success, probe.Success}, "local fail": {"/fail", probe.Failure, probe.Failure}, "newport success": {newportServer.URL + "/success", probe.Success, probe.Success}, "newport fail": {newportServer.URL + "/fail", probe.Failure, probe.Failure},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 18 01:40:08 UTC 2023 - 15.7K bytes - Viewed (0) -
pkg/kubelet/prober/worker_test.go
w := newTestWorker(m, probeType, v1.Probe{SuccessThreshold: 1, FailureThreshold: 1}) status := getTestRunningStatusWithStarted(probeType != startup) m.statusManager.SetPodStatus(w.pod, status) // First probe should fail. m.prober.exec = fakeExecProber{probe.Failure, nil} msg := "first probe" expectContinue(t, w, w.doProbe(ctx), msg) expectResult(t, w, results.Failure, msg)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 07 23:48:10 UTC 2023 - 16.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildServiceIntegrationTest.groovy
configurationCacheRun ':included:classloader1:probe', ':included:boundary:classloader2:probe' then: 'on classloader classloader1' outputContains 'probe(classloader1) => 1' outputContains 'probe(classloader1) => 2' outputContains 'probe(classloader1) => 3' and: 'on classloader classloader2' outputContains 'probe(classloader2) => 1'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 11:47:23 UTC 2024 - 29.1K 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/kubelet/kuberuntime/kuberuntime_container_test.go
expectedGracePeriod: shortGracePeriod, }, { name: "startup probe overrides pod termination grace period, probe period > pod period", pod: &v1.Pod{ Spec: v1.PodSpec{ Containers: []v1.Container{{ Name: "foo", StartupProbe: &v1.Probe{TerminationGracePeriodSeconds: &longGracePeriod}, }}, TerminationGracePeriodSeconds: &shortGracePeriod, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 28K bytes - Viewed (0) -
cmd/kubeadm/app/util/staticpod/utils.go
} return pod, nil } // LivenessProbe creates a Probe object with a HTTPGet handler func LivenessProbe(host, path string, port int32, scheme v1.URIScheme) *v1.Probe { // sets initialDelaySeconds same as periodSeconds to skip one period before running a check return createHTTPProbe(host, path, port, scheme, 10, 15, 8, 10) } // ReadinessProbe creates a Probe object with a HTTPGet handler
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 14.1K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/server.go
func isRedirect(code int) bool { return code >= http.StatusMultipleChoices && code < http.StatusBadRequest } // Using the same redirect logic that kubelet does: https://github.com/kubernetes/kubernetes/blob/b152001f459/pkg/probe/http/http.go#L141 // This means that: // * If we exceed 10 redirects, the probe fails
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 31.1K bytes - Viewed (1) -
pilot/cmd/pilot-agent/status/server_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 42.6K bytes - Viewed (0)