nacos-group.github.io icon indicating copy to clipboard operation
nacos-group.github.io copied to clipboard

add arg -e

Open youlingdada opened this issue 3 months ago • 2 comments

add arg -e

What is the purpose of the change

docker run error

Brief changelog

XXXXX

Follow this checklist to help us incorporate your contribution quickly and easily:

  • [x] Make sure there is a GITHUB_issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
  • [ ] Format the pull request title like Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
  • [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • [ ] Test your code locally by running npm run build, and make sure it works as expected.
  • [ ] Make sure no files under build directory is added.
  • [ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

youlingdada avatar Sep 21 '25 04:09 youlingdada

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Sep 21 '25 04:09 CLAassistant

添加 -e 参数并更新 Kubernetes 部署说明

变更概述
  • 新功能

    • 在 Docker 运行命令中添加了多个 -e 环境变量参数,用于配置 Nacos 的鉴权功能,包括 NACOS_AUTH_ENABLENACOS_AUTH_TOKENNACOS_AUTH_IDENTITY_KEYNACOS_AUTH_IDENTITY_VALUE
    • 提供了开启鉴权的示例命令,增强了部署时的安全性与灵活性。
  • 文档

    • 更新了 Kubernetes 部署部分的说明,明确指出当前不提供单例模式部署,推荐使用集群模式以确保生产环境的稳定性。
变更文件
文件路径 变更说明
src/​content/​docs/​latest/​zh-cn/​manual/​admin/​deployment/​deployment-standalone.​mdx 在 Docker 命令示例中新增了多个 `-e` 参数以支持 Nacos 鉴权配置,并更新了 Kubernetes 部署建议。

💡 小贴士

与 lingma-agents 交流的方式

📜 直接回复评论 直接回复本条评论,lingma-agents 将自动处理您的请求。例如:

  • 在当前代码中添加详细的注释说明。

  • 请详细介绍一下你说的 LRU 改造方案,并使用伪代码加以说明。

📜 在代码行处标记 在文件的特定位置创建评论并 @lingma-agents。例如:

  • @lingma-agents 分析这个方法的性能瓶颈并提供优化建议。

  • @lingma-agents 对这个方法生成优化代码。

📜 在讨论中提问 在任何讨论中 @lingma-agents 来获取帮助。例如:

  • @lingma-agents 请总结上述讨论并提出解决方案。

  • @lingma-agents 请根据讨论内容生成优化代码。

lingma-agents[bot] avatar Sep 21 '25 04:09 lingma-agents[bot]