-
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.
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.
sure, but CRD version might not show the real version. i.e argo CD version has been stuck in v1alpha1 forever.
labels: | ||
multicluster.x-k8s.io/clusterProfile: true | ||
spec: | ||
value: ["100.3.3.4:5683","qs-oar7gr9p.azmk8s.io:443"] |
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 it be quoted to not be treated as an array?
value: ["100.3.3.4:5683","qs-oar7gr9p.azmk8s.io:443"] | |
value: '["100.3.3.4:5683","qs-oar7gr9p.azmk8s.io:443"]' |
name: count.node.k8s.io | ||
labels: | ||
multicluster.x-k8s.io/clusterProfile: true | ||
Spec: |
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.
There are other cases with upper case Spec
Spec: | |
spec: |
|
||
Here is an example of a cluster-entrypoints.k8s.io ClusterProperty | ||
```yaml | ||
apiVersion: about.k8s.io/v1 |
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.
labels: | ||
multicluster.x-k8s.io/clusterProfile: true | ||
Spec: | ||
value: 120 |
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.
similar as the previous comment.
value: 120 | |
value: '120' |
Add the discussed cluster properties to the KEP4322