Code Monkey home page Code Monkey logo

aigisuk / terraform-digitalocean-ha-k3s Goto Github PK

View Code? Open in Web Editor NEW
36.0 2.0 15.0 537 KB

High Availability K3s Cluster deployed on DigitalOcean (Load Balanced API Server and external Postgres/MySQL Datastore)

Home Page: https://registry.terraform.io/modules/aigisuk/ha-k3s/digitalocean/latest

License: MIT License

HCL 77.90% Shell 22.10%
kubernetes k3s terraform terraform-module digitalocean k3s-cluster cluster-database-engine leverage-digitalocean k3s-illustration k3s-architecture

terraform-digitalocean-ha-k3s's People

Contributors

colinwilson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

terraform-digitalocean-ha-k3s's Issues

Add variable for specifying database engine version (Pg v11 is not available anymore)

First, I would like to thank you for this project. I just want to raise an issue regarding the version of the DB cluster, currently in database.tf :

resource "digitalocean_database_cluster" "k3s" {
  name                 = "k3s-ext-datastore"
  engine               = var.database_engine == "postgres" ? "pg" : "mysql"
  version              = var.database_engine == "postgres" ? "11" : "8"
  size                 = var.database_size
  region               = var.region
  private_network_uuid = digitalocean_vpc.k3s_vpc.id
  node_count           = var.database_node_count
}

In this case if the database is PostgreSQL, the version used is 11, while as of now, the latest version in Digital Ocean is 16, with the oldest one being 12 so this is an issue and force users to go with MySQL v8. Would be nice to add a variable for this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.