Nothing Special   »   [go: up one dir, main page]

Skip to content

bcochofel/kubernetes-gitops-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubernetes-gitops-demo

GitOps demo with Flux and Fabrikate

You can use this repo to create your kubernetes cluster.

Prerequisites

You'll need the following binaries on your path:

  • kubernetes cluster
  • helm (v2.x)
  • fab
  • fluxctl

NOTE Currently fabrikate does not support Helm 3. Please use helm 2.16.3 (stable) instead when running fabrikate.

Add subcomponents

To add subcomponents check the fab add help:

fab add --help

e.g., to add prometheus-operator:

fab add prometheus-operator --source https://github.com/helm/charts \
  --path stable/prometheus-operator --type helm --branch master

to create a custom configuration for prometheus-operator in the demo environment:

fab set --environment demo --subcomponent prometheus-operator \
  fullnameOverride="prometheus-k8s"

Install and generate manifests

To install the hem charts and generate the manifests:

fab install
fab generate demo

This will generate the manifests on the folder ./generated/demo/. This will become the folder that flux checks for new/update manifests.

References