Skip to content

bewiwi/terraform-ovh-publiccloud-k8s

Repository files navigation

Kubernetes OVH Public Cloud Module

This repo contains a Module for how to deploy a Kubernetes cluster on OVH Public Cloud using Terraform. Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications.

Usage

module "k8s" {
  source                    = "ovh/publiccloud-k8s/ovh"
  region                    = "BHS3"
  name                      = "myk8s"
  count                     = 3
  master_mode               = true
  cfssl                     = true
  etcd                      = true
  image_name                = "CoreOS Stable K8S"
  flavor_name               = "b2-7"
  ignition_mode             = true
  associate_public_ipv4     = true
  associate_private_ipv4    = false
}

Examples

This module has the following folder structure:

  • root: This folder shows an example of Terraform code which deploys a K8s cluster in OVH Public Cloud.
  • modules: This folder contains the reusable code for this Module, broken down into one or more modules.
  • examples: This folder contains examples of how to use the modules.

To deploy K8s servers using this Module:

  1. (Optional) Create a K8s Glance Image using a Packer template that references the install-k8s module. Here is an example Packer template.

  2. Deploy that Image using the Terraform k8s-cluster example. If you prebuilt a k8s glance image with packer, you can comment the post provisionning modules arguments.

How do I contribute to this Module?

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

Authors

Module managed by

License

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published