Skip to main content

Architecture

For the parts of SD at a high level, see How SD works. This page gives the details.

SD has two kinds of components:

  • Installers create the Kubernetes cluster.
  • Modules install the SD features in the cluster.

furyctl uses the installers in the kubernetes phase, and in the infrastructure phase for the providers that have one. It uses the modules in the distribution phase. See How SD works for the phases.

Installers​

An installer creates a vanilla upstream Kubernetes cluster from a starting point. Each provider that creates the cluster has its own installer:

ProviderInstallerStarting point
EKSClusterEKS installerNothing: the installer creates the network, the VPN and the EKS cluster in AWS.
OnPremisesOn-premises installerExisting VMs or bare-metal machines with a supported Linux distribution.
ImmutableImmutable installerMachines with no operating system: the installer installs Flatcar Container Linux, then Kubernetes.

The KFDDistribution provider uses no installer: it installs the modules on a Kubernetes cluster that you already have.

The installers have the same goals, so that the modules find the same base on all the providers: a private control plane, upgrades of the control plane and of the node pools, and several node pools. See Installers.

Modules​

SD is structured on modules, and each module has a set of packages.

  • A package is a single unit of functionality.
  • A module groups together packages that are functionally related.

Modules and packages are loosely coupled. You don't have to deploy all the distribution modules, and you don't have to deploy all the packages inside a module. So it's up to you to decide which module could be helpful for your scenario and which tool you want to use or use not.

For example, the monitoring module has these packages, and some more:

PackageWhat it doesInstalled when
prometheus-operatorManages Prometheus and the related resources.Any monitoring.type except none
kube-state-metrics, node-exporterCollect metrics from the Kubernetes objects and from the nodes.Any monitoring.type except none
prometheus-operatedThe Prometheus instance that stores the metrics.monitoring.type: prometheus
mimir, minio-haLong-term metrics storage, instead of Prometheus.monitoring.type: mimir
alertmanager-operatedSends the alerts.monitoring.type: prometheus or mimir
grafanaDashboards for the metrics.monitoring.type: prometheus or mimir

The configuration file selects the packages: furyctl installs only the packages that your configuration needs.

There are two types of modules:

  • Core modules: they provide essential functionality for a production-grade cluster.
  • Add-on modules: add-on modules are plugins to provide additional features. For example, we can integrate with Kong and Istio.

All the tools you find on our modules are open source, widely used, easily customizable, and pre-configured with sane defaults.

Packages​

Each module is composed of a set of packages divided into three categories:

  • Kustomize bases
  • Ansible roles
  • Terraform modules

Most modules contain only Kustomize bases. Some modules also contain Terraform modules, for example the AWS module has Terraform modules that create the AWS resources for its packages.

All tools inside the packages are widely used, not proprietary, pre-configured and easily customizable.