You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/09/17 09:38:50 UTC

[GitHub] [apisix-ingress-controller] xiongyunhua-star opened a new issue #686: httpcheck error

xiongyunhua-star opened a new issue #686:
URL: https://github.com/apache/apisix-ingress-controller/issues/686


   ### Issue description
   
   create a httpcheck.yaml and then apply,but the result is error
   
   
   
   ### Environment
   NAME                                 NAMESPACE       REVISION       CHART                                                                 APP VERSION
   apisix                                 ingress-apisix      1                     apisix-0.3.5                                                           2.7.0      
   apisix-ingress-controller   ingress-apisix      1                     apisix-ingress-controller-0.5.0                              1.0.0    
   
   #################
   Yaml file:
   ################################################
   version 1:
                           kind: ApisixUpstream
                           metadata:
                             name: pro-svc
                             namespace: demo-project
                           spec:
                             healthCheck:
                               passive:
                                 unhealthy:
                                   httpCodes:
                                     - 500
                                   httpFailures: 3
                                   timeout: 5s
                               active:
                                 type: http
                                 httpPath: /
                                 timeout: 5s
                                 healthy:
                                   successes: 3
                                   interval: 2s
                                   httpCodes:
                                     - 200
   Error prompt:   spec.healthCheck.active.timeout in body must be of type number: "string"
   
   version 2:
                           kind: ApisixUpstream
                           metadata:
                             name: pro-svc
                             namespace: demo-project
                           spec:
                             healthCheck:
                               passive:
                                 unhealthy:
                                   httpCodes:
                                     - 500
                                   httpFailures: 3
                                   timeout: 5s
                               active:
                                 type: http
                                 httpPath: /
                                 timeout: 5
                                 healthy:
                                   successes: 3
                                   interval: 2s
                                   httpCodes:
                                     - 200
   
   Error prompt: null
   But the yaml-file's status is null and dashboard's httpcheck-contents is null
   
   
   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] gxthrj commented on issue #686: httpcheck error

Posted by GitBox <gi...@apache.org>.
gxthrj commented on issue #686:
URL: https://github.com/apache/apisix-ingress-controller/issues/686#issuecomment-927213256


   #687 has been merged, close this issue, feel free to reopen.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] gxthrj closed issue #686: httpcheck error

Posted by GitBox <gi...@apache.org>.
gxthrj closed issue #686:
URL: https://github.com/apache/apisix-ingress-controller/issues/686


   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] gxthrj commented on issue #686: httpcheck error

Posted by GitBox <gi...@apache.org>.
gxthrj commented on issue #686:
URL: https://github.com/apache/apisix-ingress-controller/issues/686#issuecomment-921789766


   related to #604 


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org