Giter VIP home page Giter VIP logo

clusters-flux's Introduction

clusters-flux

This repo contains Flux config for a collection of clusters.

All clusters deploy a component bundle defined in a separate repo

Usage

Dependencies: Kubernetes cluster, kubectl client, Flux CLI, Taskfile

I recommend using a local Kubernetes cluster. Any should do, but I'm using k3d to manage multiple local clusters.

You can install the Taskfile CLI using brew install go-task. Alternatively, you can view the root Taskfile.yaml and run the commands directly.

First, install Flux:

$ task install

Then, apply the Flux config for a specific cluster. This will sync the bundle repo with the cluster and apply the bundle to the cluster.

$ task camel:apply

There are other useful tasks to run, like deleting the Flux config or uninstalling Flux. To see all available commands, run: task --list-all

Clusters

alpaca

Uses Kustomization to deploy bundle

Layers:

  1. Kustomization "flux-system", source: clusters-flux.git
  2. Kustomization "components", sources: clusters-flux.git, cluster-components-flux-kustomize.git

badger

Similar to alpaca but with a single layer

Layers:

  1. Kustomization "components", sources: clusters-flux.git, cluster-components-flux-kustomize.git

camel

Uses HelmRelease to deploy bundle

Layers:

  1. Kustomization "flux-system", source: clusters-flux.git
  2. HelmRelease "components", source: cluster-components-flux-helm.git

dingo

Similar to camel but with a single layer

Layers:

  1. HelmRelease "components", source: cluster-components-flux-helm.git

Cluster Components Bundle

Cluster components are defined in a separate bundle repo. The bundle is synced to each cluster.

clusters-flux's People

Watchers

 avatar

Forkers

rajdwi sundarok

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.