Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 773 for Healthz (0.12 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

    	}
    	return nil
    }
    
    // NamedCheck returns a healthz checker for the given name and function.
    func NamedCheck(name string, check func(r *http.Request) error) HealthChecker {
    	return &healthzCheck{name, check}
    }
    
    // InstallHandler registers handlers for health checking on the path
    // "/healthz" to mux. *All handlers* for mux must be specified in
    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. 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/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)
  5. cmd/kubeadm/app/util/apiclient/wait.go

    		})
    }
    
    // WaitForKubelet blocks until the kubelet /healthz endpoint returns 'ok'.
    func (w *KubeWaiter) WaitForKubelet(healthzAddress string, healthzPort int32) error {
    	var (
    		lastError       error
    		start           = time.Now()
    		healthzEndpoint = fmt.Sprintf("http://%s:%d/healthz", healthzAddress, healthzPort)
    	)
    
    	fmt.Printf("[kubelet-check] Waiting for a healthy kubelet. This can take up to %v\n", w.timeout)
    
    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. staging/src/k8s.io/apiserver/pkg/server/healthz/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package healthz implements basic http server health checking.
    // Usage:
    //
    //	import "k8s.io/apiserver/pkg/server/healthz"
    //	healthz.InstallHandler(mux)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 792 bytes
    - Viewed (0)
  7. pilot/pkg/leaderelection/k8sleaderelection/healthzadaptor.go

    import (
    	"net/http"
    	"sync"
    	"time"
    )
    
    // HealthzAdaptor associates the /healthz endpoint with the LeaderElection object.
    // It helps deal with the /healthz endpoint being set up prior to the LeaderElection.
    // This contains the code needed to act as an adaptor between the leader
    // election code the health check code. It allows us to provide health
    // status about the leader election. Most specifically about if the leader
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 11 16:58:48 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  8. pkg/proxy/healthcheck/proxier_health.go

    )
    
    // ProxierHealthServer allows callers to:
    //  1. run a http server with /healthz and /livez endpoint handlers.
    //  2. update healthz timestamps before and after synchronizing dataplane.
    //  3. sync node status, for reporting unhealthy /healthz response
    //     if the node is marked for deletion by autoscaler.
    //  4. get proxy health by verifying that the delay between QueuedUpdate()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 10:41:18 UTC 2023
    - 8K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/apiclient/wait_test.go

    				{name: "kube-apiserver", url: "https://127.0.0.1:1111/healthz"},
    				{name: "kube-controller-manager", url: "https://127.0.0.1:2222/healthz"},
    				{name: "kube-scheduler", url: "https://127.0.0.1:3333/healthz"},
    			},
    		},
    		{
    			name: "default ports",
    			cfg:  &kubeadmapi.ClusterConfiguration{},
    			expected: []controlPlaneComponent{
    				{name: "kube-apiserver", url: "https://127.0.0.1:6443/healthz"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. 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)
Back to top