mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #78771 from ravisantoshgudimetla/tbe-allow-localaddress
Allow master nodes to be accessed from private ips
This commit is contained in:
commit
34b66e5225
@ -124,10 +124,9 @@ var _ = SIGDescribe("TaintBasedEvictions [Serial]", func() {
|
||||
|
||||
ginkgo.By(fmt.Sprintf("Blocking traffic from node %s to the master", nodeName))
|
||||
host, err := framework.GetNodeExternalIP(&node)
|
||||
// TODO(Huang-Wei): make this case work for local provider
|
||||
// if err != nil {
|
||||
// host, err = framework.GetNodeInternalIP(&node)
|
||||
// }
|
||||
if err != nil {
|
||||
host, err = framework.GetNodeInternalIP(&node)
|
||||
}
|
||||
framework.ExpectNoError(err)
|
||||
masterAddresses := framework.GetAllMasterAddresses(cs)
|
||||
taint := newUnreachableNoExecuteTaint()
|
||||
|
Loading…
Reference in New Issue
Block a user