-
Notifications
You must be signed in to change notification settings - Fork 36
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
feat: run embedded discovery service in Omni #105
Conversation
ac97f24
to
42f32fe
Compare
1dbf15e
to
01dbee2
Compare
358d0fa
to
b0e3220
Compare
Makefile
Outdated
GRPC_GO_VERSION ?= 1.3.0 | ||
GRPC_GATEWAY_VERSION ?= 2.19.1 | ||
GRPC_GATEWAY_VERSION ?= 2.19.1 # manually reverted to 2.19.1, as 2.20.0 breaks the frontend |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the culprit, otherwise PROTOBUF_GO_VERSION
1.34.1 is fine.
Just to note: make sure we also update omin-docs to reflect the new feature option in cluster templates. |
Thanks for the reminder, sure will do. |
b0e3220
to
658f8ad
Compare
I think (after the discussion in the meeting) we need to default this feature to 'disabled' (i.e. use discovery.talos.dev by default). |
ec9c2b2
to
93724ae
Compare
Changed the implementation to be that way, greatly simplified. |
frontend/src/views/omni/Clusters/EmbeddedDiscoveryServiceCheckbox.vue
Outdated
Show resolved
Hide resolved
internal/backend/runtime/omni/controllers/omni/discovery_service_config_patch.go
Outdated
Show resolved
Hide resolved
I guess |
Oh that's a good point, we need 2 discovery clients living in the same time in fact. I'll fix that. |
93724ae
to
ba515f5
Compare
db660b1
to
df3f6ce
Compare
internal/backend/runtime/omni/controllers/omni/discovery_service_config_patch_test.go
Show resolved
Hide resolved
df3f6ce
to
f95e8ca
Compare
f95e8ca
to
008169b
Compare
Done. The logic there was not working properly anyway - was probing an already deleted Also addressed all other comments. |
Run a discovery service instance inside Omni (enabled by default). It listens only on the SideroLink interface on port 8093. Clusters can opt in to use this embedded discovery service instead of the `discovery.talos.dev`. It is added as a new cluster feature both on frontend and in cluster templates. Closes #20. Signed-off-by: Utku Ozdemir <[email protected]>
008169b
to
331fc31
Compare
/m |
Run a discovery service instance inside Omni (enabled by default).
It listens only on the SideroLink interface on port 8093.
Clusters can opt in to use this embedded discovery service instead of the
discovery.talos.dev
. It is added as a new cluster feature both on frontend and in cluster templates.Closes #20.
Docs: siderolabs/omni-docs#83