This is an automated email from the ASF dual-hosted git repository.
zhangjintao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git
The following commit(s) were added to refs/heads/master by this push:
new 045f5e70 docs: Add lost entries of `discovery` in Upstream's reference
doc. (#1766)
045f5e70 is described below
commit 045f5e70d283353b4382ba64e6ae6677751711ee
Author: AuruTus <[email protected]>
AuthorDate: Tue Apr 4 09:48:59 2023 +0800
docs: Add lost entries of `discovery` in Upstream's reference doc. (#1766)
---
docs/en/latest/references/apisix_upstream.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/docs/en/latest/references/apisix_upstream.md
b/docs/en/latest/references/apisix_upstream.md
index ee50e675..e9544298 100644
--- a/docs/en/latest/references/apisix_upstream.md
+++ b/docs/en/latest/references/apisix_upstream.md
@@ -79,3 +79,7 @@ See the
[definition](https://github.com/apache/apisix-ingress-controller/blob/ma
| subsets | array | List of
service subsets. Use pod labels to organize service endpoints to different
groups.
|
| subsets[].name | string | Name of the
subset.
|
| subsets[].labels | object | Label map
of the subset.
|
+| discovery | object | Discovery
is used to configure Service Discovery for upstream.
|
+| discovery.serviceName | string | Name of the
upstream service.
|
+| discovery.type | string | Types of
Service Discovery, which indicates what registry in APISIX the discovery uses.
Should match the entry in APISIX's config. Can refer to the
[doc](https://apisix.apache.org/docs/apisix/discovery/)
|
+| discovery.args | object | Args map
for discovery-spcefic parameters. Also can refer to the
[doc](https://apisix.apache.org/docs/apisix/discovery/)
|