Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 135 for Healthy (0.12 sec)

  1. pkg/istio-agent/agent.go

    	socketExists := socketFileExists(socketPath)
    	if !socketExists {
    		return false, nil
    	}
    
    	err := socketHealthCheck(ctx, socketPath)
    	if err != nil {
    		log.Debugf("SDS socket detected but not healthy: %v", err)
    		err = os.Remove(socketPath)
    		if err != nil {
    			return false, fmt.Errorf("existing SDS socket could not be removed: %v", err)
    		}
    		return false, nil
    	}
    
    	return true, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/config.go

    	// The default set of healthz checks. There might be more added via AddHealthChecks dynamically.
    	HealthzChecks []healthz.HealthChecker
    	// The default set of livez checks. There might be more added via AddHealthChecks dynamically.
    	LivezChecks []healthz.HealthChecker
    	// The default set of readyz-only checks. There might be more added via AddReadyzChecks dynamically.
    	ReadyzChecks []healthz.HealthChecker
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  3. cmd/kube-controller-manager/app/controllermanager.go

    	if cfgz, err := configz.New(ConfigzName); err == nil {
    		cfgz.Set(c.ComponentConfig)
    	} else {
    		logger.Error(err, "Unable to register configz")
    	}
    
    	// Setup any healthz checks we will want to use.
    	var checks []healthz.HealthChecker
    	var electionChecker *leaderelection.HealthzAdaptor
    	if c.ComponentConfig.Generic.LeaderElection.LeaderElect {
    		electionChecker = leaderelection.NewLeaderHealthzAdaptor(time.Second * 20)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:53 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  4. pkg/volume/csi/csi_plugin.go

    		return errors.New(log("Error uninstalling CSI driver: %v", err))
    	}
    
    	return nil
    }
    
    // waitForAPIServerForever waits forever to get a CSINode instance as a proxy
    // for a healthy APIServer
    func waitForAPIServerForever(client clientset.Interface, nodeName types.NodeName) error {
    	var lastErr error
    	// Served object is discarded so no risk to have stale object with benefit to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/cluster.go

    			// Will not be used for normal traffic, only when explicit override.
    			if service.Attributes.Labels[features.PersistentSessionLabel] != "" {
    				// Default is UNKNOWN, HEALTHY, DEGRADED. Without this change, Envoy will drop endpoints with any other
    				// status received in EDS. With this setting, the DRAINING and UNHEALTHY endpoints are kept - both marked
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    	// The etcd server waits until it cannot find a leader for 3 election
    	// timeouts to cancel existing streams. 3 is currently a hard coded
    	// constant. The election timeout defaults to 1000ms. If the cluster is
    	// healthy, when the leader is stopped, the leadership transfer should be
    	// smooth. (leader transfers its leadership before stopping). If leader is
    	// hard killed, other servers will take an election timeout to realize
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/config_test.go

    		"/apis",
    		"/bar",
    		"/foo",
    		"/healthz",
    		"/healthz/delegate-health",
    		"/healthz/log",
    		"/healthz/ping",
    		"/healthz/poststarthook/delegate-post-start-hook",
    		"/healthz/poststarthook/generic-apiserver-start-informers",
    		"/healthz/poststarthook/max-in-flight-filter",
    		"/healthz/poststarthook/storage-object-count-tracker-hook",
    		"/healthz/poststarthook/wrapping-post-start-hook",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/controller/controller_test.go

    */
    
    package controller
    
    import (
    	"context"
    	"fmt"
    	"net/http"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"testing"
    	"time"
    
    	"k8s.io/apiserver/pkg/features"
    	"k8s.io/apiserver/pkg/server/healthz"
    	"k8s.io/apiserver/pkg/server/options/encryptionconfig"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	"k8s.io/client-go/util/workqueue"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/options/etcd_test.go

    			name:                 "no kms-provider, expect no kms healthz check, no kms livez check",
    			encryptionConfigPath: "testdata/encryption-configs/no-kms-provider.yaml",
    			wantHealthzChecks:    []string{"etcd"},
    			wantReadyzChecks:     []string{"etcd", "etcd-readiness"},
    			wantLivezChecks:      []string{"etcd"},
    		},
    		{
    			name:                 "no kms-provider+reload, expect single kms healthz check, no kms livez check",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/options/etcd.go

    	if err != nil {
    		return err
    	}
    	c.AddHealthChecks(healthz.NamedCheck("etcd", func(r *http.Request) error {
    		return healthCheck()
    	}))
    
    	readyCheck, err := storagefactory.CreateReadyCheck(s.StorageConfig, c.DrainedNotify())
    	if err != nil {
    		return err
    	}
    	c.AddReadyzChecks(healthz.NamedCheck("etcd-readiness", func(r *http.Request) error {
    		return readyCheck()
    	}))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 15:02:16 UTC 2024
    - 20K bytes
    - Viewed (0)
Back to top