Skip to main content
Version: v3.9.0

potctl Resource Management

Deploying New Edge Compute Networks​

potctl deploys an entire ECN from a single YAML file:

potctl deploy -f ecn.yaml

You can also deploy individual components:

potctl deploy -f controlplane.yaml
potctl deploy -f controller.yaml
potctl deploy -f agent.yaml
potctl deploy -f application.yaml

Deploy commands are idempotent. If a deploy fails, run the same command again.

Deploy Model, Knowledge, and RuntimeClass YAML the same way, then attach them to Edgelet nodes:

potctl deploy -f model.yaml
potctl deploy -f knowledge.yaml
potctl attach model MODEL_NAME AGENT_NAME…
potctl attach knowledge KNOWLEDGE_NAME AGENT_NAME…

Platform YAML specs: Control plane in Learn, Applications in Learn, AI model catalog, AI knowledge catalog.

Delete Components of Edge Compute Networks​

Deleting Control Planes, Controllers, and Edgelet nodes terminates daemons on remote hosts.

potctl delete controller alpaca-1
potctl delete agent kiwi-1
potctl delete application health-care-app
potctl delete microservice health-case-ui
potctl delete model wafer-defect
potctl delete knowledge my-kb

To undo a deletion, re-run the deploy command for that resource.

Wipe an entire ECN:

potctl delete all

Delete a namespace and its resources:

potctl delete namespace zoo-1 --force
Group 3See anything wrong with the document? Help us improve it!