MyNixOS website logo

Whether rke2 should run as a server or agent.

If it's a server:

  • By default it also runs workloads as an agent.
  • any optionals is allowed.

If it's an agent:

  • serverAddr is required.
  • token or tokenFile is required.
  • agentToken or agentTokenFile or disable or cni are not allowed.
Declarations
Type
one of "server", "agent"
Default
"server"