Giter Club home page Giter Club logo

civo-cluster's Introduction

Civo cluster

A simple Kubernetes cluster deployed in Civo cloud

Requirements

Modules

Versions for all helm charts are configured in the variables.tf file in the root module

cert-manager

Used to provide SSl certificates with letsencrypt. The configured ClusterIssuer (letsencrypt-prod) uses the HTTP01 challenge.

In order to create a certificate for your ingress add the following annotation:

  cert-manager.io/cluster-issuer: letsencrypt-prod

traefik

Traefik takes care of ingresses in the cluster. The current setup will issue a Load Balancer in Civo with extra cost.

porkbun

porkbun is my DNS provider and what I'm doing is redirecting all *.prefix.domain.com to the Load balancer address provided by Civo.

Metrics

The metrics module will deploy kube-prometheus-stack and will set alertmanager to send notifications to Slack.

Logs (Loki+Promtail)

Logging is done via Loki and Promtail. The data source is already added to the grafana deployed by the metrics stack.

Settings

Example settings

grafana:
  password: .....
porkbun:
  api_key: pk1_....
  secret_key: sk1_....
  domain: example.dev
certmanager:
  email: [email protected]
slack:
  api_url: https://hooks.slack.com/services/.../.../...
civo:
  token: ...

In order to create your own cluster, edit the .sops.yaml file and add your key there. Then recreate settings.sops.yaml with the previous format and proceed to apply your changes.

civo-cluster's People

Contributors

jadolg avatar

Watchers

 avatar  avatar

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.