Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for healthcheck (0.2 sec)

  1. cmd/healthcheck-handler.go

    	// Verify if KMS is reachable if its configured
    	if GlobalKMS != nil {
    		ctx, cancel := context.WithTimeout(r.Context(), time.Minute)
    		defer cancel()
    
    		if _, err := GlobalKMS.GenerateKey(ctx, "", kms.Context{"healthcheck": ""}); err != nil {
    			switch r.Method {
    			case http.MethodHead:
    				apiErr := toAPIError(r.Context(), err)
    				writeResponse(w, apiErr.HTTPStatusCode, nil, mimeNone)
    			case http.MethodGet:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 03 21:13:20 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  2. cni/pkg/iptables/iptables.go

    	)
    
    	// TODO BML I don't think we need UDP? TCP healthcheck redir should catch everything.
    
    	// This is effectively an analog for Istio's old-style podSpec-based health check rewrites.
    	// Before Istio would update the pod manifest to rewrite healthchecks to go to sidecar Envoy port 15021,
    	// so that it could distinguish things that can be unauthenticated (healthchecks) from other kinds of node traffic
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  3. cmd/xl-storage-disk-id-check.go

    	e.mu.Lock()
    	defer e.mu.Unlock()
    	return e.lastMinuteLatency.getTotal()
    }
    
    func newXLStorageDiskIDCheck(storage *xlStorage, healthCheck bool) *xlStorageDiskIDCheck {
    	xl := xlStorageDiskIDCheck{
    		storage:      storage,
    		health:       newDiskHealthTracker(),
    		healthCheck:  healthCheck && globalDriveMonitoring,
    		metricsCache: cachevalue.New[DiskMetrics](),
    	}
    	xl.SetDiskID(emptyDiskID)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  4. docs/orchestration/docker-compose/docker-compose.yaml

      command: server --console-address ":9001" http://minio{1...4}/data{1...2}
      expose:
        - "9000"
        - "9001"
      # environment:
        # MINIO_ROOT_USER: minioadmin
        # MINIO_ROOT_PASSWORD: minioadmin
      healthcheck:
        test: ["CMD", "mc", "ready", "local"]
        interval: 5s
        timeout: 5s
        retries: 5
    
    # starts 4 docker containers running minio server instances.
    # using nginx reverse proxy, load balancing, you can access
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 02:45:52 GMT 2024
    - 1.5K bytes
    - Viewed (1)
  5. cmd/bucket-targets.go

    	lastOnline      time.Time
    	lastHCAt        time.Time
    	offlineDuration time.Duration
    	latency         latencyStat
    }
    
    // isOffline returns current liveness result of remote target. Add endpoint to
    // healthCheck map if missing and default to online status
    func (sys *BucketTargetSys) isOffline(ep *url.URL) bool {
    	sys.hMutex.RLock()
    	defer sys.hMutex.RUnlock()
    	if h, ok := sys.hc[ep.Host]; ok {
    		return !h.Online
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  6. cmd/format-erasure_test.go

    	for _, erasureDir := range erasureDirs {
    		defer os.RemoveAll(erasureDir)
    	}
    	endpoints := mustGetNewEndpoints(0, 8, erasureDirs...)
    
    	storageDisks, errs := initStorageDisksWithErrors(endpoints, storageOpts{cleanUp: false, healthCheck: false})
    	for _, err := range errs {
    		if err != nil && err != errDiskNotFound {
    			t.Fatal(err)
    		}
    	}
    
    	format := newFormatErasureV3(1, 8)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  7. cmd/routers.go

    	if globalIsDistErasure {
    		registerDistErasureRouters(router, endpointServerPools)
    	}
    
    	// Add Admin router, all APIs are enabled in server mode.
    	registerAdminRouter(router, true)
    
    	// Add healthCheck router
    	registerHealthCheckRouter(router)
    
    	// Add server metrics router
    	registerMetricsRouter(router)
    
    	// Add STS router always.
    	registerSTSRouter(router)
    
    	// Add KMS router
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  8. cmd/storage-rest-client.go

    func newStorageRESTClient(endpoint Endpoint, healthCheck bool, gm *grid.Manager) (*storageRESTClient, error) {
    	serverURL := &url.URL{
    		Scheme: endpoint.Scheme,
    		Host:   endpoint.Host,
    		Path:   path.Join(storageRESTPrefix, endpoint.Path, storageRESTVersion),
    	}
    
    	restClient := rest.NewClient(serverURL, globalInternodeTransport, newCachedAuthToken())
    
    	if healthCheck {
    		// Use a separate client to avoid recursive calls.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  9. cmd/erasure-sets.go

    // StorageAPI and also `format` which exists on the disk.
    func connectEndpoint(endpoint Endpoint) (StorageAPI, *formatErasureV3, error) {
    	disk, err := newStorageAPI(endpoint, storageOpts{
    		cleanUp:     false,
    		healthCheck: false,
    	})
    	if err != nil {
    		return nil, nil, err
    	}
    
    	format, err := loadFormatErasure(disk, false)
    	if err != nil {
    		if errors.Is(err, errUnformattedDisk) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  10. cmd/prepare-storage.go

    	// Initialize all storage disks
    	storageDisks, errs := initStorageDisksWithErrors(endpoints, storageOpts{cleanUp: true, healthCheck: true})
    
    	defer func(storageDisks []StorageAPI) {
    		if err != nil {
    			closeStorageDisks(storageDisks...)
    		}
    	}(storageDisks)
    
    	for i, err := range errs {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
Back to top