Code Monkey home page Code Monkey logo

k8s-cluster's Introduction

K8s cluster

This repository defines helm charts to initialise a cluster with the following components:

  • Certificate manager and automatic certificate issuer using Let's Encrypt
  • Nginx ingress controller
  • Prometheus
  • Grafana
  • Registry for docker images
  • Application namespace

Certificate manager and automatic certificate issuer using Let's Encrypt

helm repo add jetstack https://charts.jetstack.io
helm repo update

helm upgrade --install -f cert-manager/values.yaml cert-manager jetstack/cert-manager --create-namespace --namespace cert-manager --wait
helm upgrade --install cert-issuer cert-issuer --create-namespace --namespace cert-manager --wait

Nginx ingress controller

helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm repo update
helm upgrade --install -f ingress-nginx/values.yaml ingress-nginx ingress-nginx/ingress-nginx --create-namespace --namespace ingress-nginx --wait

Prometheus

helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update

helm upgrade --install -f prometheus/values.yaml prometheus prometheus-community/prometheus --create-namespace --namespace monitoring --wait

Grafana

helm repo add grafana https://grafana.github.io/helm-charts
helm repo update

helm upgrade --install -f grafana/values.yaml grafana grafana/grafana --create-namespace --namespace monitoring --wait
helm upgrade --install -f grafana-ingress/values.yaml grafana-ingress grafana-ingress --create-namespace --namespace monitoring --wait

Registry for docker images

helm repo add twuni https://helm.twun.io
helm repo update

helm upgrade --install -f registry/values.yaml registry twuni/docker-registry --create-namespace --namespace registry --wait
helm upgrade --install -f registry-ingress/values.yaml registry-ingress registry-ingress --create-namespace --namespace registry --wait

Application namespace

helm upgrade --install -f apps/values.yaml apps apps --create-namespace --namespace apps --wait

PostgreSQL

helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update

helm upgrade --install -f postgresql/values.yaml postgresql bitnami/postgresql --create-namespace --namespace apps --wait

k8s-cluster's People

Contributors

davidopdebeeck 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.