Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 234 for Healthy (0.35 sec)

  1. 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)
  2. staging/src/k8s.io/apiserver/pkg/server/healthz/healthz_test.go

    		want sets.String
    	}{
    		{"Should have no excluded health checks",
    			createGetRequestWithUrl("/healthz?verbose=true"),
    			sets.NewString(),
    		},
    		{"Should extract out the ping health check",
    			createGetRequestWithUrl("/healthz?exclude=ping"),
    			sets.NewString("ping"),
    		},
    		{"Should extract out ping and log health check",
    			createGetRequestWithUrl("/healthz?exclude=ping&exclude=log"),
    			sets.NewString("ping", "log"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 15 20:43:16 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy.go

    					"/livez", "/readyz", "/healthz",
    					"/version", "/version/",
    					"/openapi", "/openapi/*",
    					"/api", "/api/*",
    					"/apis", "/apis/*",
    				).RuleOrDie(),
    			},
    		},
    		{
    			// a role which provides minimal read access to the monitoring endpoints
    			// (i.e. /metrics, /livez/*, /readyz/*, /healthz/*, /livez, /readyz, /healthz)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  8. pkg/probe/http/http_test.go

    				t.Fatal(err)
    			}
    			health, output, err := prober.Probe(req, 1*time.Second)
    			if test.health == probe.Unknown && err == nil {
    				t.Errorf("case %d: expected error", i)
    			}
    			if test.health != probe.Unknown && err != nil {
    				t.Errorf("case %d: unexpected error: %v", i, err)
    			}
    			if health != test.health {
    				t.Errorf("case %d: expected %v, got %v", i, test.health, health)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 18 01:40:08 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  9. pilot/cmd/pilot-agent/status/server.go

    // app probers.
    func FormatProberURL(container string) (string, string, string) {
    	return fmt.Sprintf("/app-health/%v/readyz", container),
    		fmt.Sprintf("/app-health/%v/livez", container),
    		fmt.Sprintf("/app-health/%v/startupz", container)
    }
    
    // Run opens a the status port and begins accepting probes.
    func (s *Server) Run(ctx context.Context) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 31.1K bytes
    - Viewed (1)
  10. pilot/cmd/pilot-agent/status/server_test.go

    "/app-health/business/livez": {"httpGet": {"port": 9090}}}`,
    		},
    		// A valid gRPC probe.
    		{
    			probe: `{"/app-health/hello-world/readyz": {"gRPC": {"port": 8080}}}`,
    		},
    		// A valid gRPC probe with null service.
    		{
    			probe: `{"/app-health/hello-world/readyz": {"gRPC": {"port": 8080, "service": null}}}`,
    		},
    		// A valid gRPC probe with service.
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top