Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for Healthy (0.16 sec)

  1. 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)
  2. pkg/kube/inject/testdata/inject/hello-probes-localhost.yaml

              livenessProbe:
                httpGet:
                  port: http
              readinessProbe:
                exec:
                  command:
                    - cat
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 26 16:51:17 UTC 2024
    - 956 bytes
    - Viewed (0)
  3. 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)
  4. tests/integration/pilot/label_test.go

    			// First, expect to fail. Subset does not match
    			_ = from.CallOrFail(t, echo.CallOptions{
    				To: to,
    				Port: echo.Port{
    					Name: "http",
    				},
    				Count: 1,
    				Check: check.BodyContains("no healthy upstream"),
    			})
    
    			lbls := map[string]string{"subset": "my-subset"}
    			assert.NoError(t, to[0].UpdateWorkloadLabel(lbls, nil))
    			t.Cleanup(func() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 18:27:40 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. 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)
  6. pkg/kubelet/metrics/collectors/volume_stats.go

    	volumeStatsHealthAbnormalDesc = metrics.NewDesc(
    		metrics.BuildFQName("", kubeletmetrics.KubeletSubsystem, kubeletmetrics.VolumeStatsHealthStatusAbnormalKey),
    		"Abnormal volume health status. The count is either 1 or 0. 1 indicates the volume is unhealthy, 0 indicates volume is healthy",
    		[]string{"namespace", "persistentvolumeclaim"}, nil,
    		metrics.ALPHA, "")
    )
    
    type volumeStatsCollector struct {
    	metrics.BaseStableCollector
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. samples/bookinfo/src/details/details.rb

        :Port => port,
        :AcceptCallback => -> (s) { s.setsockopt(Socket::IPPROTO_TCP, Socket::TCP_NODELAY, 1) },
    )
    
    trap 'INT' do server.shutdown end
    
    server.mount_proc '/health' do |req, res|
        res.status = 200
        res.body = {'status' => 'Details is healthy'}.to_json
        res['Content-Type'] = 'application/json'
    end
    
    server.mount_proc '/details' do |req, res|
        pathParts = req.path.split('/')
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:35:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/controller/controller.go

    // minKMSPluginCloseGracePeriod can be lowered in unit tests to make the health check poll faster
    var minKMSPluginCloseGracePeriod = 10 * time.Second
    
    func (d *DynamicEncryptionConfigContent) validateNewTransformersHealth(
    	ctx context.Context,
    	kmsPluginHealthzCheck healthz.HealthChecker,
    	kmsPluginCloseGracePeriod time.Duration,
    ) error {
    	// test if new transformers are healthy
    	var healthCheckError error
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. 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)
  10. cmd/healthcheck-handler.go

    	}
    	result := objLayer.Health(ctx, opts)
    	w.Header().Set(xhttp.MinIOWriteQuorum, strconv.Itoa(result.WriteQuorum))
    	w.Header().Set(xhttp.MinIOStorageClassDefaults, strconv.FormatBool(result.UsingDefaults))
    	// return how many drives are being healed if any
    	if result.HealingDrives > 0 {
    		w.Header().Set(xhttp.MinIOHealingDrives, strconv.Itoa(result.HealingDrives))
    	}
    	if !result.Healthy {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top