Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 254 for Probe (0.13 sec)

  1. 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)
  2. 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)
  3. pkg/probe/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package probe contains utilities for health probing, as well as health status information.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 16 17:48:21 UTC 2016
    - 719 bytes
    - Viewed (0)
  4. 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 (0)
  5. pkg/registry/core/componentstatus/rest.go

    		return nil, fmt.Errorf("Component not found: %s", name)
    	} else {
    		return rs.getComponentStatus(name, server), nil
    	}
    }
    
    func ToConditionStatus(s probe.Result) api.ConditionStatus {
    	switch s {
    	case probe.Success:
    		return api.ConditionTrue
    	case probe.Failure:
    		return api.ConditionFalse
    	default:
    		return api.ConditionUnknown
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. pkg/probe/http/request.go

    	"strconv"
    	"strings"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/component-base/version"
    	"k8s.io/kubernetes/pkg/probe"
    )
    
    // NewProbeRequest returns an http.Request suitable for use as a request for a
    // probe.
    func NewProbeRequest(url *url.URL, headers http.Header) (*http.Request, error) {
    	return newProbeRequest(url, headers, "probe")
    }
    
    // NewRequestForHTTPGetAction returns an http.Request derived from httpGet.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 07:39:55 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. pilot/cmd/pilot-agent/status/server_test.go

    	testCases := []struct {
    		probe string
    		err   string
    	}{
    		// Json can't be parsed.
    		{
    			probe: "invalid-prober-json-encoding",
    			err:   "failed to decode",
    		},
    		// map key is not well formed.
    		{
    			probe: `{"abc": {"path": "/app-foo/health"}}`,
    			err:   "invalid path",
    		},
    		// invalid probe type
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  8. pkg/istio-agent/health/health_check.go

    	// first send a healthy message.
    	lastState := lastStateUndefined
    
    	doCheck := func() {
    		// probe target
    		healthy, err := w.prober.Probe(w.config.ProbeTimeout)
    		if healthy.IsHealthy() {
    			healthCheckLog.Debug("probe completed with healthy status")
    			// we were healthy, increment success counter
    			numSuccess++
    			// wipe numFail (need consecutive success)
    			numFail = 0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 21 03:06:44 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  9. cluster/addons/fluentd-gcp/fluentd-gcp-ds.yaml

                  fieldPath: spec.nodeName
            - name: STACKDRIVER_METADATA_AGENT_URL
              value: http://$(NODE_NAME):8799
            # Liveness probe is aimed to help in situarions where fluentd
            # silently hangs for no apparent reasons until manual restart.
            # The idea of this probe is that if fluentd is not queueing or
            # flushing chunks for 5 minutes, something is not right. If
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 27 17:54:10 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  10. releasenotes/notes/33734.yaml

            This may cause problems when upgrading: If you had a missconfiguration in a TCP probe (e.g wrong port) you maybe haven't noticed.
            After the upgrade a missconfigured TCP probe will fail and therefore might cause downtimes.
    
    docs:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 26 08:44:57 UTC 2021
    - 842 bytes
    - Viewed (0)
Back to top