KEP: 5495 - Add deprecation warning for ipvs

This commit is contained in:
Adrian Moisey 2025-10-11 11:23:10 +02:00
parent 5b3bbd89e6
commit 44a268e272
No known key found for this signature in database
GPG key ID: 41AE4AE32747C7CF

View file

@ -191,6 +191,9 @@ func (s *ProxyServer) createProxier(ctx context.Context, config *proxyconfigapi.
ipts := utiliptables.NewBestEffort()
logger.Info("Using ipvs Proxier")
message := "The ipvs proxier is now deprecated and may be removed in a future release. Please use 'nftables' instead."
logger.Error(nil, message)
s.Recorder.Eventf(s.NodeRef, nil, v1.EventTypeWarning, "IPVSDeprecation", "StartKubeProxy", message)
if dualStack {
proxier, err = ipvs.NewDualStackProxier(
ctx,