Andrew Sy Kim
e2e0b6fca8
pkg/proxy: update CategorizeEndpoints to apply ProxyTerminatingEndpoints to all traffic policies
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-03-29 11:06:58 -04:00
Dan Winship
548cf9d5de
proxy/iptables: fix internal-vs-external traffic policy handling
...
Fix internal and external traffic policy to be handled separately (so
that, in particular, services with Local internal traffic policy and
Cluster external traffic policy do not behave as though they had Local
external traffic policy as well.
Additionally, traffic to an `internalTrafficPolicy: Local` service on
a node with no endpoints is now dropped rather than being rejected
(which, as in the external case, may prevent traffic from being lost
when endpoints are in flux).
2022-03-26 11:06:34 -04:00
Rob Scott
1983f41065
Updating kube-proxy to ignore unready endpoints for Topology Hints
2021-11-18 14:04:44 -08:00
Shivanshu Raj Shrivastava
daf5af2917
Migrated pkg/proxy to structured logging ( #104891 )
...
* migrated service.go to structured logging
* fixing capital letter in starting
* migrated topology.go
* migrated endpointslicecache.go
* migrated endpoints.go
* nit typo
* nit plural to singular
* fixed format
* code formatting
* resolving review comment for key ipFamily
* resolving review comment for key endpoints.go
* code formating
* Converted Warningf to ErrorS, wherever applicable
* included review changes
* included review changes
2021-10-14 09:47:17 -07:00
Swetha Repakula
0a42f7b989
Graduate EndpointSliceProxying and WindowsEndpointSliceProxying Gates
2021-07-07 13:33:30 -07:00
Andrew Sy Kim
be92fc83e2
proxier: simplify toplogy FilterLocalEndpoint function
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-04 15:15:40 -04:00
Andrew Sy Kim
d96af5f276
kube-proxy: remove ServiceTopology implementation
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-03 22:17:46 -04:00
dervoeti
a231e21e63
fixed wrong warning in kube-proxy regarding topology aware hints
2021-05-09 22:05:21 +02:00
Rob Scott
50b377fe4e
Updating Topology Aware Hints to support "Auto" value for annotation
...
Previously only "auto" was supported, a value that was inconsistent with
Kubernetes naming patterns.
2021-03-31 15:58:42 -07:00
Rob Scott
f07be06a19
Adding support for TopologyAwareHints to kube-proxy
2021-03-08 15:37:47 -08:00
Fangyuan Li
7ed2f1d94d
Implements Service Internal Traffic Policy
...
1. Add API definitions;
2. Add feature gate and drops the field when feature gate is not on;
3. Set default values for the field;
4. Add API Validation
5. add kube-proxy iptables and ipvs implementations
6. add tests
2021-03-07 16:52:59 -08:00
timyinshi
5242af9d2d
delete the extra word
...
Signed-off-by: timyinshi <shiguangyin@inspur.com>
2021-02-11 16:35:48 +08:00
Roc Chan
c9cf3f5b72
Service Topology implementation
...
* Implement Service Topology for ipvs and iptables proxier
* Add test files
* API validation
2019-11-15 13:36:43 +08:00