summaryrefslogtreecommitdiffstats
path: root/docs/release/userguide/Fraser-userguide.rst
blob: 243c4e1dbdd00e2c58bc8801a9626f5d5b6a8c9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0
.. SPDX-License-Identifier CC-BY-4.0
.. (c) optionally add copywriters name


================================================================
Clover User Guide (Fraser Release)
================================================================

This document provides the user guide for Fraser release of Clover.

.. contents::
   :depth: 3
   :local:


Description
===========

Project Clover was established to investigate best practice to implement,
build, deploy, and operate virtual network functions as cloud native
applications. "Cloud native" has a ever evolving and expanding definition,
and in Clover, the focus is effectively running and operating VNFs built
in a micro-service design pattern running on Docker containers and
orchestrated by Kubernetes.

The strength of cloud native applications is their operablity and
scalability. Essential to achieve these qualities is the use of service
mesh. As such, in Fraser release, Clover's emphasis is on demonstrating
running a sample micro-service composed VNF on Istio, the service mesh
platform of Clover's choice in Fraser, and how to maximize visibility
of this sample running in a service mesh.

What is in Fraser?
==================

 * a sample micro-service composed VNF

 * logging module: fluentd and elasticsearch Kubernetes manifests,
   installation validation, log data correlation in datastore

 * tracing module: jaeger Kubernetes manifest, installation validation,
   jaegar tracing query tools, trace data correlation in datastore

 * monitoring module: prometheus Kubernetes manifest, installation
   validation, prometheous query tools for Istio related metrics,
   metrics correlation in datastore

 * Istio route-rules and circuit breaking sample yaml and validation
   tools

 * Test scripts

 * Reference for a demo shown during ONS

Usage
=====

 * each modules (service mesh, logging, tracing, monitoring) are Python
   modules with their own set of library calls / API exposed. The descriptions
   of these library calls are under doc/developer (TBD)

 * tools directory contains Python tools for generic use
   python clover_validate_route_rules.py -s <service name> -n <number of tests>
   [more TBD]

 * an example scenario:
   - version 2 (v2) of a micro-service component is deployed
   - Istio route rule is applied to send 50% traffic to v2
   - Clover tool validates traffic conformance with route rules
   - user specify via yaml the "success" expectation of v2 (latency,
     performance, session loss...etc)
   - Clover tool validates sessions conformance with user defined expectations
   - The "commit" action is invoked to move 100% traffic to v2
   - Clover tool validates traffic conformance with route rules
   - A fault is injected for the path to the extra service of v2 which adds
     a one second delay onto the path
   - The same A-B testing script is invoked, this time, performance
     test now fails
   - The "rollback" action is invoked to move 100% traffic back to v1