Relationship between various commonly used terms
Cluster refers to the Kubernetes clusters that are created via the Humalect platform. These are managed K8s EKS/AKS clusters provided by cloud providers. Cluster is the starting point and everything that exists in the Humalect world gets created inside clusters.
To know more about cluster, visit Cluster.
environment is a self contained namespace in the Kubernetes cluster that hosts multiple application deployments and datasources.
Every cluster can have multiple environments. Each environment is logically separated from the other.
To know more about environment, visit Environment.
A project is a logical entity in which the user maps two options:
- The cluster on which the application is to be deployed
- The code repository that is to be deployed
To know more about projects, visit Project.Note:- Project is not a physical/infra entity, it is just a logical entity to map the cluster and code repo for application deployments.
Pipeline is a logical entity, one level below the project. After selecting the cluster and the code repository on the project level, pipelines allow to select the environment and the git branch for the application deployment. In a pipeline, user can also enter the subdomain on which the application deployment is to be hosted. All the manifests like Dockerfiles, YAMLs and environment variables can be edited in a pipeline.
To know more about pipelines, visit Pipelines.
Once the pipeline is created, it can be deployed via direct commits on code repositories (if CD is enabled) or manual deployments from the pipelines page UI. A deployment is an instance of a pipeline execution (which takes the code from source code repository, builds it and releases it for the user to consume).
Let us consider an example of a Food Delivery App(FDA) to understand the concepts better.
FDAis a Food Delivery Company which requires to run a cluster on Humalect's console. The cluster will have multiple environments and projects.
- Let's say there are two running environments i.e. test/testing and production.
- There are two running projects present in the cluster i.e. api and fda. These are two different code repositories being deployed on the same cluster.
- Each of these has two pipelines each, one for each environment.
- Each pipeline has multiple deployments as and when new code is committed or whenever a pipeline is deployed manually.
Need help? Contact us