kworkbee commented on issue #2176:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/2176#issuecomment-1980565808

   In Admin API, a state different from the 
`.spec.healthCheck.passive.unhealth.httpCodes` defined in `ApisixUpstream` is 
being returned.
   
   ```
   "active": {
           "type": "http",
           "concurrency": 10,
           "http_path": "/",
           "timeout": 1,
           "healthy": {
             "http_statuses": [
               404
             ],
             "successes": 1,
             "interval": 3
           },
           "unhealthy": {
             "timeouts": 3,
             "interval": 3,
             "http_statuses": [
               503,
               504
             ],
             "http_failures": 1,
             "tcp_failures": 2
           },
           "https_verify_certificate": true
         },
         "passive": {
           "healthy": {
             "http_statuses": [
               200,
               201,
               202,
               203,
               204,
               205,
               206,
               207,
               208,
               226,
               300,
               301,
               302,
               303,
               304,
               305,
               306,
               307,
               308
             ],
             "successes": 5
           },
           "type": "http",
           "unhealthy": {
             "http_statuses": [
               503,
               504
             ],
             "timeouts": 7,
             "http_failures": 1,
             "tcp_failures": 2
           }
         }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to