This repo contains a Module for how to deploy an Docker Swarm cluster on OVH Public Cloud using Terraform. Docker Swarm is native clustering for Docker. It turns a pool of Docker hosts into a single, virtual host.
This setup is suitable for temporary or development docker swarm clusters. It is not suitable for production clusters.
module "public_cluster" {
source = "ovh/publiccloud-docker-swarm/ovh"
name = "mypublicswarm"
region = "DE1"
count = 3
subnet_ids = ["..."]
ssh_public_keys = ["ssh-rsa ..."]
public_facing = true
metadata = {
Terraform = "true"
Environment = "Docker Swarm Terraform Test"
}
}
This Module has the following folder structure:
- root: This folder shows an example of Terraform code which deploys a Docker Swarm cluster in OVH Public Cloud.
- examples: This folder contains examples of how to use the modules.
Contributions are very welcome! Check out the Contribution Guidelines for instructions.
Module managed by Yann Degat.
The 3-Clause BSD License. See LICENSE for full details.