Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for StatusServiceUnavailable (0.69 sec)

  1. pkg/proxy/healthcheck/healthcheck_test.go

    	}
    	// test the handlers
    	testHandler(hcs, nsn1, http.StatusServiceUnavailable, 0, t)
    	testHandler(hcs, nsn2, http.StatusServiceUnavailable, 0, t)
    	testHandler(hcs, nsn3, http.StatusServiceUnavailable, 0, t)
    
    	// sync endpoints
    	hcs.SyncEndpoints(map[types.NamespacedName]int{
    		nsn1: 9,
    		nsn2: 3,
    		nsn3: 7,
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  2. cmd/healthcheck-handler.go

    	ctx := newContext(r, w, "ClusterCheckHandler")
    
    	objLayer := newObjectLayerFn()
    	if objLayer == nil {
    		w.Header().Set(xhttp.MinIOServerStatus, unavailable)
    		writeResponse(w, http.StatusServiceUnavailable, nil, mimeNone)
    		return
    	}
    
    	ctx, cancel := context.WithTimeout(ctx, globalAPIConfig.getClusterDeadline())
    	defer cancel()
    
    	opts := HealthOptions{
    		Maintenance:    r.Form.Get("maintenance") == "true",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/healthServer.go

    	return func(w http.ResponseWriter, _ *http.Request) {
    		if !installReady.Load().(bool) || !watchReady.Load().(bool) {
    			http.Error(w, http.StatusText(http.StatusServiceUnavailable), http.StatusServiceUnavailable)
    			return
    		}
    		w.WriteHeader(http.StatusOK)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/healthServer_test.go

    	server := httptest.NewServer(router)
    	defer server.Close()
    
    	makeReq(t, server.URL, constants.LivenessEndpoint, http.StatusOK)
    	makeReq(t, server.URL, constants.ReadinessEndpoint, http.StatusServiceUnavailable)
    
    	installReady.Store(true)
    	watchReady.Store(true)
    	assert.Equal(t, installReady.Load(), true)
    	assert.Equal(t, watchReady.Load(), true)
    
    	makeReq(t, server.URL, constants.LivenessEndpoint, http.StatusOK)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. tests/integration/security/egress_gateway_origination_test.go

    				{
    					name:            "missing",
    					statusCode:      http.StatusServiceUnavailable,
    					credentialToUse: credNameMissing,
    					useGateway:      false,
    				},
    				{
    					name:            "no client certs",
    					statusCode:      http.StatusServiceUnavailable,
    					credentialToUse: strings.TrimSuffix(simpleCredName, "-cacert"),
    					useGateway:      false,
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. src/net/http/status.go

    	StatusInternalServerError           = 500 // RFC 9110, 15.6.1
    	StatusNotImplemented                = 501 // RFC 9110, 15.6.2
    	StatusBadGateway                    = 502 // RFC 9110, 15.6.3
    	StatusServiceUnavailable            = 503 // RFC 9110, 15.6.4
    	StatusGatewayTimeout                = 504 // RFC 9110, 15.6.5
    	StatusHTTPVersionNotSupported       = 505 // RFC 9110, 15.6.6
    	StatusVariantAlsoNegotiates         = 506 // RFC 2295, 8.1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 10 23:30:35 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  7. cmd/sts-errors.go

    		Description:    "STS API not initialized, please try again.",
    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    	ErrSTSIAMNotInitialized: {
    		Code:           "STSIAMNotInitialized",
    		Description:    "STS IAM not initialized, please try again.",
    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    	ErrSTSUpstreamError: {
    		Code:           "InternalError",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/filters/watch_termination_test.go

    			handlerInvoked:          0,
    			signalAttachedToContext: false,
    			wgInvokedExpected:       1,
    			retryAfterExpected:      true,
    			statusCodeExpected:      http.StatusServiceUnavailable,
    		},
    		{
    			name:                    "request is a WATCH, wait group is accepting",
    			requestInfo:             &apirequest.RequestInfo{Verb: "watch"},
    			wg:                      &fakeRequestWaitGroup{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 15:49:49 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    		Description:    "Resource requested is unreadable, please reduce your request rate",
    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    	ErrSlowDownWrite: {
    		Code:           "SlowDownWrite",
    		Description:    "Resource requested is unwritable, please reduce your request rate",
    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    	ErrMaxVersionsExceeded: {
    		Code:           "MaxVersionsExceeded",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (1)
  10. tests/integration/security/egress_sidecar_tls_origination_test.go

    					credentialToUse: credNameGeneric,
    					from:            apps.Ns1.B,
    					drSelector:      "b",
    					expectedResponse: ingressutil.ExpectedResponse{
    						StatusCode: http.StatusServiceUnavailable,
    					},
    				},
    				// Mutual TLS origination using an invalid client certificate
    				// This will result in a 503 with the UH flag because the cluster will
    				// stay warming until a valid secret is sent.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top