Skip to content

Why do you compile k3s again in package-cli when make command #10491

Closed Answered by brandond
sunnoy asked this question in Q&A
Discussion options

You must be logged in to vote

There are two k3s binaries:

  • the self-extracting wrapper that we ship as our GH artifact
  • the actual k3s binary that we ship in our docker image, and as the payload for the self-extracting wrapper

If you look at /var/lib/rancher/k3s/data/HASH/bin on a k3s node, you'll find another k3s binary there - this is the actual entrypoint for the running k3s process. The one we install to /usr/local/bin/k3s just extracts and calls the actual binaries.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@sunnoy
Comment options

@brandond
Comment options

Answer selected by brandond
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants