Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 2.14 KB

arch.md

File metadata and controls

33 lines (25 loc) · 2.14 KB

Architecture

CF Networking provides policy-driven container networking for Cloud Foundry.

CF Networking has several components. Some are "core" to the Cloud Foundry platform, others are "swappable" by operators who wish to use a 3rd party network system instead. For more information on integrating a 3rd-party networking solution, see here.

Core components

Batteries included, but swappable

On every Diego cell

  • Silk, provides IP address management and network connectivity to app instances (containers)
    • Uses a VXLAN overlay for sending traffic between cells
    • Every CF app instance gets a unique IP on a shared, flat L3 network
  • VXLAN Policy Agent enforces network policy for network traffic between applications
    • Discovers desired network policies from the Policy Server's Internal API
    • Updates IPTables rules on Diego cell to allow whitelisted ingress traffic
    • Egress traffic is tagged with a unique identifier per source application, using the VXLAN GBP header
    • Optionally limit bandwidth in and out of each container

Plugin layer cake

Here is a summary of the network-related actions that occur when a new container is created.