mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-11 01:41:54 -04:00
KEP: 5495 - Add deprecation warning for ipvs
This commit is contained in:
parent
5b3bbd89e6
commit
44a268e272
1 changed files with 3 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue