-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
KEP4322: add some clusterProfile property #5185
base: master
Are you sure you want to change the base?
Conversation
Hi @ryanzhang-oss. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ryanzhang-oss 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 |
f6f24af
to
5390b8a
Compare
|
||
##### count.node.k8s.io | ||
It contains the total number of nodes in the k8s clusters | ||
* The value is dynamic but not changing fast. |
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.
If the nodes can be of different types, does a total count have much value?
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 am not sure what percentage of k8s clusters have heterogenous vs homogeneous node so it might be useful for homogeneous clusters
Here is the corresponding ClusterProfile API | ||
```yaml | ||
properties: | ||
- name: group.customResource.k8s.io |
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.
should we include the version? consumer may need to know what's the latest version installed.
Here are a few ClusterProperty that the clusterProfile API would also support. | ||
|
||
##### cluster-endpoints.k8s.io | ||
It is a list of the url that can reach the api-server of the k8s cluster |
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.
These aren’t URLs, they’re hostname:port or IP:port pairs.
``` | ||
|
||
##### metrics-endpoints.k8s.io | ||
It contains an array of the type, url pair that one can query the metrics (for example, a Prometheus or Grafana endpoint for PromQL) of the cluster |
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.
Same as above, these aren’t URLs, they’re hostname:port or IP:port pairs.
Add the discussed cluster properties to the KEP4322