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

fix(cluster): check port #910

Merged
merged 1 commit into from
Nov 16, 2020
Merged

Conversation

davidwtf
Copy link
Contributor

Signed-off-by: Tengfei Wang tfwang@alauda.io

What type of PR is this?
/kind bug

What this PR does / why we need it:

This PR improved the port checking. The former implement without -n may miss some port, because ss will show port's name instead of number. The -w arg for grep tries to figure out different ports with the same prefix like :80 and :8080.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


Signed-off-by: Tengfei Wang <tfwang@alauda.io>
@huxiaoliang huxiaoliang merged commit 627ed57 into tkestack:master Nov 16, 2020
willemswang pushed a commit to willemswang/tke that referenced this pull request Dec 3, 2020
Signed-off-by: Tengfei Wang <tfwang@alauda.io>
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.

None yet

2 participants