Skip to content
New issue

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

fix: correct /v1/discovery/kubernetes/dump new feature description in the 3.10.0 release notes #1819

Merged
merged 1 commit into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions blog/en/blog/2024/08/14/release-apache-apisix-3.10.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,15 @@ curl "http://127.0.0.1:9180/apisix/admin/ssls" -X PUT -d '

For more information, see [PR #11277](https://github.com/apache/apisix/pull/11277).

### Add K8s discovery memory dump endpoint to Control API
### List K8s cluster endpoints in Control API discovery memory dump

The Control API now offers a new endpoint `/v1/discovery/kubernetes/dump` to see the nodes discovered by K8s discovery. For example:
The Control API `/v1/discovery/kubernetes/dump` endpoint now lists K8s cluster endpoints. For example:

```shell
curl http://127.0.0.1:9090/v1/discovery/kubernetes/dump | jq
```

You will see the discovered node information:
You will see the cluster endpoints:

```json
{
Expand Down
6 changes: 3 additions & 3 deletions blog/zh/blog/2024/08/14/release-apache-apisix-3.10.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,15 @@ curl "http://127.0.0.1:9180/apisix/admin/ssls" -X PUT -d '

有关更多信息,请参阅 [PR #11277](https://github.com/apache/apisix/pull/11277)。

### Control API 支持查看 K8s 服务发现的节点
### Control API 支持查看 K8s 服务发现集群节点

Control API 现在提供了一个新端点 `/v1/discovery/kubernetes/dump`,用于查看 K8s 发现发现的节点。例如:
控制 API `/v1/discovery/kubernetes/dump` 支持查看 K8s 服务发现集群节点。例如:

```shell
curl http://127.0.0.1:9090/v1/discovery/kubernetes/dump | jq
```

您将看到发现的节点信息
您将看到发现的集群节点信息

```json
{
Expand Down
Loading