cSRX Deployment in Kubernetes
cSRX Installation on Kubernetes Linux Server
Prerequisites
Following are the prerequisites required for installing cSRX on one primary node and ’n’ number of worker nodes. Before you begin the installation:
Install kubeadm tool on both primary and worker nodes to create a cluster. See Install Kubeadm
Install and configure Docker on Linux host platform to implement the Linux container environment, see Install Docker for installation instructions on the supported Linux host operating systems.
Verify the system requirement specifications for the Linux server to deploy the cSRX, see Requirements for Deploying cSRX on Kubernetes.
Download cSRX software, see Downloading cSRX Software.
Deploying cSRX Pod
You can create cSRX as a Pod in routing mode and secure-wire mode to send traffic from one virtual machine to another virtual machine. You can define multiple virtual networks and connect cSRX interfaces to those virtual networks.
The network attachment definition is created with plugin ipam
type as host-local
which
allocates IPv4 and IPv6 addresses out of a specified address range
to ensure the uniqueness of IP addresses on a single host. The ipam
type as static
assigns
IPv4 and IPv6 addresses statically to container.
To deploy cSRX with Kubernetes:
![Deploying cSRX](../../images/g301151.png)
cSRX Image Upgrade Using Deployment Rollout
You can upgrade the cSRX software image using Kubernetes Deployment rollout.
cSRX Image Rollback
The cSRX image can be rolled back to previous version using Kubernetes Deployment rollout components.
Scaling cSRX Deployment
To scale the cSRX deployment: