Productive K3S Core Modes¶
productive-k3s-profiles relies on the explicit installation modes exposed by productive-k3s-core.
The modes¶
single-node: one-node bootstrap on a single machineserver: initialize or join a K3S server nodeagent: join an existing K3S serverstack: install cluster-level components after the cluster exists
Why they matter here¶
The infrastructure repository needs to assemble clusters predictably after machine provisioning or host discovery.
That split makes the orchestration model explicit:
- create or target machines first
- establish the cluster shape second
- install the shared stack last
How scenarios consume them¶
multipass: explicitly usesserver,agent, andstackonprem-basic: can exercisesingle-nodefor one host, orserver,agent, andstackfor multi-node layoutsaws-single-node: currently packages a single-node public flow around the shared remote bootstrap layer
Notes¶
Note
The more explicit the bootstrap modes are in productive-k3s-core, the easier it is for infrastructure automation to stay understandable and testable.
Note
The optional experimental environment variable PRODUCTIVE_K3S_ENGINE can switch the base K3S installation backend between native and k3sup without changing the mode contract. The shared stack path remains unchanged.
Note
k3sup support is complementary and experimental. The product scope, supported matrix, and repository guarantees are still defined by Productive K3S itself, not by every workflow that k3sup could theoretically enable.