-
Notifications
You must be signed in to change notification settings - Fork 178
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
Allow setting specific useragent identifier #788
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: rikatz The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
BTW, i just found out that cloud-provider has a cluster-name field https://github.com/kubernetes/cloud-provider/blob/152995bd25ae20bc618a9ba7039a1b683372c86c/config/types.go#L71 Could you also add to ini type config as well? Downstream product still use that one https://github.com/rikatz/cloud-provider-vsphere/blob/different-user-agent/pkg/common/config/config_ini_legacy.go Or do you think we can just previous clusterName value? |
The goal is to identify it on userAgent, so if clusterName does the job, why not? :) I will work on it next week, thanks!! |
I am confused now that I am checking it, it is cloud-provider and not cloud-provider-vsphere? @lubronzhan what's the path we should take? add ClusterName to some config structure? clusterID? I've seen there is also a flag on main with cluster name https://github.com/kubernetes/cloud-provider-vsphere/blob/master/cmd/vsphere-cloud-controller-manager/main.go#L135 Maybe we can just use this flag instead |
Yeah I think you are right, this is the flag added before https://github.com/kubernetes/cloud-provider-vsphere/blob/master/cmd/vsphere-cloud-controller-manager/main.go?rgh-link-date=2023-12-19T13%3A39%3A42Z#L135 |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
What this PR does / why we need it: During some scalability tests, we have figured out that having a unique identifier per cluster would make it easier to identify how many connections a cluster is opening to vSphere, and improve this workflow. Also it is good to know exactly what cluster has open connections
Which issue this PR fixes: fixes #787
Special notes for your reviewer:
Release note: