Note:  Also see architecture/design notes within the source code under docs

Table of Contents



Concepts and Terminology

NDS Labs System  - Roles and Responsibilities

NDS Labs Architecture

NDS Labs extends the Kubernetes base system with NDS-specific services and REST API's that support NDS Labs cluster services, project services, inter-cluster NDS Labs services. The implementations of NDS Labs services are implemented via cluster-specific Kubernetes pods and sidekick containers that are deployed in conjunction with service pods in the cluster and in project-specific services that "extend" cluster-specific and project-specific pods with integration to services such a monitoring, volume management, etc.

High Level Global Architecture

The NDS Labs system is comprised of NDS Labs cloud services that run on clusters at various sites.   Clusters provide the resources to one or more projects comprised of a related set of cloud-based services targeted to a specific community or application.   In a service-oriented model the site is equivalent to an IaaS provider, the cluster is equivalent to a PaaS provider, and  a project is equivalent to a uniquely configured and deployed platform on the PaaS system.  Specific NDS Labs services are implemented within each layer that assist with convenient deployment and operation of the PaaS and platform layers.   Global distributed data services such as search across all NDS Labs sites and  projects will be provided in the Inter-cluster system (ICS) that will provide infrastructure building blocks for implementing wide area cross-cluster services.

Single Cluster Architecture Diagrams

Layer 0 - Single Cluster Infrastructure

The NDS Labs reference infrastructure is OpenStack.  A cluster begins with a cluster of 6 OpenStack VMs.  The cluster admin can add additional compute nodes as-needed based on dynamic demand.

      

Layer 1 - Kubernetes Container and Service Orchestration Layer

The initial 6-VM system is provisioned as a CoreOS cluster with 3 serving as etcd masters (not shown for simplicity), and 3 serving as the initial Kubernetes infrastructure, with the following architecture.  additional compute resources can be added to the kubernetes cluster as demand requires.

Layer 2 - Single-Cluster Detail - NDS Labs Services and APIs

The NDS Labs architecture layer services on top of kubernetes that implement the NDS Labs services to manage and monitor the cluster, provision and manage resources for projects in the cluster, and provide project managers the ability to manage software service stacks within their project.  The NDS Labs services leverage the facilities of the underlying kubernetes cluster orchestration system and the etcd system for managing configuration and state information of the services.  

API/Service Catalog

Service

APIs

UsedBy

 

 Service/Component/Role Matrix with Descriptions

Stage of Development Color Key:CompletedIn DevelopmentIn DesignFuture

Service
Description

Component
Description

Planning Notes

Role/Use

Infrastructure AdminCluster AdminProject AdminTool DeveloperSystem Service

Developers Environment
and Tooling (DEVENV)

https://github.com/nds-org/ndslabs-developer-shell


https://github.com/nds-org/ndslabs-system-shell

Kubernetes Devenv
Host-node network IPaddrs
  • NDSC5 - Planned for managed small-scale release to handful of early adopters 
NANATest project deployTest toolsNA
 Kubernetes Devenv w/ External firewall IPaddrs
  • Needs tests/design
  • etcd/connfd/nginx 
NANATest project with
proper public interface 
Develop to proper
external interface 
NA
Container build support
Makefiles 
  • Needs: docs, instructions, catalog yml support, publish process integration 
NANANA NA

OpenStack
Platform Interface

Production Cluster Deploy 
  • Infrastructure provision done
  • Needs production config: TLS, security, data persistence
 
Deploy Cluster InfrastructureNANANANA
 Volume Interface Service
  • Needed for OpenStack deploy
Provide vol resourcesAllocate vol resources
to projects 
Implicit use of
auto-named vols 
NARegister/track resources

Catalog, Configure, Deploy (CCD)
 https://github.com/nds-org/ndslabs

Service catalog Admin Interface (CATADM)
Register catalog URLs in etcd 

  • NDSC5 demo component 
NAAdmin Catalogs -
register catalog URLS 
NAPublish service
Needs service format 
 
 Update local service catalog
from configured catalogs (CATSVC)
  • NDSC5 demo component
NANANANAPull catalogs
maintain in etcd 
 Project Deploy CLI
Deploy service stacks in project 
  • NDSC5 demo
NANADeploy named service
stacks in project 
NAUses kubernetes API
 Project Deploy GUI/Server
Web deploy tool on CLI  (CCDSRV)
  • NDSC5 demo
  • Needs volume management CLI 
NANAWeb configurator
and deploy 
Use to test newly
developed tools 
NA
 Project Service Monitor (PMON)
  • NDSC5 demo
  • Display state of stacks in project 
NANACCD guiNANA
Cluster Administator/Ops (CADM)Cluster Monitor (CMON)
  • NDSC5 demo component
  • ELK, cadvisor/prometheus, etc.
  • Graphical tools
  • Needs configuration and testing 
NAMonitor cluster health
and performance 
NANANA
Inter-Cluster Services  (ICS)Search
  • Search across all NDSL clusters
  • Needs research, requirements, plan 
NARegistrationRegister data resourcesrelevant for developing
search interfaces/tools 
External interface to cluster
Distributed global service 
 Registration
Cluster registration/federation
Needs developmentNAGlobal registrationProject resource registration??Local and global distributed service

 

...