Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Deploy Prepackaged Images

Use this procedure to import Cloud-Native Router images to the container runtime from the downloaded Cloud-Native Router software packages.

Your cluster can pull Cloud-Native Router images from the enterprise-hub.juniper.net repository or your cluster can use the Cloud-Native Router images that are included in the downloaded Cloud-Native Router software packages.

This latter option is useful if your cluster doesn't have access to the Internet or if you want to set up your own repository.

Setting up your own repository is beyond the scope of this document, but your cluster can still use the included images if you manually import them to the container runtime on each cluster node where you want to run the downloaded software. Simply use the respective container runtime commands. We show you how to do this in the procedure below.

  1. Locate the gzipped images tar file in the downloaded software package.
    • For regular Cloud-Native Router images, the gzipped images tar file is Juniper_Cloud_Native_Router_<release>/images/jcnr-images.tar.gz.

    • For Cloud-Native Router Service Module images, the gzipped images tar file is Juniper_Cloud_Native_Router_Service_Module_<release>/images/jcnr-images.tar.gz.

    • For Cloud-Native Router Validation Factory images, the gzipped images tar file is JCNR_Validation_Factory_<release>/images/jcnr-valfac-images.tar.gz.

  2. Gunzip the images tar file.
    or
  3. Copy the gunzipped images tar file to every node where you're installing the downloaded software.
  4. SSH to one of the nodes and go to the directory where you copied the gunzipped images tar file.
  5. Import the images to the container runtime.
    For regular Cloud-Native Router images:
    • containerd: sudo ctr -n k8s.io images import jcnr-images.tar

    • docker: sudo docker load -i jcnr-images.tar

    For Cloud-Native Router Service Module images:
    • podman: sudo podman load -i jcnr-images.tar

    For Cloud-Native Router Validation Factory images:
    • containerd: sudo ctr -n k8s.io images import jcnr-valfac-images.tar

    • docker: sudo docker load -i jcnr-valfac-images.tar

  6. Check that the images have been imported.
    • containerd: ctr -n k8s.io images ls

    • docker: docker images

    • podman: podman images

  7. Repeat steps 4 to 6 on each node where you're installing the downloaded software.
When you install Cloud-Native Router later on, the cluster first searches locally for the required images before reaching out to enterprise-hub.juniper.net. Since you manually imported the images locally on each node, the cluster finds the images locally and does not need to download them from an external source.