Background
Design Overview
API
RESTful North API (with examples)
Logical Cloud CRUD
Interface API to Controllers (with examples)
Resource Controllers (Such as namespace, K8S users, Generic-ISTIO, ISTIO-CA-Cert etc..) interface
Namespace controller
User controller
Generic-ISTIO controller
OAuth-config controller
ISTIO-CA-Cert controller
Internal Design details
Guidelines that need to kept in mind
- Support for metrics that can be retrieved by Prometheus
- Support for Jaeger distributed tracing by including opentracing libraries around HTTP calls.
- Support for logging that is understood by fluentd
- Mutual exclusion of database operations (keeping internal modules accessing database records simultaneously and also by replication entities of the scheduler micro-service).
- Resilience - ensure that the information returned by controllers is not lost as the synchronization of resources to remote edge clouds can take hours or even days when the edge is not up and running and possibility of restart of scheduler micro service in the meantime.
- Concurrency - Support multiple operations at a time and even synchronizing resources in various edge clouds in parallel.
- Performance - Avoiding file system operations as much as possible.
Modules (Description, internal structures etc..)
....