mirror of https://github.com/kubernetes/kops.git
tests: skip kube-proxy metric tests with cilium
This test tries to query kube-proxy on port 10249, but it appears that the cilium kube-proxy replacement does not implement this. Upstream issue: https://github.com/kubernetes/kubernetes/issues/126903
This commit is contained in:
parent
f486a95d6f
commit
9645d82cd7
|
@ -97,6 +97,14 @@ func (t *Tester) setSkipRegexFlag() error {
|
|||
// Ref: https://github.com/kubernetes/kubernetes/pull/113335
|
||||
skipRegex += "|should.create.a.Pod.with.SCTP.HostPort"
|
||||
}
|
||||
|
||||
if k8sVersion.Minor < 34 {
|
||||
// < 34 so we revisit this in future
|
||||
// This test checks for kube-proxy on port 10249 (`127.0.0.1:10249/proxyMode`)
|
||||
// It appears that the cilium kube-proxy replacement does not implement this.
|
||||
// Ref: https://github.com/kubernetes/kubernetes/issues/126903
|
||||
skipRegex += "|KubeProxy.should.update.metric.for.tracking.accepted.packets.destined.for.localhost.nodeports"
|
||||
}
|
||||
} else if networking.KubeRouter != nil {
|
||||
skipRegex += "|should set TCP CLOSE_WAIT timeout|should check kube-proxy urls"
|
||||
} else if networking.Kubenet != nil {
|
||||
|
|
Loading…
Reference in New Issue