Hi,
Been playing with the k8s yml deployment manifests from the squidex docker repo in minikube and was wondering about a couple of things:
Regarding the mongodb configuration/manifest:
-
Number of replicas:
Currently, the default value for the number of replicas is set to 3. My understanding is that this is for the mongodb three member replica set; for redundancy. If availability and redundancy is not a concern in a simple website and low budget scenario, can Squidex CMS still be fully operational and behave exactly the same by instead using only one pod for mongodb? -
Image version:
The mongodb/image version is set to 3.4 in the manifest.
Is there any particular reason 3.4 is used and not the latest version? -
The mongod command:
How would you configure the mongodb pod section in the manifest file if you instead use only one pod? Can the “command” section be removed? -
mongo-sidecar:
Can this section be removed as well, if you instead use only one pod? My understanding is that this container is only there for the replica set stuff.
Regarding the squidex configuration/manifest:
-
Number of replicas:
Basically the same reasoning as above.
Can Squidex CMS still be fully operational and behave exactly the same by instead using only one pod for the Squidex application? -
Environment variable ASSETSTORE__TYPE:
- name: ASSETSTORE__TYPE
value: YOUR_CONFIG
What value options are there for ASSETSSTORE__TYPE?
-
Environment variables IDENTITY__ADMINEMAIL and IDENTITY__ADMINPASSWORD:
- name: IDENTITY__ADMINEMAIL value: "" - name: IDENTITY__ADMINPASSWORD value: ""
These seem to be missing in the yaml manifest?
What is the minimum set of variables required in the manifest?