You can find here our existing & future features covered in CNI-Genie
- Multiple IP addresses can be injected into a single container making the container reachable across multiple networks
- User-story: In a serverless platform the “Request Dispatcher” container that receives requests from customers of all different tenants needs to be able to pass the request to the right tenant. As a result, is should be reachable on the networks of all tenants
- User-story: Many Telecom vendors are adopting container technology. For a router/firewall application to run in a container, it needs to have multiple interfaces
-
Step 1: same as Step 1 in README.md
-
Step 2:
- User inputs his network(s) of choice in pod annotations. For instance, the following yaml configurations can be used to get 2 IP addresses one from Weave and one from Canal:
apiVersion: v1
kind: Pod
metadata:
name: nginx-multiips
labels:
app: web
annotations:
cni: "weave,canal"
spec:
containers:
- name: key-value-store
image: nginx:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 6379
- This Work In-Progress (WIP) is an extension of Feature 2 where IP addresses are not only assigned to the container, but are also injected to the respective Pod object annotations.
- A design document was prepared and shared with Kubernetes SIG Network community.
- Watch the PoC demo to see how it works: