Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Bug/nodepools new node creation#34

Merged
nxtcoder17 merged 6 commits into
kloudlite:release-1.0.5from
nxtcoder17:bug/nodepools-new-node-creation
Oct 28, 2023
Merged

Bug/nodepools new node creation#34
nxtcoder17 merged 6 commits into
kloudlite:release-1.0.5from
nxtcoder17:bug/nodepools-new-node-creation

Conversation

@nxtcoder17
Copy link
Copy Markdown
Member

  • fix(operators/clusters): cluster job template, CRD, and printcolumn updates (Commit 4604bea):

    • Renamed "iac" to "templates".
    • The req.PostReconcile() function now sets additional annotations and status fields used by print columns on various types.
  • fix(operators/nodepool): nodepool controller and new print columns (Commit 6d1840e):

    • Updates to the nodepool controller and the addition of new print columns.
  • chore(config/crd/bases): updates because of .status.lastReadyGeneration (Commit a3accdb):

    • Configuration updates in CRD bases due to changes in .status.lastReadyGeneration.
  • feat(pkg/operator): post-reconcile func, adds custom ready annotation (Commit a3accdb):

    • Introduces a post-reconcile function that adds a custom ready annotation with extra metadata to indicate readiness status.
    • Includes lastReadyGeneration, which tracks the generation of the last successful reconcile, and provides deletion information if a resource is being deleted.
  • feat: kloudlite banner displays binary built time (Commit 78338cf):

    • Enhances the Kloudlite banner to display the binary build time.
  • feat(operators/nodepool): nodepool now creates clustersv1.Node objects (Commit 937732d):

    • The nodepool controller, upon target updates, creates clustersv1.Node objects, which are then managed by the node controller.
    • The autoscaling job will also be managed by the nodepool controller.
    • The role of the clustersv1.Node CRD and its controller is to manage the deletion lifecycle of real corev1.Node objects, including draining and eventual deletion.
    • The cluster autoscaler will also delete clustersv1.Node objects as needed to downscale the cluster and update the nodepool's target size.

These changes collectively improve the functionality and robustness of the system.

- nodepool controller, whenever target updates, creates
  clustersv1.Node object, which is then managed by node controller
- autoscaling job, though will be managed by nodepool controller
  only
- only role of clustersv1.Node CRD and its controller is to manage
  deletion lifecycle of real corev1.Node, like draining and deleting it
  after sometime in future
- cluster autoscaler will also delete `clustersv1.Node` object, whenever
  it needs to downscale the cluster, and update nodepool`s target size
- this custom ready annotation, adds extra metadata to ready info
- it adds lastReadyGeneration, which is the generation of the last
  successful reconcile, and also deletion info, if resource is being
  deleted
…pdates

- renamed iac to templates
- req.PostReconcile() now sets additional annotations and status fields
  that are used by printcolumns on types
@nxtcoder17 nxtcoder17 merged commit f299a6b into kloudlite:release-1.0.5 Oct 28, 2023
@nxtcoder17 nxtcoder17 deleted the bug/nodepools-new-node-creation branch October 28, 2023 11:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant