License | Versioning | Build |
---|---|---|
SaltStack Formula for ArangoDB.
Make sure you have Podman v3.0.1
and above installed. Then, continue to the following Subsections below.
Execute:
sudo sysctl -w "vm.max_map_count=1024000"
Create /etc/sysctl.d/vm-max-map-counts.conf
file with the following line:
vm.max_map_count=1024000
arangodb
arangodb.config
arangodb.config.clean
arangodb.selinux
arangodb.selinux.clean
arangodb.podman
arangodb.podman.image
arangodb.podman.image.clean
arangodb.podman.deploy
arangodb.podman.destroy
arangodb.podman.volume.clean
arangodb.podman.clean
arangodb.clean
Meta-state (This is a state that includes other states).
This deploys the ArangoDB podman pod.
This state will configure the arangodb
podman pod deployment.
This state will remove the configuration of the arangodb
podman pod deployment.
This state will load SELinux security policy required by the arangodb
podman pod deployment. Only applicable for RedHat families.
This state will remove SELinux security policy used by the arangodb
podman pod deployment.
This state will deploy the arangodb
podman pod. The arangodb
podman image will be pulled automatically if the image doesn't exists.
This state will pull the arangodb
podman image only.
This state will remove the arangodb
podman image.
This state will destroy and remove the arangodb
podman pod.
This state will remove the arangodb
podman pod's volume.
Meta-state (This is a state that includes other states).
This state will destroy the arangodb
podman pod, remove volume, and remove image.
Meta-state (This is a state that includes other states).
This state will destroy the arangodb
podman pod, remove volume, remove image, and remove configurations for the arangodb
.
After finished applying arangodb
state, test the deployment by connecting to the database:
sudo podman run -it --rm --network=arangodbnet docker.io/arangodb/arangodb:3.7.12 arangosh --server.endpoint tcp://localhost:8529 --server.username root --server.authentication true
Then, try to create a database:
db._createDatabase("myapp");
To access ArangoDB Web UI, go to http://localhost:8529.