> For the complete documentation index, see [llms.txt](https://yushuai-w.gitbook.io/consul/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yushuai-w.gitbook.io/consul/master.md).

# Consul中文文档

![](/files/-MKY2hQzMf5r05g-idVT)

**作者**： Consul是很棒的开源软件，具有注册中心、配置中心、健康检查等很好用的功能，也有很多人也在用。 但是，想查一些Consul基础知识和落地踩坑经验的时候，就很痛苦了，  因为主要的资料来源于官方文档，而且是英文的。 如果对Consul比较熟悉了那还好，但是仅仅想学习 Consul， 那读起来可能会感觉非常晦涩难懂。 这些是我翻译这些文档的一个初衷， 希望能帮助到想学习Consul、想落地Consul的中国小伙伴。&#x20;

我将根据我的落地实践经验，翻译最新的官方文档（Consul 1.9）。当然我也处于不断学习阶段，欢迎对内容提出反馈、指正和宝贵的建议。 &#x20;

也欢迎大家一起翻译，一起玩。加入翻译，请联系: <yushuai_w@163.com>

**正文**：

欢迎来到Consul 文档。 该文档将介绍Consul所有可用功能和配置选项的参考资料。&#x20;

您可以在下面的文档中找到我们最常用的任务链接和快速链接。请注意，指南位于HashiCorp学习网站上。

* 按照[文档说明](https://www.consul.io/docs/install)使用预编译的二进制文件或从源代码安装Consul。
* 阅读有关Consul Server和Client[配置选项](https://www.consul.io/docs/agent/options)的更多信息。
* &#x20;在[HashiCorp Learn](https://learn.hashicorp.com/consul)，通过我们的分步指南开始使用Consul。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://yushuai-w.gitbook.io/consul/master.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
