Skip to content

Latest commit

 

History

History
66 lines (48 loc) · 2.07 KB

README.md

File metadata and controls

66 lines (48 loc) · 2.07 KB

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