Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 394 for Healthy (0.13 sec)

  1. istioctl/pkg/writer/envoy/configdump/testdata/endpoint/emptyfilter_output.txt

    127.0.0.1:15020                                  HEALTHY                  agent
    10.244.0.156:9402                                HEALTHY                  outbound|9402||cert-manager-istio-csr-metrics.cert-manager.svc.cluster.local
    10.244.0.156:6443                                HEALTHY                  outbound|443||cert-manager-istio-csr.cert-manager.svc.cluster.local
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 21 14:17:23 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. pkg/istio-agent/health/health_check_test.go

    		expectedHTTPEvents := [4]*ProbeEvent{
    			{Healthy: true},
    			{Healthy: false},
    			{Healthy: true},
    			{Healthy: false},
    		}
    
    		eventNum := atomic.NewInt32(0)
    		go httpHealthChecker.PerformApplicationHealthCheck(func(event *ProbeEvent) {
    			if event.Healthy != expectedHTTPEvents[eventNum.Load()].Healthy {
    				t.Errorf("tcp: got event healthy: %v at idx %v when expected healthy: %v",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 16:50:11 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. pkg/istio-agent/health/health_check.go

    		// 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
    			// if we reached the threshold, mark the target as healthy
    			if numSuccess == w.config.SuccessThresh && lastState != lastStateHealthy {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 21 03:06:44 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  4. pkg/proxy/healthcheck/proxier_health.go

    	nodeEligible := h.hs.NodeEligible()
    	healthy, lastUpdated := h.hs.isHealthy()
    	currentTime := h.hs.clock.Now()
    
    	healthy = healthy && nodeEligible
    	resp.Header().Set("Content-Type", "application/json")
    	resp.Header().Set("X-Content-Type-Options", "nosniff")
    	if !healthy {
    		metrics.ProxyHealthzTotal.WithLabelValues("503").Inc()
    		resp.WriteHeader(http.StatusServiceUnavailable)
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 10:41:18 UTC 2023
    - 8K bytes
    - Viewed (0)
  5. pkg/istio-agent/health/health_probers_test.go

    		desc                string
    		statusCode          int
    		expectedProbeResult ProbeResult
    		expectedError       error
    	}{
    		{
    			desc:                "Healthy - 200 status code",
    			statusCode:          200,
    			expectedProbeResult: Healthy,
    			expectedError:       nil,
    		},
    		{
    			desc:                "Unhealthy - 500 status code",
    			statusCode:          500,
    			expectedProbeResult: Unhealthy,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 14 19:26:09 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  6. pkg/apis/policy/types.go

    	// but not yet healthy can be evicted only if the guarded application is not
    	// disrupted (status.currentHealthy is at least equal to status.desiredHealthy).
    	// Healthy pods will be subject to the PDB for eviction.
    	//
    	// AlwaysAllow policy means that all running pods (status.phase="Running"),
    	// but not yet healthy are considered disrupted and can be evicted regardless
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  7. pkg/istio-agent/health/health_probers.go

    const (
    	Healthy   ProbeResult = "HEALTHY"
    	Unhealthy ProbeResult = "UNHEALTHY"
    	Unknown   ProbeResult = "UNKNOWN"
    )
    
    func (p *ProbeResult) IsHealthy() bool {
    	return *p == Healthy
    }
    
    type HTTPProber struct {
    	Config    *v1alpha3.HTTPHealthCheckConfig
    	Transport *http.Transport
    }
    
    var _ Prober = &HTTPProber{}
    
    func NewHTTPProber(cfg *v1alpha3.HTTPHealthCheckConfig, ipv6 bool) *HTTPProber {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  8. pilot/pkg/model/status/workloadentry.go

    	// health checks are enabled.
    	// If this annotation is present, a WorkloadEntry with the condition Healthy=False or Healthy not set
    	// should be treated as unhealthy and not sent to proxies
    	WorkloadEntryHealthCheckAnnotation = "proxy.istio.io/health-checks-enabled"
    
    	// ConditionHealthy defines a status field to declare if a WorkloadEntry is healthy or not
    	ConditionHealthy = "Healthy"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 15 05:26:17 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  9. cmd/metrics-v3-cluster-erasure-set.go

    		poolIDL, setIDL)
    	erasureSetReadHealthMD = NewGaugeMD(erasureSetReadHealth,
    		"Health of the erasure set in a pool for read operations (1=healthy, 0=unhealthy)",
    		poolIDL, setIDL)
    	erasureSetWriteHealthMD = NewGaugeMD(erasureSetWriteHealth,
    		"Health of the erasure set in a pool for write operations (1=healthy, 0=unhealthy)",
    		poolIDL, setIDL)
    )
    
    func b2f(v bool) float64 {
    	if v {
    		return 1
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 14 07:25:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. pilot/pkg/autoregistration/internal/health/controller.go

    type HealthEvent struct {
    	// whether or not the agent thought the target is healthy
    	Healthy bool `json:"healthy,omitempty"`
    	// error message propagated
    	Message string `json:"errMessage,omitempty"`
    }
    
    type HealthCondition struct {
    	proxy     *model.Proxy
    	entryName string
    	condition *v1alpha1.IstioCondition
    }
    
    // Controller knows how to update health status of a workload.
    type Controller struct {
    	stateStore *state.Store
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Sep 19 20:41:55 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top