You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: design-proposals/separation-of-onboard-and-provisioning.md
+55-5Lines changed: 55 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,17 +48,67 @@ Onboarding steps those should be done on the edge node includes
48
48
49
49
5. If the host resource is associated with custom config(cloud-init) then it there should be a way to run run cloud-init stpes on the edge node as a post onboarding step.
50
50
51
-
###Scope
51
+
## Scope and Implementation plan
52
52
53
53
EMF side steps to skip the provisioning workflow.
54
54
55
-
1.DKAM should curate and host the installer script in the tinker-nginx service. It should also read the configuration with enabled capabilities of EMF (App orchestration, cluster orchestration, observability). Based on that it shall include the respective agent installations.
55
+
1.Device disocery agent - Build debian for the device discovery agent and include it in the agent installer script which does onboarding(non-interactive) and gets required keycloak credentials to the edge node. Until device discovery completes the onboarding other agents installation shouldn't be started.
56
56
57
-
2.Onboarding manager should skip the provisioning flow to creation of the tinkerbell workflow if edge node is registered with skip provisioning flow option. It should update the inventory with required instance resource fields like provisioning status and status indicator fields.
57
+
2.DKAM - should curate and host the installer script in the tinker-nginx service. It should also read the configuration with enabled capabilities of EMF (App orchestration, cluster orchestration, observability). Based on that configuration it shall include the respective agent installations. It should include device discovery agent.
58
58
59
-
3. Build debian for the device discovery agent and include it in the agent installer script which does onboarding(non-interactive) and required keycloak credentials for the edge node.
59
+
3. Onboarding manager - Should skip the provisioning flow to creation of the tinkerbell workflow if edge node is registered with skip provisioning flow option. It should update the inventory with required instance resource fields like provisioning status and status indicator fields. Creation of instance resource with mapping OS resource of Edge node.
60
+
61
+
4. API-v2 and inventory changes to include new field, skip provisioning flow in host resource.
62
+
63
+
5. Orch-cli/Infra web-ui changes for device registration to include the new field skip provisiong flow. By default skip provisioning flow will be set to false.
60
64
61
-
### Workflow
62
65
63
66
67
+
### Workflow
68
+
69
+
```mermaid
70
+
sequenceDiagram
71
+
autonumber
72
+
participant User
73
+
box rgba(32, 194, 142, 1) Edge Node
74
+
participant DeviceDiscovery as Device Discovery Agent
75
+
participant EdgeNode as Edge Node
76
+
end
77
+
78
+
box rgba(10, 184, 242, 1) Orchestrator Components
79
+
participant API as API-v2
80
+
participant TinkerNginx as Tinker-Nginx
81
+
participant OnboardingMgr as Onboarding Manager
82
+
participant DKAM
83
+
participant Inventory
84
+
end
85
+
86
+
DKAM->>DKAM: Read EMF capabilities from infra-config
0 commit comments