-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Patryk Strusiewicz-Surmacki <[email protected]> Co-authored-by: Tomoya Terashima <[email protected]>
- Loading branch information
1 parent
200731d
commit edae8ae
Showing
82 changed files
with
2,505 additions
and
789 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
coil-egress-controller | ||
=============== | ||
|
||
`coil-egress-controller` is a Kubernetes controller for Coil custom resources related to on-demand NAT egress. | ||
It is intended to be run as a Pod in `kube-system` namespace. | ||
|
||
|
||
## Egress | ||
|
||
`coil-egress-controller` creates **Deployment** and **Service** for each Egress. | ||
|
||
It also creates `coil-egress` **ServiceAccount** in the namespace of Egress, | ||
and binds it to the **ClusterRoles** for `coil-egress`. | ||
|
||
## Command-line flags | ||
|
||
``` | ||
Flags: | ||
--cert-dir string directory to locate TLS certs for webhook (default "/certs") | ||
--egress-port int32 UDP port number used by coil-egress (default 5555) | ||
--gc-interval duration garbage collection interval (default 1h0m0s) | ||
--health-addr string bind address of health/readiness probes (default ":9387") | ||
-h, --help help for coil-egress-controller | ||
--metrics-addr string bind address of metrics endpoint (default ":9386") | ||
-v, --version version for coil-egress-controller | ||
--webhook-addr string bind address of admission webhook (default ":9443") | ||
``` |
22 changes: 7 additions & 15 deletions
22
docs/cmd-coil-controller.md → docs/cmd-coil-ipam-controller.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
- [AddResponse](#pkg-cnirpc-AddResponse) | ||
- [CNIArgs](#pkg-cnirpc-CNIArgs) | ||
- [CNIArgs.ArgsEntry](#pkg-cnirpc-CNIArgs-ArgsEntry) | ||
- [CNIArgs.InterfacesEntry](#pkg-cnirpc-CNIArgs-InterfacesEntry) | ||
- [CNIError](#pkg-cnirpc-CNIError) | ||
|
||
- [ErrorCode](#pkg-cnirpc-ErrorCode) | ||
|
@@ -57,6 +58,8 @@ https://pkg.go.dev/github.com/containernetworking/[email protected]/pkg/skel?tab=doc#Cm | |
| args | [CNIArgs.ArgsEntry](#pkg-cnirpc-CNIArgs-ArgsEntry) | repeated | Key-Value pairs parsed from CNI_ARGS | | ||
| path | [string](#string) | | | | ||
| stdin_data | [bytes](#bytes) | | | | ||
| ips | [string](#string) | repeated | | | ||
| interfaces | [CNIArgs.InterfacesEntry](#pkg-cnirpc-CNIArgs-InterfacesEntry) | repeated | | | ||
|
||
|
||
|
||
|
@@ -79,6 +82,22 @@ https://pkg.go.dev/github.com/containernetworking/[email protected]/pkg/skel?tab=doc#Cm | |
|
||
|
||
|
||
<a name="pkg-cnirpc-CNIArgs-InterfacesEntry"></a> | ||
|
||
### CNIArgs.InterfacesEntry | ||
|
||
|
||
|
||
| Field | Type | Label | Description | | ||
| ----- | ---- | ----- | ----------- | | ||
| key | [string](#string) | | | | ||
| value | [bool](#bool) | | | | ||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="pkg-cnirpc-CNIError"></a> | ||
|
||
### CNIError | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
/bin | ||
/config/default/webhook_manifests_patch.yaml | ||
/config/default/ipam/webhook_manifests_patch.yaml | ||
/config/default/egress/webhook_manifests_patch.yaml | ||
/include | ||
/testbin | ||
/tmp | ||
/work | ||
/e2e/tmp | ||
/e2e/kindnet-conf |
Oops, something went wrong.