Uploaded image for project: 'SAFe Program'
  1. SAFe Program
  2. SP-1742

Revamp container images to be smaller/more efficient

Details

    • Feature
    • Should have
    • PI11
    • None
    • Services
    • Hide

      Currently, the OCI container images deployed within the Skampi environment are growing and are suspected of bloat (approx. 1GB and greater in some instances).

      The build and deployment process could benefit from the image build processes being revisited in order to trim the image size and improve the build efficiency.  The flow on effect of this will be an improve in image build time, and faster deployments.

      Show
      Currently, the OCI container images deployed within the Skampi environment are growing and are suspected of bloat (approx. 1GB and greater in some instances). The build and deployment process could benefit from the image build processes being revisited in order to trim the image size and improve the build efficiency.  The flow on effect of this will be an improve in image build time, and faster deployments.
    • Hide
      • Upstream base images for Skampi deployments are evaluated for quality and trim, with optimal selected.  Consistency across projects is applied to maximise layer reuse.
      • Skampi related Dockerfiles are reorganised and streamlined to take advantage of best practices for build performance and size.

       

      Show
      Upstream base images for Skampi deployments are evaluated for quality and trim, with optimal selected.  Consistency across projects is applied to maximise layer reuse. Skampi related Dockerfiles are reorganised and streamlined to take advantage of best practices for build performance and size.  
    • 1
    • 1
    • 8
    • Team_SYSTEM
    • Sprint 5
    • Hide

      The images deployed on Skampi are now improved on both size and building speed although a major improvement in this regard will need a different and substantially more cumbersome approach.

      With the present technology using Dockerfile and Ubuntu/Debian images (and Alpine were possible) the System Team undertook a series of actions:

      • Slightly improve the building speed for the tango images (we realized it was mostly optimized already although an effort was taken in improving its readability).
      • Document image building best practices: https://developer.skao.int/en/latest/tools/containers/container-cheat-sheet.html
      • Use alpine Linux to build a new set of tango images `tango-*-alpine` (those now exist as a parallel to existing images and a strategy must be defined for substituting them in the pipelines and relevant charts while retiring the existing ones).
      Show
      The images deployed on Skampi are now improved on both size and building speed although a major improvement in this regard will need a different and substantially more cumbersome approach. With the present technology using Dockerfile and Ubuntu/Debian images (and Alpine were possible) the System Team undertook a series of actions: Slightly improve the building speed for the tango images (we realized it was mostly optimized already although an effort was taken in improving its readability). Document image building best practices: https://developer.skao.int/en/latest/tools/containers/container-cheat-sheet.html Use alpine Linux to build a new set of tango images `tango-*-alpine` (those now exist as a parallel to existing images and a strategy must be defined for substituting them in the pipelines and relevant charts while retiring the existing ones).
    • 15.5
    • Stories Completed, Integrated, Outcomes Reviewed, Demonstrated, Satisfies Acceptance Criteria, Accepted by FO

    Description

      Revamp container images for Skampi to be smaller/more efficient

      Attachments

        Issue Links

          Structure

            Activity

              People

                m.deegan Deegan, Miles
                v.mohile Mohile, Vivek
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Feature Progress

                  Story Point Burn-up: (100.00%)

                  Feature Estimate: 1.0

                  IssuesStory Points
                  To Do00.0
                  In Progress   00.0
                  Complete610.0
                  Total610.0

                  Dates

                    Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel