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

Add metrics to indicate whether the resources managed by CKE are synced #694

Closed
4 tasks
zeroalphat opened this issue Jan 10, 2024 · 1 comment
Closed
4 tasks

Comments

@zeroalphat
Copy link
Contributor

What

When manually editing a CKE-managed resource, CKE may not be able to delete fields in the resource.

  1. Edit some fields of a resource managed by CKE using the kubectl command. For example, edit spec.template.spec.containers[0].resources.limits.
  2. Delete the same fields (resources.limits) from the file from which the CKE-managed resources are defined that you manually changed.Raise the revision number so that CKE will update the resource.
  3. Update CKE and make the release.
  4. CKE applies the resource with Server-side apply (SSA) because the revision of the resource has been updated. However, even if CKE applies the resource with SSA, it cannot delete the field because the field to be deleted is managed by another manager.
    Even if the CKE cannot delete the field, no error or other problem occurs, so the field remains as it is.

How

  • Add metrics to indicate whether the resources managed by CKE are synced.

Checklist

  • Finish implentation of the issue
  • Test all functions
  • Have enough logs to trace activities
  • Notify developers of necessary actions
@takara9
Copy link

takara9 commented Jul 4, 2024

必要になったら、Openして実施

@takara9 takara9 closed this as completed Jul 4, 2024
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

No branches or pull requests

2 participants