summaryrefslogtreecommitdiffstats
path: root/docs/cia-casablanca-release-notes.rst
blob: 9af575e80ad2d468e8b8de2f93d6fb1d55feced9 (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
Casablanca Progress and Milestones
==================================

The CIA project has met a number of milestones:

| -Contributed code changes to the VNSDK and produced an arm container
  image. -Migrated OOF/HAS project to ONAP Normative image which reduced
  the image size by 70%. -Developed, reviewed and published 8 general
  guidelines for building container images -Developed, reviewed, and
  published 12 container build instructions -Developed, reviewed, and
  published 6 image minimization guidelines to reduce image footprint
  -Developed and coded three tutorials to educate ONAP projects and PTLs
  on how to apply image minimization guidelines. -Defined a generic
  build process for ONAP that will be container images-friendly.
  -Defined a set of platform-agnostic ONAP Normative Base Images that
  will contribute to the minimization of ONAP container images'
  footprint
| -Analyzed 150 Dockerfiles and developed a migration path from the 53
  large base images to 21 smaller, normative, platform-agnostic base
  images. -Performed an assessment of the SO project and identified
  opportunities for improvement.

Container Image Minimization Tutorials
======================================

Source files
------------

-  Tutorial documentation
   https://git.onap.org/oparent/cia/tree/demos/min/README.md
-  Base image guideline
   https://git.onap.org/oparent/cia/tree/demos/min/base-image
-  Command chaining guideline
   https://git.onap.org/oparent/cia/tree/demos/min/cmd-chain
-  Context guideline
   https://git.onap.org/oparent/cia/tree/demos/min/context

Description
-----------

The container build processes used by ONAP projects generates container
images that are larger than they should be. As a result, the
develop-build-test-deploy workflow takes a long time and consumes a lot
of resources.

The ONAP community has identified this delay as one of the main pain
points.

Furthermore, large image size has a detrimental effect on deployability.
In fact,operators consider image minimization as one of the main
priorities.

Usage
-----

The image minimization tutorials introduce a set of guidelines for the
minimization of container images.

Users may choose to simply read through the tutorial or run the
experiments; which is highly recommended.

Each tutorial guides the user through an experiment that demonstrates,
in a tangible manner, the benefits of following each guideline.

The expectation is that, with each experiment, userss will gain insight
into the value of the guideline and the positive impact on reducing
ONAP's footprint.