-
Notifications
You must be signed in to change notification settings - Fork 101
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
Install prometheus on local clusters (2/4) #529
Conversation
1171a8d
to
bcfbd59
Compare
f7eb3c4
to
bdd64ab
Compare
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
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.
@kuritka is it intentionally without prometheus operator? just long-term thinking of ServiceMonitor CRDs
@ytsarev - no operator was the intention, because we are on two local test-clusters. I didn't want to deliver something too extensive , just to check the metrics on the k8gb controller. But we can extend it at any time. |
I'm against pulling p8s operator here, we have single app in a single ns, we can simply maintain rule in a config map. We're not scalling testing clusters. |
@kuritka so it is for querying metrics with prom UI, correct? @k0da more context: https://docs.openshift.com/container-platform/4.1/applications/operator_sdk/osdk-monitoring-prometheus.html. Not a fond of pulling either but discussing what's the most relevant |
09fdad9
to
ae93116
Compare
@ytsarev , yes. |
@ytsarev JFYI "github.com/operator-framework/operator-sdk/pkg/metrics" is no longer there. And https://github.com/kubernetes-sigs/controller-runtime/tree/master/pkg/metrics doesn't have anything related to ServiceMonitor |
@k0da yeah, it might be all deprecated with the major 1.0 release of operator-sdk |
|
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.
@kuritka thanks for the documentation and uninstall make target updates. Looking good, just a few improvement suggestions from my side.
related to #124 I want to check metrics that will be implemented. That's why I'm adding the option to install prometheus on both clusters with `make deploy-prometheus`. Such deployed prometheus scrapes metrics of k8gb operator and is accessible directly from the browser: - http://127.0.0.1:8080 - test-gslb1 - http://127.0.0.1:8081 - test-gslb2 Co-authored-by: Timofey Ilinykh <[email protected]> Signed-off-by: kuritka <[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.
@kuritka LGTM!
Don't create service and don't point publish service to it. Istead use node IPs as Ingress address Signed-off-by: Dinar Valeev <[email protected]> Install prometheus on local clusters (2/4) (#529) related to #124 I want to check metrics that will be implemented. That's why I'm adding the option to install prometheus on both clusters with `make deploy-prometheus`. Such deployed prometheus scrapes metrics of k8gb operator and is accessible directly from the browser: - http://127.0.0.1:8080 - test-gslb1 - http://127.0.0.1:8081 - test-gslb2 Co-authored-by: Timofey Ilinykh <[email protected]> Signed-off-by: kuritka <[email protected]> backup, podCommand, add message to WithTestApp(string), testApp helm from 4.0.6 -> 5.0.1 minor changes HitTestApp implemented
Don't create service and don't point publish service to it. Istead use node IPs as Ingress address Signed-off-by: Dinar Valeev <[email protected]> Install prometheus on local clusters (2/4) (#529) related to #124 I want to check metrics that will be implemented. That's why I'm adding the option to install prometheus on both clusters with `make deploy-prometheus`. Such deployed prometheus scrapes metrics of k8gb operator and is accessible directly from the browser: - http://127.0.0.1:8080 - test-gslb1 - http://127.0.0.1:8081 - test-gslb2 Co-authored-by: Timofey Ilinykh <[email protected]> Signed-off-by: kuritka <[email protected]> backup, podCommand, add message to WithTestApp(string), testApp helm from 4.0.6 -> 5.0.1 minor changes HitTestApp implemented Signed-off-by: kuritka <[email protected]>
Don't create service and don't point publish service to it. Istead use node IPs as Ingress address Signed-off-by: Dinar Valeev <[email protected]> Install prometheus on local clusters (2/4) (#529) related to #124 I want to check metrics that will be implemented. That's why I'm adding the option to install prometheus on both clusters with `make deploy-prometheus`. Such deployed prometheus scrapes metrics of k8gb operator and is accessible directly from the browser: - http://127.0.0.1:8080 - test-gslb1 - http://127.0.0.1:8081 - test-gslb2 Co-authored-by: Timofey Ilinykh <[email protected]> Signed-off-by: kuritka <[email protected]> backup, podCommand, add message to WithTestApp(string), testApp helm from 4.0.6 -> 5.0.1 minor changes HitTestApp implemented Signed-off-by: kuritka <[email protected]>
related to #124
I want to check metrics that will be implemented. That's why I'm adding the option to install prometheus on both clusters with
make deploy-prometheus
.Such deployed prometheus scrapes metrics of k8gb operator and is accessible directly from the browser:
Co-authored-by: Timofey Ilinykh [email protected]
Signed-off-by: kuritka [email protected]