同步操作将从 rancher/k3s 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
See the release page for pre-built releases.
The clone will be much faster on this repo if you do
git clone --depth 1 https://github.com/rancher/k3s.git
This repo includes all of Kubernetes history so --depth 1
will avoid most of that.
The k3s build process requires some autogenerated code and remote artifacts that are not checked in to version control. To prepare these resources for your build environment, run:.
mkdir -p build/data && ./scripts/download && go generate
To build the full release binary, you may now run make
, which will create ./dist/artifacts/k3s
.
To build the binaries using without running linting (ie; if you have uncommitted changes):
SKIP_VALIDATE=true make
If you make any changes to go.mod and want to update the vendored modules, you should run the following before running make
:
go mod vendor && go mod tidy
The source code for Kubernetes is in vendor/
and the location from which that is copied
is in ./go.mod
. Go to the referenced repo/tag and you'll find all the patches applied
to upstream Kubernetes.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。