Skip to main content

Step 2. Customer set up

Placement

As the customer, McDougals will now request a placement. They do so by creating a placement file in their project named pilot.md. The command in VSCode creates the basic file structure.

/mcdougals-edgecell/placement/pilot.yaml

apiVersion: edgecell.io/v1
kind: Placement
metadata:
name: pilot01
namespace: mcdougals.com
uuid: 6f852492-2b5d-45c9-93d9-5129a77ad1d2
labels:
env: test
project: pilot
annotations:
description: Pilot cluster
telephone: (940) 555-3057
address: |-
McDougals HQ
2700 West University
Denton, TX 76201
spec:
nodes:
- type: edgecell.io/aa1
- type: edgecell.io/aa1
- type: edgecell.io/aa1
localnetwork:
type: dhcp

They have named this placement pilot01. They have labeled it with env: test to indicate it as a test cluster.

Key is the spec section. They have indicated that the placement should have three nodes. However, there are no nodes actually assigned to this placement yet, so all we define is the node type. The rest of the nodes spec is left null.

Schedule

McDougals also provides the schedule for when and where they would like the placement delivered.

/mcdougals-edgecell/shipment/shippilot.yaml

apiVersion: edgecell.io/v1
kind: Schedule
metadata:
name: pilotW09
namespace: mcdougals.com
uuid: 1f2d19ec-5536-4e1a-9dd2-5442c76c6961
labels:
annotations:
description: Pilot cluster
spec:
week: 2023W09
placements:
- mcdougals.com/pilot01
address: |-
Steve Lobinowitz
McDougals Inc
2700 West University
Denton, TX 76201
telephone: (940) 555-3057

We will go in to details for shipping in the next step.