Skip to content

Add nats build tag from KINE for embedded support#8882

Open
bruth wants to merge 1 commit intok3s-io:mainfrom
nats-io:embedded-nats
Open

Add nats build tag from KINE for embedded support#8882
bruth wants to merge 1 commit intok3s-io:mainfrom
nats-io:embedded-nats

Conversation

@bruth
Copy link
Copy Markdown
Contributor

@bruth bruth commented Nov 16, 2023

Proposed Changes

Support embedded NATS by default.

Types of Changes

It will embed the NATS server as part of the k3s binary rather than require an external server.

Verification

NATS is already embedded within standalone KINE releases.

Testing

Current testing is done within KINE.

Linked Issues

User-Facing Change

For existing deployments of k3s that used NATS (implying an external server/cluster), the --datastore-endpoint=nats://... CLI option must be updated with the noEmbed param to prevent running in embedded mode and expect to connect to an external server.

Further Comments

None.

Signed-off-by: Byron Ruth <byron@nats.io>
@bruth bruth requested a review from a team as a code owner November 16, 2023 11:39
@zizoyunus
Copy link
Copy Markdown

zizoyunus commented Feb 7, 2026

Hello,
thanks. this change works. build latest v1.35.0+k3s3
sudo SKIP_IMAGE=true SKIP_AIRGAP=true SKIP_VALIDATE=true make
then start k3s
sudo k3s server --datastore-endpoint=nats://

is this the only change needed to support embedded nats ?

@brandond
Copy link
Copy Markdown
Member

brandond commented Feb 8, 2026

PR needs a rebase, but yeah I think so.

@zizoyunus
Copy link
Copy Markdown

@bruth could you please rebase?

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

Successfully merging this pull request may close these issues.

3 participants