Skip to content

dannylongeuay/cluster-management

Repository files navigation

Cluster Configs

This repo contains configurations for Kubernetes clusters.

NDSquared Cluster

Applications:

Architecture

The following is a brief diagram of the application components:

flowchart TB
  subgraph Kubernetes Cluster
    subgraph Portfolio
      Frontend1[Javascript Frontend]-->PyAPI[Python Backend]
      PyAPI<-->Redis
      Frontend1-->GoAPI[Golang Backend]
    end
    subgraph Wedding Gallery
      Frontend2[Javascript Frontend]
    end
  end
Loading

Local Development

Local development leverages K3D to create a local Kubernetes cluster.

Kubectl and FluxCLI are used to bootstrap the cluster.

The built-in Traefik ingress controller is used to proxy the application endpoints.

URL endpoints:

Requirements

Usage

Run make create to create the local Kubernetes cluster and bootstrap Flux.

Make Targets

help                           View help information
asdf-bootstrap                 Install all tools through asdf-vm
flux-bootstrap                 Install flux and bootstrap local overlay
bootstrap                      Perform all bootstrapping required for local development
create                         Create local development environment
clean                          Destroy local development environment
create-gitlab-secret           Create a gitlab secret to be used with the external secrets store
apply-gitlab-secret            Apply a gitlab secret to be used with the external secrets store

About

Manage personal clusters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages