Skip to content

A repository containing helm charts intended to be used by flux to deploy Kubernetes manifests.

License

Notifications You must be signed in to change notification settings

deavon-and-tiffany/helm-charts

Repository files navigation

Deployment Manifests for a Kubernetes Cluster (Development)

A reference implementation of a production-like Kubernetes cluster for development environments.

Vitals

Info Badge
License License
Build Build
FOSSA FOSSA Status

Purpose

The general purpose of this repository is to act as a reference implementation of kubernetes infrastructure, application deployment, management, and monitoring via GitOps workflows. All changes beyond the initial initialization of the cluster should be performed via GitOps, which provides end-to-end traceability and is entirely reproducible. A cluster can be destroyed and recreated with minimal intervention and return to a fully usable state.

Some general guidelines:

  • full traceability through GitOps workflows
  • single source of truth for infrastructure and cluster state
  • clusters should be secure by default
  • completely self-service
    • use git workflows for change control management, if desired
  • use Cloud Native Computing Foundation (CNCF) projects where possible

This repository works in combination with the following repositories to meet the aforementioned goals:

Name Purpose Repository
terraform-org infrastructure as code https://github.com/deavon-and-tiffany/terraform-org
helm helm charts https://github.com/deavon-and-tiffany/helm-charts
deployments (this repository) deployment manifests for clusters https://github.com/deavon-and-tiffany/kube-deployments

Systems

This deployment supports the following systems:

Name Purpose Documentation
prometheus (cncf) metrics collection and time series https://www.prometheus.io
fluent-bit (cncf) light weight log processor and forwarder https://fluentbit.io
flux (cncf) gitops operator for kubernetes https://fluxcd.io
grafana metrics visualization https://www.grafana.org
elasticsearch json-based search and analytics (logging) https://www.elastic.co/products/elasticsearch
kibana visualization for elasticsearch (logging) https://www.elastic.co/products/kibana
minio emulation for cloud native object storage https://min.io
istio service mesh and gateway https://istio.io
sealed secrets encrypted secrets via gitops https://github.com/bitnami-labs/sealed-secrets
velero kubernetes backup, migration, and restore https://velero.io

How it Works

Continuous Delivery of Containers:

Deployment Pipeline

  1. Commits are applied to a git repository for an application
  2. Application is built within a ci/cd pipeline that publishes images to an OCI-complaint registry, such as Docker Registry
  3. The updated image is detected by an agent operating in the cluster (flux)
  4. The agent updates the image version within Kubernetes manifests and commits the change to this repository
  5. The agent detects any commits made to this repository and applies any modified manifests
  6. The agent records the current state using a git tag associated with the commit that was applied.

Continuous Delivery of Helm Charts:

GitOps Helm Operator

  1. Helm chart version is updated in a helm repository, such as our example repository
  2. Change is detected by an agent operating in the cluster (helm-operator)
  3. The agent updates the chart version within Kubernetes manifests (HelmRelease) and commits the change to this repository
  4. The agent detects any commits made to this repository and applies any modified manifests

Copyright (c) 2020. Deavon McCaffery and Tiffany Wang See LICENSE for details.

Notice:

Logical diagrams are taken from the fabulous Flux CNCF project. Special thanks goes to the maintainers and contributors.

For a list of all open source dependencies, see NOTICE.

FOSSA Status

About

A repository containing helm charts intended to be used by flux to deploy Kubernetes manifests.

Resources

License

Stars

Watchers

Forks

Packages

No packages published