help request: apisix file-standalone mode config apisix.yaml path

オープン
#13,494 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
静か
技術スタック
kubernetes
領域
cloud, devops

調査の方向性

まず、standalone-mode における apisix.yaml と apisix.json の APISIX 設定エントリポイントと、Kubernetes ボリュームのマウント方法を確認します。起動引数または環境変数でパスを上書きできるか、またマウントされたファイルの変更によって hot reload がトリガーされるかを確認し、サポートされている設定または具体的に不足している動作を文書化します。

索引モデルが issue の本文から書いたものです。

説明

question
Description

How to customize the default path of apisix.yaml/apisix.json via args or env vars for K8s hot reload?

I am currently deploying APISIX in a Kubernetes environment using Standalone mode, and I mount the configuration files via K8s volumes.
My goal is to enable hot reloading for the configuration. However, it seems this isn't working as expected, and I suspect it might be related to the file path.
Could you please advise on how to change the default path of apisix.yaml or apisix.json? Specifically, is there a way to override this default path using startup arguments or environment variables?
Any guidance or best practices for achieving file hot reload in K8s would be greatly appreciated.

Environment
  • APISIX version (run apisix version): apache/apisix:3.16.0
  • Operating system (run uname -a):
  • OpenResty / Nginx version (run openresty -V or nginx -V):
  • etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info): file
  • APISIX Dashboard version, if relevant:
  • Plugin runner version, for issues related to plugin runners:
  • LuaRocks version, for installation issues (run luarocks --version):
主要言語
Lua
スター
17.3k
フォーク
3k
平均マージ
4日 14時間
マージ済み PR(30日)
73

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/apisix のほかの issue

apache/apisix の issue をすべて見る

似ている issue

Lua の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。