ON THIS PAGE
Working Samples for JCNR Helm Chart
SUMMARY This topic lists the working samples for the JCNR helm chart (values.yaml) for L2, L3, and L2-L3 deployment modes.
L2 Only
A working L2 only helm chart sample is shown below:
global: registry: enterprise-hub.juniper.net/ common: vrouter: repository: atom-docker/cn2/bazel-build/dev/ tag: R23.2-154 crpd: repository: junos-docker-local/warthog/ tag: 23.2R1.14 jcnrcni: repository: junos-docker-local/warthog/ tag: 23.2-20230628-8cf4350 fabricInterface: - bond0: interface_mode: trunk vlan-id-list: [1110-1141] - ens2f2v0: interface_mode: trunk vlan-id-list: [1110-1141] - ens2f3v0: interface_mode: trunk vlan-id-list: [1110-1141] - ens1f0v0: interface_mode: trunk vlan-id-list: [1110-1141] fabricWorkloadInterface: - ens1f1v0: interface_mode: access vlan-id-list: [1110] log_level: "INFO" log_path: "/var/log/jcnr/" syslog_notifications: "/var/log/jcnr/jcnr_notifications.json" jcnr-vrouter: restoreInterfaces: false bondInterfaceConfigs: - name: "bond0" mode: 1 # ACTIVE_BACKUP MODE slaveInterfaces: - "ens2f0v0" - "ens2f1v0" mtu: "9000" cpu_core_mask: "2,3,22,23" stormControlProfiles: rate_limit_pf1: bandwidth: level: 0 ddp: "auto" qosEnable: false corePattern: "/var/crash/core-%e.%p.%h.%t" coreFilePath: /var/crash vrouter_dpdk_uio_driver: "vfio-pci"
L3 Only
A working L3 only helm chart sample is shown below:
global: registry: enterprise-hub.juniper.net/ common: vrouter: repository: atom-docker/cn2/bazel-build/dev/ tag: R23.2-156 crpd: repository: junos-docker-local/warthog/ tag: 23.2R1.14 jcnrcni: repository: junos-docker-local/warthog/ tag: 23.2-20230628-8cf4350 fabricInterface: - bond34: ddp: "auto" - ens2f2: ddp: "auto" - ens1f1: ddp: "auto" log_level: "INFO" log_path: "/var/log/jcnr/" syslog_notifications: "/var/log/jcnr/jcnr_notifications.json" jcnr-vrouter: restoreInterfaces: false mtu: "9000" cpu_core_mask: "2,3,22,23" stormControlProfiles: rate_limit_pf1: bandwidth: level: 0 ddp: "auto" qosEnable: false corePattern: "/var/crash/core-%e.%p.%h.%t" coreFilePath: /var/crash vrouter_dpdk_uio_driver: "vfio-pci"
L2-L3
A working L2-L3 helm chart sample is shown below:
global: registry: enterprise-hub.juniper.net/ common: vrouter: repository: atom-docker/cn2/bazel-build/dev/ tag: R23.2-154 crpd: repository: junos-docker-local/warthog/ tag: 23.2R1.14 jcnrcni: repository: junos-docker-local/warthog/ tag: 23.2-20230628-8cf4350 fabricInterface: - bond0: interface_mode: trunk vlan-id-list: [1110-1141] storm-control-profile: rate_limit_pf1 ddp: "auto" - ens2f0v1: ddp: "auto" - enp179s0f1v0: interface_mode: trunk vlan-id-list: [1110-1141] ddp: "auto" - enp179s0f1v1: ddp: "auto" log_level: "INFO" log_path: "/var/log/jcnr/" syslog_notifications: "/var/log/jcnr/jcnr_notifications.json" jcnr-vrouter: restoreInterfaces: false bondInterfaceConfigs: - name: "bond0" mode: 1 # ACTIVE_BACKUP MODE slaveInterfaces: - "ens2f0v0" - "ens2f1v0" mtu: "9000" cpu_core_mask: "2,3,22,23" stormControlProfiles: rate_limit_pf1: bandwidth: level: 0 ddp: "auto" qosEnable: false corePattern: "/var/crash/core-%e.%p.%h.%t" coreFilePath: /var/crash vrouter_dpdk_uio_driver: "vfio-pci"
Amazon EKS L3
A working Amazon EKS L3 helm chart sample is shown below:
global: registry: enterprise-hub.juniper.net/ repository: jcnr/ common: vrouter: repository: atom-docker/cn2/bazel-build/dev/ tag: R23.2-139 crpd: repository: junos-docker-local/warthog/ tag: 23.2R1.14 jcnrcni: repository: junos-docker-local/warthog/ tag: master-20230625-7c292ad replicas: "7" storageClass: gp2 fabricInterface: - subnet: 10.0.3.0/24 gateway: 10.0.3.1 - subnet: 10.0.5.0/24 gateway: 10.0.5.1 - subnet: 10.0.7.0/24 gateway: 10.0.7.1 - subnet: 10.0.8.0/24 gateway: 10.0.8.1 - subnet: 10.0.4.0/24 gateway: 10.0.4.1 - subnet: 10.0.10.0/24 gateway: 10.0.10.1 - subnet: 10.0.6.0/24 gateway: 10.0.6.1 log_level: "INFO" log_path: "/var/log/jcnr/" syslog_notifications: "/var/log/jcnr/jcnr_notifications.json" nodeAffinity: - key: key1 operator: In values: - jcnr jcnr-vrouter: restoreInterfaces: false mtu: "9000" cpu_core_mask: "2,3" stormControlProfiles: rate_limit_pf1: bandwidth: level: 0 ddp: "auto" qosEnable: false corePattern: "" coreFilePath: /var/crash vrouter_dpdk_uio_driver: "vfio-pci"
Note:
For Amazon EKS, you need to additionally update the
dpdkCommandAdditionalArgs
key in the
helmchart/charts/jcnr-vrouter/values.yaml file and set
tx
and rx
descriptors to 256. For example:
dpdkCommandAdditionalArgs: "--yield_option 0 --dpdk_txd_sz 256 --dpdk_rxd_sz 256"