Uploaded image for project: 'ONAP Operations Manager'
  1. ONAP Operations Manager
  2. OOM-328

Preload docker images to allow 7 min startup

XMLWordPrintable

    • OOM Sprint 5, OOM Sprint 7, OOM Sprint 9 - Beijing freeze

      OOM-432, OOM-328 and OOM-438 can all be done together

      There may be a couple groups working on this shell script that will parse out all the docker image versions in the yamls and preload the docker repo cache (As nexus3 at ONAP is throttled)

      Watch what is done for the repos and manifest alignment in

      https://git.onap.org/integration/tree/version-manifest/src/main/resources/docker-manifest.csv

      https://jira.onap.org/browse/OOM-438

      https://jira.onap.org/browse/OOM-432 

      Putting this bug out there to track the work - partially for consumption of external integrators

      This will allow ONAP to start in 3-7 min - Script was from Mike E. - I may add dynamic parsing of the values.yaml files on the weekend

      prepull_docker.sh
      curl https://jira.onap.org/secure/attachment/10501/prepull_docker.sh > prepull_docker.sh
      chmod 777 prepull_docker.sh
      nohup ./prepull_docker.sh > prepull.log &
       

      documentation on using it

      https://wiki.onap.org/display/DW/ONAP+on+Kubernetes#ONAPonKubernetes-QuickstartInstallation 

      for example get the versions from
      /oom/kubernetes/aai/values.yaml
      aaiResourcesImage:
      aaiREsourcesVersion:
      
      We will need to parse out these image:version tags for all */values.yaml files across the components
      and login
      docker login -u docker -p docker nexus3.onap.org:10001

            mayankg2703 mayankg2703
            michaelobrien michaelobrien
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: