I tired them.. I unfortunately see only below supported for docker

      

      --docker.container string                   name of the docker 
container that is running this process

      --docker.endpoint string                    Endpoint used to reach 
the docker daemon (default "unix:///var/run/docker.sock")

      --docker.gc-delay duration                  Delay before stopped 
containers are garbage collected (default 10m0s)

      --docker.image string                       name of the Docker image 
to use to launch arangod instances (leave empty to avoid using docker) 
(default "arangodb/arangodb:latest")

      --docker.imagePullPolicy string             pull docker image from 
docker hub (Always|IfNotPresent|Never)

      --docker.net-host                           Run containers with 
--net=host (DEPRECATED: use --docker.net-mode=host instead)

      --docker.net-mode string                    Run containers with 
--net=<value>

      --docker.privileged                         Run containers with 
--privileged

      --docker.sync-image string                  name of the Docker image 
to use to launch arangosync instances

      --docker.tty                                Run containers with TTY 
enabled (default true)

      --docker.user string                        use the given name as 
user to run the Docker container


I am looking for *mem_limit* to be specific.


Thanks

Sai.


On Tuesday, February 27, 2024 at 1:35:42 PM UTC-8 asif...@arangodb.com 
wrote:

> Did you try these:
>
> https://docs.arangodb.com/3.11/components/tools/arangodb-starter/options/#passing-through-other-database-options
>
>
> https://docs.arangodb.com/3.11/components/tools/arangodb-starter/options/#passing-environment-variables
>
> --
> Asif Kazi
> VP of Customer Success
>
>  
> 415 Mission Street FL 37, San Francisco, CA 94104, United States
> cell:       +1 925 314 5065 <(925)%20314-5065>
> email:     asif...@arangodb.com
> website: www.arangodb.com
> book a meeting here <https://calendly.com/kaziasif>
>
> On Tue, Feb 27, 2024 at 1:28 PM Sai <sai40...@gmail.com> wrote:
>
>> Thanks Asif for all the help, now we are able to use starter and deploy 
>> cluster as needed.
>>
>> While using arango starter is there a way to specify the docker 
>> *mem_limit* and *memswap_limit* for the agent, server and coordinator 
>> docker containers ?
>>
>> -
>> Sai.
>>
>> On Wednesday, February 7, 2024 at 3:16:37 PM UTC-8 asif...@arangodb.com 
>> wrote:
>>
>>> What timezone are you in I am in Pacific, can you find time on my 
>>> calendar?
>>>
>>> --
>>> Asif Kazi
>>> VP of Customer Success
>>>
>>>  
>>> 415 Mission Street FL 37, San Francisco, CA 94104, United States
>>> cell:       +1 925 314 5065 <(925)%20314-5065>
>>> email:     asif...@arangodb.com
>>> website: www.arangodb.com
>>> book a meeting here <https://calendly.com/kaziasif>
>>>
>>> On Wed, Feb 7, 2024 at 10:57 AM Sai <sai40...@gmail.com> wrote:
>>>
>>>> Sure, I am available on Friday. Let me know how we can connect.
>>>>
>>>> Thanks,
>>>> Sai.
>>>>
>>>> On Wed, Feb 7, 2024 at 9:35 AM Asif Kazi <asif...@arangodb.com> wrote:
>>>>
>>>>> Do you have some time on Friday, I can work with you on it
>>>>> --
>>>>> Asif Kazi
>>>>> VP of Customer Success
>>>>>
>>>>>  
>>>>> 415 Mission Street FL 37, San Francisco, CA 94104, United States
>>>>> cell:       +1 925 314 5065 <(925)%20314-5065>
>>>>> email:     asif...@arangodb.com
>>>>> website: www.arangodb.com
>>>>> book a meeting here <https://calendly.com/kaziasif>
>>>>>
>>>>>
>>>>> On Wed, Feb 7, 2024 at 8:05 AM Sai <sai40...@gmail.com> wrote:
>>>>>
>>>>>> I see a cluster with 3 nodes without authentication.
>>>>>>
>>>>>> -
>>>>>> Sai.
>>>>>>
>>>>>> On Wednesday, February 7, 2024 at 5:03:22 AM UTC-8 
>>>>>> asif...@arangodb.com wrote:
>>>>>>
>>>>>>> Do you see a cluster without authentication or 3 separate single 
>>>>>>> severs ?
>>>>>>> --
>>>>>>> Asif Kazi
>>>>>>> VP of Customer Success
>>>>>>>
>>>>>>>  
>>>>>>> 415 Mission Street FL 37, San Francisco, CA 94104, United States
>>>>>>> cell:       +1 925 314 5065 <(925)%20314-5065>
>>>>>>> email:     asif...@arangodb.com
>>>>>>> website: www.arangodb.com
>>>>>>> book a meeting here <https://calendly.com/kaziasif>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Feb 6, 2024 at 9:23 PM Sai <sai40...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Thanks for quick response @asif
>>>>>>>>
>>>>>>>> we are using both docker compose and k8s deployments, k8s is 
>>>>>>>> working as expected.
>>>>>>>> here is the sample docker-compose file to deploy agents
>>>>>>>> agent:
>>>>>>>>     image: arangodb:latest
>>>>>>>>     restart: always
>>>>>>>>     network_mode: host
>>>>>>>>     mem_limit: 1G 
>>>>>>>>     memswap_limit: 1G
>>>>>>>>     environment:
>>>>>>>>       ARANGO_ROOT_PASSWORD: foobar
>>>>>>>>     volumes:
>>>>>>>>       - /data:/var/lib/arangodb3
>>>>>>>>       - /config/agent.conf:/etc/arangodb3/arangod.conf
>>>>>>>>
>>>>>>>> and the conf looks like:
>>>>>>>>
>>>>>>>> [database]
>>>>>>>> directory = /var/lib/arangodb3
>>>>>>>> [server]
>>>>>>>> endpoint = tcp://0.0.0.0:8530
>>>>>>>> storage-engine = auto
>>>>>>>> authentication = true
>>>>>>>> # gather server statistics
>>>>>>>> statistics = true
>>>>>>>> [log]
>>>>>>>> level = info
>>>>>>>> file =  -
>>>>>>>> [agency]
>>>>>>>> activate = true
>>>>>>>> my-address = tcp://100.101.10.10:8530
>>>>>>>> size = 3
>>>>>>>> supervision = true
>>>>>>>>
>>>>>>>>
>>>>>>>> it is a 3 node deployment and agents are up and not joining with 
>>>>>>>> other agents if we specify the authentication, whereas things work as 
>>>>>>>> expected without authentication.
>>>>>>>>
>>>>>>>> Thanks 
>>>>>>>> On Tuesday, February 6, 2024 at 7:04:36 PM UTC-8 
>>>>>>>> asif...@arangodb.com wrote:
>>>>>>>>
>>>>>>>>> Any reason to use docker and not k8s?
>>>>>>>>>
>>>>>>>>> The ARANGO_ROOT_PASSWORD is probably only going to work for a 
>>>>>>>>> standalone server not a cluster.
>>>>>>>>>
>>>>>>>>> If you are setting up a cluster you may have to use the REST API / 
>>>>>>>>> Arangosh to set the password as outlined in the docs
>>>>>>>>>
>>>>>>>>> Can you elaborate on server not coming up, what are the logs 
>>>>>>>>> saying?
>>>>>>>>>
>>>>>>>>> On Tuesday, February 6, 2024 at 11:34:54 AM UTC-8 
>>>>>>>>> sai40...@gmail.com wrote:
>>>>>>>>>
>>>>>>>>>> Hi everyone,
>>>>>>>>>>
>>>>>>>>>> we are trying to bring up an Arango db cluster using docker 
>>>>>>>>>> compose and if i enable authentication using `
>>>>>>>>>> ARANGO_ROOT_PASSWORD`. the server is not coming up.
>>>>>>>>>> I don't find any documentation or sample with authentication 
>>>>>>>>>> enabled for a docker cluster environment.
>>>>>>>>>>
>>>>>>>>>> Can someone please suggest or help me on this.
>>>>>>>>>>
>>>>>>>>> -- 
>>>>>>>> You received this message because you are subscribed to a topic in 
>>>>>>>> the Google Groups "ArangoDB" group.
>>>>>>>> To unsubscribe from this topic, visit 
>>>>>>>> https://groups.google.com/d/topic/arangodb/sBPCP_jTSb0/unsubscribe.
>>>>>>>> To unsubscribe from this group and all its topics, send an email to 
>>>>>>>> arangodb+u...@googlegroups.com.
>>>>>>>> To view this discussion on the web visit 
>>>>>>>> https://groups.google.com/d/msgid/arangodb/1c9d6043-76e0-4986-b971-3ebe8d64d69en%40googlegroups.com
>>>>>>>>  
>>>>>>>> <https://groups.google.com/d/msgid/arangodb/1c9d6043-76e0-4986-b971-3ebe8d64d69en%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>> .
>>>>>>>>
>>>>>>> -- 
>>>>>> You received this message because you are subscribed to a topic in 
>>>>>> the Google Groups "ArangoDB" group.
>>>>>> To unsubscribe from this topic, visit 
>>>>>> https://groups.google.com/d/topic/arangodb/sBPCP_jTSb0/unsubscribe.
>>>>>> To unsubscribe from this group and all its topics, send an email to 
>>>>>> arangodb+u...@googlegroups.com.
>>>>>> To view this discussion on the web visit 
>>>>>> https://groups.google.com/d/msgid/arangodb/1a6bf6ed-fdd3-487c-b88b-8d485dd92b32n%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/arangodb/1a6bf6ed-fdd3-487c-b88b-8d485dd92b32n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>> -- 
>>>>> You received this message because you are subscribed to a topic in the 
>>>>> Google Groups "ArangoDB" group.
>>>>> To unsubscribe from this topic, visit 
>>>>> https://groups.google.com/d/topic/arangodb/sBPCP_jTSb0/unsubscribe.
>>>>> To unsubscribe from this group and all its topics, send an email to 
>>>>> arangodb+u...@googlegroups.com.
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/arangodb/CAKP6rEz4xg6qFjd_y6hBAk%3D-2_CMe2teaAm%3Dr%3DqwxG4JPXe2dA%40mail.gmail.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/arangodb/CAKP6rEz4xg6qFjd_y6hBAk%3D-2_CMe2teaAm%3Dr%3DqwxG4JPXe2dA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> -- 
>>>> You received this message because you are subscribed to a topic in the 
>>>> Google Groups "ArangoDB" group.
>>>> To unsubscribe from this topic, visit 
>>>> https://groups.google.com/d/topic/arangodb/sBPCP_jTSb0/unsubscribe.
>>>> To unsubscribe from this group and all its topics, send an email to 
>>>> arangodb+u...@googlegroups.com.
>>>>
>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/arangodb/CAM3XRfXJDhRGmhp5qo7HbVj3_ZSm%2BMi3kO4kwgPyBV5%3D7OzAWQ%40mail.gmail.com
>>>>  
>>>> <https://groups.google.com/d/msgid/arangodb/CAM3XRfXJDhRGmhp5qo7HbVj3_ZSm%2BMi3kO4kwgPyBV5%3D7OzAWQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "ArangoDB" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/arangodb/sBPCP_jTSb0/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> arangodb+u...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/arangodb/4168298c-6e38-4f39-83ad-04ef3731389an%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/arangodb/4168298c-6e38-4f39-83ad-04ef3731389an%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to arangodb+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/arangodb/45360efa-fc62-4a0f-9677-f133e75fe820n%40googlegroups.com.

Reply via email to