Skip to content

Azure/fleet-networking

Folders and files

NameName
Last commit message
Last commit date
Apr 17, 2025
Sep 6, 2023
Apr 23, 2025
Nov 20, 2024
Feb 18, 2025
Apr 23, 2025
Apr 7, 2025
Apr 8, 2025
Mar 19, 2025
Aug 8, 2024
Jun 14, 2022
Apr 23, 2025
Apr 23, 2025
Aug 31, 2022
Mar 18, 2025
Jun 29, 2021
Aug 19, 2022
Jun 29, 2021
Mar 18, 2025
Sep 8, 2022
Jun 21, 2022
Oct 8, 2024
Jun 29, 2021
Aug 19, 2022
Apr 18, 2025
Apr 17, 2025

Repository files navigation

Fleet-networking

CI Go Report Card Releases GitHub go.mod Go version

Fleet-networking provides following capabilities

  • expose a Kubernetes service from a single cluster
  • create a multi-cluster service that exposes endpoints from a number of Kubernetes clusters

Architecture

Architecture

The fleet networking consists of the following components:

  • hub-net-controller-manager running in the hub cluster
  • mcs-controller-manager running in the member clusters
  • member-net-controller-manager running in the member clusters

The Controller Manager runs the various controllers built up on controller-runtime by watching fleet networking resources.

Constraints

  • Assuming member clusters are Kubernetes clusters on the same virtual networking,
    • Clusters on virtual network peers (virtual networks connected within same region)
    • Clusters on global virtual network peers (virtual networks connected across regions).
    • Non-overlapping pod CIDRs for all the above.
  • Each member cluster could talk with hub cluster.

Concepts

Fleet: A multi cluster solution that users use to manage Kubernetes clusters.

Hub cluster: An Kubernetes cluster that hosts the control plane of the fleet.

Member cluster: A Kubernetes cluster that is part of the fleet.

Fleet-system Namespace: A reserved namespace in all clusters for running Fleet networking controllers and putting internal resources.

Reserved member cluster namespace in the hub cluster: A reserved namespace in the hub cluster where a member cluster can access to communicate with the hub cluster.

Quick Start

This document features a tutorial that explains how to set up and make use of the networking capabilities provided by Fleet.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.