-
Notifications
You must be signed in to change notification settings - Fork 68
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
Add metrics proxy #2182
Add metrics proxy #2182
Conversation
🤖 Created branch: z_pr2182/vthapar/metrics-proxy |
With the redesign of metrics, we don't need to open metrics port in the cloud anymore. This also marks the `metrics-ports` flag as deprecated. Refer submariner-io/enhancements/pull/128 Depends On submariner-io/submariner-operator/pull/2182 Signed-off-by: Vishal Thapar <[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.
A few suggestions, overall looks good
@@ -227,6 +231,8 @@ func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) ( | |||
return reconcile.Result{}, err | |||
} | |||
|
|||
// TODO: vthapar Do we need proxy status? |
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.
Seems that for consistency we should, no?
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.
Status bits are currently added to SUbmariner CR's status field. This will require additions to Submariner CR in submariner
repo. We're also missing status for NetworkPluginSyncer. Should we bring them both in a separate issue?
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.
I dont think syncer should be part of it, it's a separate issue
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.
Yup, we shouldn’t take care of the syncer here, but I agree we should add the metrics status information here while we’re at it.
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.
@skitt @mkolesnik Code here is to update Submariner CR's Status fields with DaemonSet's status. Till we add the CR fields in submariner
we can't do anything here.
With the redesign of metrics, we don't need to open metrics port in the cloud anymore. This also marks the `metrics-ports` flag as deprecated. Refer submariner-io/enhancements/pull/128 Depends On submariner-io/submariner-operator/pull/2182 Signed-off-by: Vishal Thapar <[email protected]>
With the redesign of metrics, we don't need to open metrics port in the cloud anymore. This also marks the `metrics-ports` flag as deprecated. Refer submariner-io/enhancements/pull/128 Depends On submariner-io/submariner-operator/pull/2182 Signed-off-by: Vishal Thapar <[email protected]>
With the redesign of metrics, we don't need to open metrics port in the cloud anymore. This also marks the `metrics-ports` flag as deprecated. Refer submariner-io/enhancements/pull/128 Depends On submariner-io/submariner-operator/pull/2182 Signed-off-by: Vishal Thapar <[email protected]>
@@ -227,6 +231,8 @@ func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) ( | |||
return reconcile.Result{}, err | |||
} | |||
|
|||
// TODO: vthapar Do we need proxy status? |
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.
I dont think syncer should be part of it, it's a separate issue
d39f841
to
778209a
Compare
778209a
to
266502b
Compare
I manually squashed older review commits into parent commit to make it easier to rebase conflicts. |
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
@vthapar please squash the latest review commit. |
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.
Please add release notes as part of the PR :)
266502b
to
982bfdc
Compare
@mkolesnik Release notes should be added as new comment or updated in the parent comment? |
It should be part of the PR - as we discussed on the weekly calls, and the pending documentation (submariner-io/submariner-website#802) |
I saw the documentation PR but that is still under review. I don't see a |
@vthapar The release notes file has linting errors. |
1f56a75
to
ed938a7
Compare
Refer submariner-io/enhancements/pull/128 Depends On submariner-io/subctl/pull/212 Signed-off-by: Vishal Thapar <[email protected]>
ed938a7
to
3667413
Compare
🤖 Closed branches: [z_pr2182/vthapar/metrics-proxy] |
Refer submariner-io/enhancements/pull/128
Depends on submariner-io/subctl/pull/212
Depends on #2209
Signed-off-by: Vishal Thapar [email protected]