Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 317 for wealth (0.37 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/healthz.go

    	// we opt for a delay of zero here, because this entrypoint adds generic health checks
    	// and not health checks which are specifically related to kube-apiserver boot-sequences.
    	return s.addHealthChecks(0, checks...)
    }
    
    // AddBootSequenceHealthChecks adds health checks to the old healthz endpoint (for backwards compatibility reasons)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/healthz/healthz.go

    			}
    		}
    		if excluded.Len() > 0 {
    			fmt.Fprintf(&individualCheckOutput, "warn: some health checks cannot be excluded: no matches for %s\n", formatQuoted(excluded.List()...))
    			klog.V(6).Infof("cannot exclude some health checks, no health checks are installed matching %s",
    				formatQuoted(excluded.List()...))
    		}
    		// always be verbose on failure
    		if len(failedChecks) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/upgrade/health.go

    func CheckClusterHealth(client clientset.Interface, cfg *kubeadmapi.ClusterConfiguration, ignoreChecksErrors sets.Set[string], printer output.Printer) error {
    	_, _ = printer.Println("[upgrade] Running cluster health checks")
    
    	healthChecks := []preflight.Checker{
    		&healthCheck{
    			name:   "CreateJob",
    			client: client,
    			cfg:    cfg,
    			f:      createJob,
    		},
    		&healthCheck{
    			name:   "ControlPlaneNodesReady",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 09:18:02 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. pkg/kube/inject/testdata/inject/hello-probes-localhost.yaml.injected

              value: cluster.local
            - name: TRUST_DOMAIN
              value: cluster.local
            - name: ISTIO_KUBE_APP_PROBERS
              value: '{"/app-health/hello/livez":{"httpGet":{"port":80}},"/app-health/hello/readyz":{"httpGet":{"port":3333}},"/app-health/world/livez":{"httpGet":{"port":90}}}'
            image: gcr.io/istio-testing/proxyv2:latest
            name: istio-proxy
            ports:
            - containerPort: 15090
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 26 16:51:17 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/controller/controller.go

    		// create a fake http get request to health check endpoint
    		req, err := http.NewRequestWithContext(ctx, http.MethodGet, fmt.Sprintf("/healthz/%s", kmsPluginHealthzCheck.Name()), nil)
    		if err != nil {
    			return false, err
    		}
    
    		healthCheckError = kmsPluginHealthzCheck.Check(req)
    		return healthCheckError == nil, nil
    	})
    	if pollErr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. pilot/pkg/autoregistration/controller_test.go

    	ig.OnConnect(makeConn(p, time.Now()))
    	t.Run("auto registered healthy health", func(t *testing.T) {
    		ig.QueueWorkloadEntryHealth(p, HealthEvent{
    			Healthy: true,
    		})
    		checkHealthOrFail(t, store, p, true)
    	})
    	t.Run("auto registered unhealthy health", func(t *testing.T) {
    		ig.QueueWorkloadEntryHealth(p, HealthEvent{
    			Healthy: false,
    			Message: "lol health bad",
    		})
    		checkHealthOrFail(t, store, p, false)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go

    }
    
    func (h *kmsPluginProbe) toHealthzCheck(idx int) healthz.HealthChecker {
    	return healthz.NamedCheck(fmt.Sprintf("kms-provider-%d", idx), func(r *http.Request) error {
    		return h.check()
    	})
    }
    
    func (h *kmsv2PluginProbe) toHealthzCheck(idx int) healthz.HealthChecker {
    	return healthz.NamedCheck(fmt.Sprintf("kms-provider-%d", idx), func(r *http.Request) error {
    		return h.check(r.Context())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/apiclient/wait.go

    			w.client.Discovery().RESTClient().Get().AbsPath("/healthz").Do(ctx).StatusCode(&healthStatus)
    			if healthStatus != http.StatusOK {
    				return false, nil
    			}
    			return true, nil
    		})
    	if err != nil {
    		fmt.Printf("[api-check] The API server is not healthy after %v\n", time.Since(start))
    		return err
    	}
    
    	fmt.Printf("[api-check] The API server is healthy after %v\n", time.Since(start))
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top