Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 202 for wealth (0.2 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/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)
  4. 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)
  5. 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)
  6. pkg/kubelet/cm/devicemanager/manager_test.go

    	as.True(ok)
    	checkAllocatableDevicesConsistsOf(as, devInstances, []string{"R1Device1", "R1Device2"})
    
    	// Unhealthy device becomes healthy
    	resource1Devs = []pluginapi.Device{
    		{ID: "R1Device1", Health: pluginapi.Healthy},
    		{ID: "R1Device2", Health: pluginapi.Healthy},
    		{ID: "R1Device3", Health: pluginapi.Healthy},
    	}
    	testManager.genericDeviceUpdateCallback(resourceName1, resource1Devs)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  7. cmd/metrics-v3-system-drive.go

    	m.Set(driveTotalInodes, float64(drive.UsedInodes+drive.FreeInodes), labels...)
    
    	var health float64
    	switch drive.Healing {
    	case true:
    		health = driveHealthHealing
    	case false:
    		if drive.State == "ok" {
    			health = driveHealthOnline
    		} else {
    			health = driveHealthOffline
    		}
    	}
    	m.Set(driveHealth, health, labels...)
    }
    
    func (m *MetricValues) setDriveAPIMetrics(disk madmin.Disk, labels []string) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 12 17:23:50 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. docs/metrics/v3.md

    | `minio_cluster_erasure_set_read_health`          | `gauge` | Health of the erasure set in a pool for read operations (1=healthy, 0=unhealthy)  | `pool_id,set_id` |
    | `minio_cluster_erasure_set_write_health`         | `gauge` | Health of the erasure set in a pool for write operations (1=healthy, 0=unhealthy) | `pool_id,set_id` |
    
    ### `/cluster/iam`
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 09:36:25 UTC 2024
    - 40.9K bytes
    - Viewed (0)
  9. cmd/callhome.go

    	enc := json.NewEncoder(gzWriter)
    	if e := enc.Encode(header); e != nil {
    		internalLogIf(ctx, fmt.Errorf("Could not encode health info header: %w", e))
    		return nil
    	}
    
    	if e := enc.Encode(healthInfo); e != nil {
    		internalLogIf(ctx, fmt.Errorf("Could not encode health info: %w", e))
    		return nil
    	}
    
    	gzWriter.Flush()
    	gzWriter.Close()
    
    	return b.Bytes()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 16:53:34 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/config.go

    	*completedConfig
    }
    
    // AddHealthChecks adds a health check to our config to be exposed by the health endpoints
    // of our configured apiserver. We should prefer this to adding healthChecks directly to
    // the config unless we explicitly want to add a healthcheck only to a specific health endpoint.
    func (c *Config) AddHealthChecks(healthChecks ...healthz.HealthChecker) {
    	c.HealthzChecks = append(c.HealthzChecks, healthChecks...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
Back to top