Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 306 for Healthy (0.29 sec)

  1. staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go

    	"type":    "Type of condition for a component. Valid value: \"Healthy\"",
    	"status":  "Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\".",
    	"message": "Message about the condition for a component. For example, information about a health check.",
    	"error":   "Condition error code for a component. For example, a health check error code.",
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 254.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. cmd/callhome.go

    			healthInfo = hi
    		case <-healthCtx.Done():
    			return
    		}
    	}
    }
    
    const (
    	subnetHealthPath = "/api/health/upload"
    )
    
    func sendHealthInfo(ctx context.Context, healthInfo madmin.HealthInfo) error {
    	url := globalSubnetConfig.BaseURL + subnetHealthPath
    
    	filename := fmt.Sprintf("health_%s.json.gz", UTCNow().Format("20060102150405"))
    	url += "?filename=" + filename
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 16:53:34 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/core/v1/generated.proto

    message ComponentCondition {
      // Type of condition for a component.
      // Valid value: "Healthy"
      optional string type = 1;
    
      // Status of the condition for a component.
      // Valid values for "Healthy": "True", "False", or "Unknown".
      optional string status = 2;
    
      // Message about the condition for a component.
      // For example, information about a health check.
      // +optional
      optional string message = 3;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 280.3K bytes
    - Viewed (0)
  7. cmd/kube-scheduler/app/server.go

    	defer cc.EventBroadcaster.Shutdown()
    
    	// Setup healthz checks.
    	var checks, readyzChecks []healthz.HealthChecker
    	if cc.ComponentConfig.LeaderElection.LeaderElect {
    		checks = append(checks, cc.LeaderElection.WatchDog)
    		readyzChecks = append(readyzChecks, cc.LeaderElection.WatchDog)
    	}
    	readyzChecks = append(readyzChecks, healthz.NewShutdownHealthz(ctx.Done()))
    
    	waitingForLeader := make(chan struct{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/hooks.go

    	}
    	return nil
    }
    
    // postStartHookHealthz implements a healthz check for poststarthooks.  It will return a "hookNotFinished"
    // error until the poststarthook is finished.
    type postStartHookHealthz struct {
    	name string
    
    	// done will be closed when the postStartHook is finished
    	done chan struct{}
    }
    
    var _ healthz.HealthChecker = postStartHookHealthz{}
    
    func (h postStartHookHealthz) Name() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. pkg/printers/internalversion/printers.go

    	}
    	status := "Unknown"
    	message := ""
    	error := ""
    	for _, condition := range obj.Conditions {
    		if condition.Type == api.ComponentHealthy {
    			if condition.Status == api.ConditionTrue {
    				status = "Healthy"
    			} else {
    				status = "Unhealthy"
    			}
    			message = condition.Message
    			error = condition.Error
    			break
    		}
    	}
    	row.Cells = append(row.Cells, obj.Name, status, message, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  10. pkg/apis/core/types.go

    }
    
    // Probe describes a health check to be performed against a container to determine whether it is
    // alive or ready to receive traffic.
    type Probe struct {
    	// The action taken to determine the health of a container
    	ProbeHandler
    	// Length of time before health checking is activated.  In seconds.
    	// +optional
    	InitialDelaySeconds int32
    	// Length of time before health checking times out.  In seconds.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
Back to top