ovh / terraform-ovh-publiccloud-docker-swarm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Swarm Cluster OVH Public Cloud Module

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.

Important Note

This setup is suitable for temporary or development docker swarm clusters. It is not suitable for production clusters.

Usage

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"
  }
}

Content

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.

Examples

How do I contribute to this Module?

Contributions are very welcome! Check out the Contribution Guidelines for instructions.

Authors

Module managed by Yann Degat.

License

The 3-Clause BSD License. See LICENSE for full details.

About

License:Other


Languages

Language:HCL 100.0%