xgenvn commented on issue #242:
URL:
https://github.com/apache/apisix-helm-chart/issues/242#issuecomment-1064001144
Hi all, I managed by a workaround using custom nginx.
In helm `values.yml`
```yaml
# Custom configuration snippet.
configurationSnippet:
main: |
httpStart: |
httpEnd: |
httpSrv: |
location = /apisix/__healthcheck {
allow all;
access_log on;
return 200 'ok';
}
httpAdmin: |
stream: |
```
Then for GKE, use this example for BackendConfig
```
apiVersion: cloud.google.com/v1
kind: BackendConfig
metadata:
name: apisix-lb-backendconfig
spec:
timeoutSec: 300
healthCheck:
checkIntervalSec: 60
timeoutSec: 60
healthyThreshold: 1
unhealthyThreshold: 10
requestPath: /apisix/__healthcheck
type: HTTP
```
Ignore the content of this issue, exposing or enable `control_api` won't
work.
--
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]