Skip to content

Commit

Permalink
Add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-pino committed Nov 22, 2023
1 parent 13b07ef commit bf9f1cc
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,30 @@
# multuscni-tests
# Multus CNI Testing Repository

## Introduction

This repository is dedicated to testing and demonstrating the capabilities of the [Multus CNI](https://github.com/k8snetworkplumbingwg/multus-cni) plugin in a Kubernetes environment. Multus CNI is an extended Container Network Interface (CNI) plugin that enables attaching multiple network interfaces to pods in Kubernetes. It acts as a "meta-plugin" that calls other CNI plugins and allows for configuring multiple networking interfaces in a single pod.

## Multus CNI Overview

Multus CNI provides the flexibility of combining different networking solutions, enabling more complex networking topologies and addressing more advanced networking needs in Kubernetes. It supports all reference CNI plugins (like Flannel, DHCP, Macvlan) alongside with several others.

## Repository Structure

This repository contains configurations and YAML definitions for testing different network interfaces using Multus CNI, including:

- **Bridge:** Network configurations for creating a bridge network.
- **Host-Device:** Configurations for directly attaching a host's network device to a pod.
- **Macvlan:** Demonstrations of using the macvlan interface for pod networking.
- **Ipvlan:** Examples of using the ipvlan interface, which is similar to macvlan but with some differences in implementation and use cases.

Additionally, a `clean` directory is included for cleanup scripts and instructions in /clean

## Getting Started

To get started with testing:

1. Clone this repository to your Kubernetes master node.
2. Navigate to the directory of the network type you wish to test (e.g., `cd bridge`).
3. Apply the YAML files using `kubectl apply -f <filename>.yaml`.

Refer to the individual `readme.txt` files in each directory for more detailed instructions or notes about each networking type.

0 comments on commit bf9f1cc

Please sign in to comment.