Developer guide
Kubernetes design
Integrating microservices via Kuberentes.
Overview
Codr is designed to be deployed in a Kubernetes (K8s) cluster.
Purpose
Container orchestration
DNS
A part of the cluster is the K8s DNS service. Codr relies on the DNS server to provide internal name resolution to identify the desired load-balancer/service. It is assumed that the Kubernetes cluster is configured with the default settings, such that the DNS resolution follows: {service-name}.{namespace}.svc.cluster.local
. For the purposes of Codr, the name resolution shall follow this naming pattern: {entity}.{environment}.svc.cluster.local
.
Examples
- user.prod.svc.cluster.local
- organization.prod.svc.cluster.local
- authorization.prod.svc.cluster.local
- project.prod.svc.cluster.local
- etc.