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

2010: fix to expose correct monitoring port #1405

Merged
merged 8 commits into from
Sep 14, 2021

Conversation

deepak-muley
Copy link
Contributor

@deepak-muley deepak-muley commented Sep 14, 2021

ref: kubeflow/manifests#2010

training-operator exposes 8080 per logs
2021-09-14T19:31:49.294Z INFO controller-runtime.metrics metrics server is starting to listen {"addr": ":8080"}
hence when we do local testing, it works fine
but when we expose it using make deploy then inside k8s, its not exposed

Steps:

  • make deploy
  • kubectl port-forward -n kubeflow svc/training-operator 8080:8080
    Screen Shot 2021-09-14 at 12 39 03 PM

pulling latest changes from kubeflow/tf-operator to deepak-muley/tf-operator
training-operator exposes 8080 per logs
2021-09-14T19:31:49.294Z	INFO	controller-runtime.metrics	metrics server is starting to listen	{"addr": ":8080"}
hence when we do local testing, it works fine
but when we expose it using make deploy then inside k8s, its not exposed
@deepak-muley
Copy link
Contributor Author

@Jeffwan could you please review.

@deepak-muley
Copy link
Contributor Author

/hold

@deepak-muley
Copy link
Contributor Author

/remove-hold

@alexeykaplin
Copy link

I like it!

@Jeffwan
Copy link
Member

Jeffwan commented Sep 14, 2021

/lgtm
/approve

Thanks for the help!

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Jeffwan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@deepak-muley
Copy link
Contributor Author

/test kubeflow-tf-operator-presubmit

@google-oss-robot google-oss-robot merged commit 2f78f8e into kubeflow:master Sep 14, 2021
@deepak-muley
Copy link
Contributor Author

fixes kubeflow/manifests#2010

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants