-
Story
-
Resolution: Done
-
Major
-
None
-
None
Description
The WICD binary will be in charge of most on-node operations. WICD's most basic functionality will be the `bootstrap` command. This command is a one-shot operation which directs WICD to ensure that a Node object is created for the VM it is ran on. The Node object is created as a result of the kubelet service running and the appropriate CSRs being approved. WICD therefore has to create the kubelet and all other services required for node object creation The definitions of these services can be found in the service ConfigMap, and can be identified by the bootstrap flag being set.
Engineering Details
For more information refer to the Windows health management epic
The bootstrap command should receive one argument, the services ConfigMap data as an encrypted string.
WICD must validate the following:
- Bootstrap services cannot depend on a non-bootstrap service
- Each service that has the bootstrap flag set as true must have a higher priority than all non-bootstrap services
- There should be no overlap in the priorities of bootstrap services and controller services.
Acceptance Criteria
- When WICD is ran with the `bootstrap` command, all services within the service ConfigMap, with the bootstrap flag set to true, are started.