Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 261 for healCh (0.65 sec)

  1. 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)
  2. cmd/background-newdisks-heal-ops.go

    func newHealingTracker() *healingTracker {
    	return &healingTracker{
    		mu: &sync.RWMutex{},
    	}
    }
    
    func initHealingTracker(disk StorageAPI, healID string) *healingTracker {
    	h := newHealingTracker()
    	diskID, _ := disk.GetDiskID()
    	h.disk = disk
    	h.ID = diskID
    	h.HealID = healID
    	h.Path = disk.String()
    	h.Endpoint = disk.Endpoint().String()
    	h.Started = time.Now().UTC()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 15:12:32 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. cmd/admin-heal-ops.go

    	healFinishedStatus                     = "finished"
    )
    
    const (
    	// a heal sequence with this many un-consumed heal result
    	// items blocks until heal-status consumption resumes or is
    	// aborted due to timeout.
    	maxUnconsumedHealResultItems = 1000
    
    	// if no heal-results are consumed (via the heal-status API)
    	// for this timeout duration, the heal sequence is aborted.
    	healUnconsumedTimeout = 24 * time.Hour
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 18:04:41 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  4. cmd/global-heal.go

    	}
    
    	// Last sanity check
    	if len(tracker.QueuedBuckets) > 0 {
    		return fmt.Errorf("not all buckets were healed: %v", tracker.QueuedBuckets)
    	}
    
    	return nil
    }
    
    func healBucket(bucket string, scan madmin.HealScanMode) error {
    	// Get background heal sequence to send elements to heal
    	bgSeq, ok := globalBackgroundHealState.getHealSequenceByToken(bgHealingUUID)
    	if ok {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:48:50 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. 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)
  6. pilot/pkg/autoregistration/controller_test.go

    	ig.OnConnect(makeConn(p, time.Now()))
    	t.Run("auto registered healthy health", func(t *testing.T) {
    		ig.QueueWorkloadEntryHealth(p, HealthEvent{
    			Healthy: true,
    		})
    		checkHealthOrFail(t, store, p, true)
    	})
    	t.Run("auto registered unhealthy health", func(t *testing.T) {
    		ig.QueueWorkloadEntryHealth(p, HealthEvent{
    			Healthy: false,
    			Message: "lol health bad",
    		})
    		checkHealthOrFail(t, store, p, false)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/controller/controller_test.go

    				}, nil
    			},
    		},
    		{
    			name:                    "when transformer's health check fails previous config shouldn't be changed",
    			wantECFileHash:          "k8s:enc:unstable:1:6bc9f4aa2e5587afbb96074e1809550cbc4de3cc3a35717dac8ff2800a147fd3",
    			wantLoadCalls:           1,
    			wantHashCalls:           1,
    			wantTransformerClosed:   true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top