We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upstream.pass_host
node
I found code below in apisix-dashboard make it unable to select Use the domain or IP from Node List in Hostname, Which apisix had supported.
Use the domain or IP from Node List
Hostname
apisix-dashboard/web/src/components/Upstream/components/PassHost.tsx
Lines 88 to 102 in 9764dad
payload below supported by apisix
{ "uri": "/route-test", "name": "route-test", "upstream": { "pass_host": "node", "hash_on": "vars", "nodes": { "web1:80": 1, "web2:80": 1 }, "type": "roundrobin", "retries": 2, "checks": { "active": { "timeout": 1, "http_path": "/", "healthy": { "http_statuses": [200, 201, 302], "interval": 1, "successes": 1 }, "unhealthy": { "http_statuses": [429,404,500,501,502,503,504,505], "interval": 1, "timeout": 1, "http_failures": 1 } }, "passive": { "healthy": { "http_statuses": [200, 201, 302], "successes": 1 }, "unhealthy": { "http_statuses": [429,404,500,501,502,503,504,505], "http_failures": 1, "tcp_failures": 1 } } } } }
apisix-dashboard support upstream.pass_host as node when node list lager than 1
When using a host name or IP in the target node list, make sure there is only one target node
No response
apisix version
uname -a
nginx -V
openresty -V
etcd --version
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Issue description
I found code below in apisix-dashboard make it unable to select
Use the domain or IP from Node List
inHostname
, Which apisix had supported.apisix-dashboard/web/src/components/Upstream/components/PassHost.tsx
Lines 88 to 102 in 9764dad
Expected behavior
apisix-dashboard support
upstream.pass_host
asnode
when node list lager than 1How to Reproduce
Hostname
toUse the domain or IP from Node List
When using a host name or IP in the target node list, make sure there is only one target node
Screenshots
No response
Environment
apisix version
): 2.9uname -a
): Linux localhost 3.10.0-1160.el7.x86_64 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linuxnginx -V
oropenresty -V
): 1.19.9.1etcd --version
): 3.4.15Additional context
No response
The text was updated successfully, but these errors were encountered: