-
Notifications
You must be signed in to change notification settings - Fork 26
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
feat: use new property name for node count property + specify the core properties (node count, total/allocatable/available CPU/memory) #810
Conversation
pkg/scheduler/framework/plugins/clusteraffinity/filtering_test.go
Outdated
Show resolved
Hide resolved
pkg/scheduler/framework/plugins/clusteraffinity/filtering_test.go
Outdated
Show resolved
Hide resolved
@@ -136,6 +137,7 @@ var _ = Describe("Test Internal Member Cluster Controller", Serial, func() { | |||
Expect(updatedHealthCond.Reason).To(Equal(EventReasonInternalMemberClusterHealthy)) | |||
|
|||
By("checking updated member cluster usage") | |||
Expect(imc.Status.Properties[propertyprovider.NodeCountProperty].Value).ShouldNot(BeEmpty()) |
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.
do we know how many nodes does this cluster have?
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.
With the dummy env I am not sure, but there will be a PR that re-factors the tests for this controller and we will using the full comparison like the one in the E2E tests for this part.
Description of your changes
This PR updates AKS property provider and related materials to use the new property name for the node count property (
kubernetes.azure.com/node-count
->kubernetes-fleet.io/node-count
),I have:
make reviewable
to ensure this PR is ready for review.How has this code been tested
Special notes for your reviewer
Important: changes in this PR should only be rolled out after the RP E2E tests are updated and rolled out.