egressgw

package module
v0.0.0-...-d8950e2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

README

egress-gw-cni-plugin

egress-gw-cni-plugin is a Pod based egress gw implementation that is extracted from coil, assuming to be setup in conjunction with Cilium CNI using the CNI chain. This egress gw feature leverages the Cilium multi-pool IPAM.

How to run

$ make setup
$ make certs
$ make image
$ cd e2e
$ make start
$ make install-cilium
$ make install-egress-gw
$ make test

$ kubectl -n internet get po -o wide
NAME                      READY   STATUS    RESTARTS   AGE   IP            NODE                      NOMINATED NODE   READINESS GATES
egress-6684b6fb7f-f4w4d   1/1     Running   0          58s   10.20.0.214   egress-gw-control-plane   <none>           <none>
egress-6684b6fb7f-pk8jm   1/1     Running   0          58s   10.20.0.141   egress-gw-control-plane   <none>           <none>

$ kubectl get po -o wide
NAME         READY   STATUS    RESTARTS   AGE   IP           NODE               NOMINATED NODE   READINESS GATES
nat-client   1/1     Running   0          61s   10.10.0.12   egress-gw-worker   <none>           <none>

# nat-client -> egress-6684b6fb7f-f4w4d (SNAT) -> echo-server
$ kubectl exec nat-client -- curl -sf http://9.9.9.9/source
source: 10.20.0.214:50416

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Version

func Version() string

Version returns the semantic versioning string of egress-gw-cni-plugin.

Types

This section is empty.

Directories

Path Synopsis
api
v1beta1
Package v1beta1 contains API Schema definitions for the egress.ysksuzuki.com v1beta1 API group +kubebuilder:object:generate=true +groupName=egress.ysksuzuki.com
Package v1beta1 contains API Schema definitions for the egress.ysksuzuki.com v1beta1 API group +kubebuilder:object:generate=true +groupName=egress.ysksuzuki.com
cmd
e2e
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL