kubewharf / kubebrain

A High Performance Metadata System for Kubernetes
Apache License 2.0
764 stars 79 forks source link

fix(config): validate if ports are conflict #20

Closed divanodestiny closed 1 year ago

divanodestiny commented 1 year ago

What type of PR is this?

Bug Fix

What this PR does / why we need it:

If ports are duplicated, KubeBrain process will run, listen some ports and then crash down. It is confusing for external component who check if KubeBrain process is healthy through HTTP or GRPC request.

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

None

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.