You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by "xbsheng (via GitHub)" <gi...@apache.org> on 2024/01/15 03:43:17 UTC
[D] Can stateless container deployment be supported? [incubator-answer]
GitHub user xbsheng created a discussion: Can stateless container deployment be supported?
Because it is not convenient to deploy the current deployment machine in a stateful manner, and the disk mounting method may be handled abnormally, we hope to support storing configuration information in the db.
GitHub link: https://github.com/apache/incubator-answer/discussions/724
----
This is an automatically sent email for commits@answer.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@answer.apache.org
Re: [D] Can stateless container deployment be supported? [incubator-answer]
Posted by "LinkinStars (via GitHub)" <gi...@apache.org>.
GitHub user LinkinStars added a comment to the discussion: Can stateless container deployment be supported?
@xbsheng I'm not sure the following is an solution, but it should be a option.
0. Using [AUTO_INSTALL](https://answer.apache.org/docs/env/#for-auto-install) ENV for first time install.
1. Using k8s `configmap` to store the config file and mount on `/data/conf/config.yaml`.
2. It may also be required to configure the mounting of a i18n dir.
3. Using [cache-redis](https://github.com/apache/incubator-answer-plugins/tree/main/cache-redis) plugin to replace local disk cache.
4. Using [storage-s3](https://github.com/apache/incubator-answer-plugins/tree/main/storage-s3) plugin to replace the feature of saving local files.
The stateful questions I can think of would be these for your reference.
GitHub link: https://github.com/apache/incubator-answer/discussions/724#discussioncomment-8128743
----
This is an automatically sent email for commits@answer.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@answer.apache.org
Re: [D] Can stateless container deployment be supported? [incubator-answer]
Posted by "gabriellazaroni (via GitHub)" <gi...@apache.org>.
GitHub user gabriellazaroni added a comment to the discussion: Can stateless container deployment be supported?
❤️
GitHub link: https://github.com/apache/incubator-answer/discussions/724#discussioncomment-8146060
----
This is an automatically sent email for commits@answer.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@answer.apache.org
Re: [D] Can stateless container deployment be supported? [incubator-answer]
Posted by "LinkinStars (via GitHub)" <gi...@apache.org>.
GitHub user LinkinStars edited a comment on the discussion: Can stateless container deployment be supported?
@xbsheng I'm not sure the following is a solution, but it should be an option.
0. Using [AUTO_INSTALL](https://answer.apache.org/docs/env/#for-auto-install) ENV for first time install.
1. Using k8s `configmap` to store the config file and mount on `/data/conf/config.yaml`.
2. It may also be required to configure the mounting of a i18n dir.
3. Using [cache-redis](https://github.com/apache/incubator-answer-plugins/tree/main/cache-redis) plugin to replace local disk cache.
4. Using [storage-s3](https://github.com/apache/incubator-answer-plugins/tree/main/storage-s3) plugin to replace the feature of saving local files.
The stateful questions I can think of would be these for your reference.
GitHub link: https://github.com/apache/incubator-answer/discussions/724#discussioncomment-8128743
----
This is an automatically sent email for commits@answer.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@answer.apache.org