oil-oil opened a new issue, #8048:
URL: https://github.com/apache/apisix/issues/8048

   ### Description
   
   ## Problems encountered
   
   When using the volumeMount subPath method for single file mounting in k8s, 
the files inside the container cannot be hot updated, resulting in the 
`apisix.yaml` configuration is being updated in configmap and the files inside 
the container not being updated in parallel. If I need to synchronize the 
configuration, I have to destroy the pod and restart it.
   
   ## Solution
   
   It may be necessary to provide a configurable environment variable that can 
specify the directory where `apisix.yaml` is generated, and mount this 
specified directory directly on configMap to achieve hot updates, and APISIX 
will go to the specified directory to read the configuration if the user has 
configured the environment variable when reading the configuration.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to