-
-
Notifications
You must be signed in to change notification settings - Fork 228
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 exporter custom port #728
feat: support exporter custom port #728
Conversation
Signed-off-by: drivebyer <[email protected]>
Signed-off-by: drivebyer <[email protected]>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #728 +/- ##
==========================================
+ Coverage 29.21% 29.43% +0.21%
==========================================
Files 18 19 +1
Lines 3135 3170 +35
==========================================
+ Hits 916 933 +17
- Misses 2191 2207 +16
- Partials 28 30 +2 ☔ View full report in Codecov by Sentry. |
Signed-off-by: drivebyer <[email protected]>
Signed-off-by: drivebyer <[email protected]>
Signed-off-by: drivebyer <[email protected]>
Signed-off-by: Shubham Gupta <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
api/v1beta2/rediscluster_default.go
Outdated
if r.Spec.RedisExporter != nil { | ||
if r.Spec.RedisExporter.Port == nil { | ||
r.Spec.RedisExporter.Port = pointer.Int(9121) | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if r.Spec.RedisExporter != nil { | |
if r.Spec.RedisExporter.Port == nil { | |
r.Spec.RedisExporter.Port = pointer.Int(9121) | |
} | |
} | |
if r.Spec.RedisExporter != nil && r.Spec.RedisExporter.Port == nil { | |
r.Spec.RedisExporter.Port = pointer.Int(9121) | |
} |
* support exporter custom port Signed-off-by: drivebyer <[email protected]> * add e2e Signed-off-by: drivebyer <[email protected]> --------- Signed-off-by: drivebyer <[email protected]> Signed-off-by: Matt Robinson <[email protected]>
Description
When use hostnetwork, we need to specify exporter port to avoid port conflict too. Like redis custom port in #723
Type of change
Checklist
Additional Context