Skip to content

Use Sever Side Apply to Update Status and Manage Finalizers #1931

Description

@csviri

Currently this is not done by SSA.

Activity

  1. added this to the 5.0 milestone on Jun 5, 2023
  2. added
    kind/featureCategorizes issue or PR as related to a new feature.
    on Jun 5, 2023
  3. github-actions commented on Aug 5, 2023

    @github-actions

    This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.

  4. github-actions commented on Oct 7, 2023

    @github-actions

    This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.

  5. github-actions commented on Dec 9, 2023

    @github-actions

    This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.

  6. removed
    kind/featureCategorizes issue or PR as related to a new feature.
    on Dec 9, 2023
  7. github-actions commented on Feb 8, 2024

    @github-actions

    This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.

  8. csviri commented on Mar 8, 2024

    @csviri
    CollaboratorAuthor

    This would make more sense if the status would be written by multiple controllers, usually, that is not the case. Was checking, and neither the Kubernetes built-in operators seems to be using SSA to update the status. On the other hand this is true also for the manager resource specs. So might at the end it would be nicer to do with SSA.

    For the resource update (not the status) also a little bit problematic, with SSA we just should send the intent, not the whole resource, so that might be confusing for the users that not the primary resource from the reconciler argument should be used, rather there should be the resource created from scratch and only the changes on the resource should be applied.

    So what would make sense is to do is make it default for patch (with a feature flag to not do it by default), and an explicit method to path the resource with SSA - where in javadoc we articulate that only the intent should be sent.

  9. self-assigned this
    on Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions