Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Gliffy Diagram
macroId9d484508-1576-4ce8-83c4-6ced6c1b4290
displayNameASD Artifact Distribution
nameASD Artifact Distribution
pagePin4


Note:

  • The certificate chain must be added so that the worker nodes in the additional (operator) cluster(s) can pull Docker images from the Image Repository/Registry Service.
    • The Worker Nodes in the operator K8S cluster pull Images from the Image Artifact Repository from the ONAP K8S cluster.
    • The access can be done thru the Ingress in the ONAP K8S cluster.

Docker Commands


docker login <REGISTRY_HOST>:<REGISTRY_PORT>

docker tag <IMAGE_ID> <REGISTRY_HOST>:<REGISTRY_PORT>/<APPNAME>:<APPVERSION>

docker push <REGISTRY_HOST>:<REGISTRY_PORT>/<APPNAME>:<APPVERSION>




Image Registry 



The image registry path is parameterized to support deployments using a private registry.

<TBD>


Image Pull Secret

A Docker registry secret is needed for each namespace to access the container registry. The secret is included in the POD definition.



ASD Package Distribution Service

The distribution service distributes ASD application packages to the registries deployed in the ONAP K8S cluster. The process of distribution pushes ASD application-specific Helm charts and Docker images to their respective registries and pushes the ASD to the Catalog Manager Database (ASD repository).

The followings are the steps in the process of onboarding a ASD App CSAR file:

  • receive an uploaded ASD-based CNF / application as a CSAR file
  • Unpack the uploaded CSAR file
  • Retag Docker images with the target Docker registry details
  • Push the retagged images to the target Docker registry
  • Upload the Helm chart of the ASD-based CNF / application to the Helm chart registry that the Distribution service specifies
  • Upload the ASD to the Catalog Manager Database (ASD Repository)





ASD Package/Artifact APIs

  • The Catalog Manager provides the following APIs for its clients:
    • List onboarded ASD App Packages
    • Query a specified ASD App Package
    • Retrieve ASD from the Onboarded ASD App Package
    • Delete an ASD App Package. (for a given asPkgId)
      • When an ASD App Package is deleted, 1) the Helm chart or charts are removed from the Helm chart Repository, 2) the ASD App package entry is removed from the ASD App Repository and 3) the Docker image or images are removed from the Image repository if no other onboarded package references them.


  • The Helm Repository provides APIs for Helm chart query for a given Helm chart id, which is from the ASD DeploymentItems.
  • The Image Repository (e.g., Docker repo) provides APIs for Image query for a given Image name (and Tag)
  • Fetch Artifact from CSAR package