coil-egress
is a program to be run in Egress pod.
It watches client Pods and creates or deletes Foo-over-UDP tunnels.
coil-egress
references the following environment variables:
Name | Required | Description |
---|---|---|
COIL_POD_ADDRESSES |
YES | status.podIPs field value of the Pod. |
COIL_POD_NAMESPACE |
YES | metadata.namespace field value of the parent Egress. |
COIL_EGRESS_NAME |
YES | metadata.name field value of the parent Egress. |
Flags:
--fou-port int port number for foo-over-udp tunnels (default 5555)
--enable-sport-auto enable automatic source port assignment (default false)
--health-addr string bind address of health/readiness probes (default ":8081")
-h, --help help for coil-egress
--metrics-addr string bind address of metrics endpoint (default ":8080")
-v, --version version for coil-egress
This is the number of client pods which use the egress.
Label | Description |
---|---|
namespace |
The egress resource namespace |
egress |
The egress resource name |
This is the client pod information.
Label | Description |
---|---|
namespace |
The pod resource namespace |
pod |
The pod name |
pod_ip |
The pod's IP address |
interface |
The interface for the pod |
egress |
The egress resource name |
egress_namespace |
The egress resource namespace |
This is the limit of conntrack entries in the kernel.
This value is from /proc/sys/net/netfilter/nf_conntrack_max
.
Label | Description |
---|---|
namespace |
The egress resource namespace |
egress |
The egress resource name |
pod |
The pod name |
This is the number of conntrack entries in the kernel.
This value is from /proc/sys/net/netfilter/nf_conntrack_count
.
Label | Description |
---|---|
namespace |
The egress resource namespace |
egress |
The egress resource name |
pod |
The pod name |
This is the total number of packets masqueraded by iptables in a egress NAT pod.
This value is from the result of iptables -t nat -L POSTROUTING -vn
.
Label | Description |
---|---|
namespace |
The egress resource namespace |
egress |
The egress resource name |
pod |
The pod name |
This is the total bytes of masqueraded packets by iptables in a egress NAT pod.
This value is from the result of iptables -t nat -L POSTROUTING -vn
.
Label | Description |
---|---|
namespace |
The egress resource namespace |
egress |
The egress resource name |
pod |
The pod name |