Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support fip for pod with other kind of apps or with no owner ref #74

Merged
merged 1 commit into from May 28, 2020

Conversation

ChenLingPeng
Copy link
Contributor

Signed-off-by: forrestchen forrestchen@tencent.com

@@ -128,6 +128,16 @@ func TestFilter(t *testing.T) {
if err := checkFilterResult(filtered, failed, []string{node3, node4}, []string{drainedNode, nodeHasNoIP}); err != nil {
t.Fatal(err)
}

if filtered, failed, err = fipPlugin.Filter(CreateSimplePod("pod1", "ns1", nil), nodes); err != nil {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

重新加一个单测?混在一个里面不太好看

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Signed-off-by: forrestchen <forrestchen@tencent.com>
@chenchun chenchun merged commit c42b250 into tkestack:master May 28, 2020
@chenchun chenchun added this to the v1.0.5 milestone Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support allocating floatingip to all pods
2 participants