Networking
As Nomad Enterprise is a workload orchestrator, it focuses on the scheduling aspects of a deployment, touching areas such as networking little. Make a choice of networking mode based on infrastructure requirements and organizational policies. Regardless of the chosen networking mode, it is crucial to ensure that all necessary networking configurations are present and available before deploying jobs. If there is a mistake in the networking configuration, when attempting to deploy jobs, errors are likely.
Considerations
- For self-service models, it is ideal for application owners to have templated job definitions by Nomad Enterprise operators with the correct networking mode and port mappings.
- Coordinate with your network engineers regarding any necessary security groups or firewall configurations to ensure proper network access for your workloads.
- Consider your port mapping strategy. Use dynamic port allocation to avoid conflicts in shared environments.
- Familiarize yourself with the network plugins available in your Nomad Enterprise cluster. Different plugins may offer features like network policy enforcement or advanced routing capabilities.
- If using Docker or Podman drivers, leverage their native networking capabilities, including custom overlay networks for multi-host communication.
- The Container Network Interface (CNI) plugin allows for more advanced networking configurations and is useful in multi-node clusters. It enables the use of various network plugins for different networking requirements.
- For more information on networking in Nomad, refer to the Nomad networking(opens in new tab) documentation.