Install Juniper Cloud-Native Router
SUMMARY The Juniper Cloud-Native Router (cloud-native router) uses the the JCNR-Controller (cRPD-based control plane) and JCNR-CNI to provide control plane capabilities and a container network interface. Juniper Cloud-Native Router uses the DPDK-enabled vRouter to provide high-performance data plane capabilities and Syslog-NG to provide notification functions. This section explains how you can install these components of the Cloud-Native Router.
The JCNR-Controller (cRPD) is an initialization container that provides control plane functionality for the cloud-native router. The control plane is responsible for provisioning of the workload and fabric interfaces used in Juniper Cloud-Native Router. It also manages communication with the vRouter-agent and the vRouter itself over a gRPC connection.
The JCNR-CNI is the container network interface that Juniper Cloud-Native Router uses to communicate with physical interfaces on the server and pod and container network interfaces within the installation.
The Juniper Cloud-Native Router Virtual Router (vRouter) is a container application set that provides advanced forwarding plane functionality. It extends the network from the physical routers and switches into a virtual overlay network hosted in the virtualized servers. The Data Plane Development Kit (DPDK) enables the vRouter to process more packets per second than is possible when the vRouter runs as a kernel module.
The Syslog-NG is a container application that allows Juniper Cloud-Native Router to provide notifications to users about events that occur in the cloud-native router deployment.
Install Juniper Cloud-Native Router Using Helm Chart
Read this section to learn the steps required to load the cloud-native router image components into docker and install the cloud-native router components using Helm charts.
In the installation sections of this guide, we do not, generally, specify version information when referring to file and directory names. When we do specify the version number in a file or directory name, we are referring to the current (latest) release.
It is not recommended to deploy Juniper Cloud-Native Router version 23.1 if Kubernetes cpumanager is enabled in your Kubernetes cluster.
As mentioned in the System Resource Requirements, the Helm package manager for Kubernetes must be installed prior to installing Juniper Cloud-Native Router components.
We do not provide a specific path into which you must download the package and install the software. Because, of this you can copy the commands shown throughout this document and paste them into the CLI of your server.
The high-level overview of Juniper Cloud-Native Router installation is:
-
Change directory to Juniper_Cloud_Native_Router_<release number>
-
Enter the root password for your host server and your Juniper Cloud-Native Router
-
Apply the secrets/jcnr-secrets.yaml to the Kubernetes system
Note:Juniper Cloud-Native Router can be deployed either in L2 or L3 mode. Perform only one of step 8 or step 9 depending on whether you want to deploy in L2 or L3 mode.
- Edit values.yaml to suit the needs of your installation for L2 mode.
-
Edit values_L3.yaml to suit the needs of your installation for L3 mode.
- Install the Juniper Cloud-Native Router
Each high-level procedure listed above is detailed below,