Skip to content
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

Remove the ComputeNodes array from SystemConfiguration #176

Merged
merged 5 commits into from
Feb 7, 2024

Conversation

roehrich-hpe
Copy link
Contributor

@roehrich-hpe roehrich-hpe commented Feb 1, 2024

The list of compute node names is already found within the spec.StorageNodes array. By having the names in just one array, rather than two, that ought to help reduce errors.

However, the main problem was this: The spec.ComputeNodes array can account for up to 75% of the size of the resource on a large cluster. This has caused problems for 'kubectl apply' (client-side-apply) when it creates the "last-applied-configuration" annotation for the resource, with the serialized version of the resource exceeding the maximum allowed size of an annotation.

Add spec.ExternalComputeNodes to contain a list of compute nodes that are not directly matched with any of the nodes in the StorageNodes list.

The list of compute node names is already found within the spec.StorageNodes
array. By having the names in just one array, rather than two, that ought to
help reduce errors.

However, the main problem was this: The spec.ComputeNodes array can account for
up to 75% of the size of the resource on a large cluster.  This has caused
problems for 'kubectl apply' (client-side-apply) when it creates the
"last-applied-configuration" annotation for the resource, with the serialized
version of the resource exceeding the maximum allowed size of an annotation.

Signed-off-by: Dean Roehrich <[email protected]>
… list

of compute nodes that are not directly matched with any of the nodes in
the StorageNodes list.

Signed-off-by: Dean Roehrich <[email protected]>
Signed-off-by: Dean Roehrich <[email protected]>
@roehrich-hpe roehrich-hpe merged commit 62a0958 into master Feb 7, 2024
1 check passed
@roehrich-hpe roehrich-hpe deleted the sysconfig-computes-rm branch February 7, 2024 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants