-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[ws-proxy] add some ssh metrics #10179
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
Conversation
/werft run 👍 started the job as gitpod-build-pd-ssh-metrics.5 |
/werft run 👍 started the job as gitpod-build-pd-ssh-metrics.6 |
c9cf5ee
to
08bc9d2
Compare
@akosyakov is it ready for merge? |
@iQQBot it is fine with me, but I'm not a code owner. You need to reach out to the workspace team. |
already do |
@@ -16,6 +16,25 @@ import ( | |||
|
|||
func rolebinding(ctx *common.RenderContext) ([]runtime.Object, error) { | |||
return []runtime.Object{ | |||
&rbacv1.ClusterRoleBinding{ |
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.
Hey, where is this permission being used? I am unsure why we need this.
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.
we want use kube-rbac-proxy
to serve metrics instead of direct using ws-proxy
just like other components, kube-rbac-proxy
need this permission
https://github.com/gitpod-io/gitpod/blob/main/install/installer/pkg/components/ws-daemon/rolebinding.go#L22-L38
https://github.com/gitpod-io/gitpod/blob/main/install/installer/pkg/components/ws-manager/rolebinding.go#L22-L39
Code looks good but added a clarifying question |
Description
This PR add some ssh metrics
Related Issue(s)
Fixes #
How to test
./dev/preview/portforward-monitoring-satellite.sh -c harvester
Release Notes
Documentation