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

Revisit custom syncer logic #1247

Closed
mudler opened this issue Apr 6, 2022 · 0 comments
Closed

Revisit custom syncer logic #1247

mudler opened this issue Apr 6, 2022 · 0 comments
Labels
kind/enhancement New feature or request
Projects

Comments

@mudler
Copy link
Contributor

mudler commented Apr 6, 2022

The syncer logic introduced in rancher-sandbox/rancheros-operator#22 relies on kubernetes logs to catch up third party custom syncers by using convoluted setup.

During the sync phase for the custom syncer, a pod is created with the container specified in the ManagedOSVersionChannel:

  • The pod has a initcontainer with the container specified from the spec
  • The initcontainer fetch the data somehow, and stores the json into a known location
  • A container which takes the output json, displays it on console and sits and waits for the data to be captured from the operator via kubelet api logs, and gets cleaned up afterward

This card is a spike to find other solutions to it that doesn't involve logging.

One idea could be to stream back the JSON result directly into the operator via some service exposed in the cluster, where the operator can be reached.

Follow-up of rancher-sandbox/rancheros-operator#22

@mudler mudler added kind/enhancement New feature or request area/os2 labels Apr 6, 2022
@mudler mudler transferred this issue from rancher-sandbox/rancheros-operator Apr 20, 2022
@mudler mudler added this to ❆ Icebox in Releases Apr 20, 2022
@kkaempf kkaempf removed the area/os2 label Oct 4, 2022
@frelon frelon closed this as not planned Won't fix, can't repro, duplicate, stale May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
No open projects
Releases
❆ Icebox
Development

No branches or pull requests

3 participants