Deploy and manage Spectro Cloud Palette Edge clusters using Agent Mode. Covers installation, registration tokens, node validation, cluster profiles with BYOOS pack, and uninstallation procedures.
Agent Mode lets you bring your own host and OS to be managed by Palette. The Palette agent is installed on existing infrastructure - bare metal, VMs, cloud instances, or edge devices.
system.uri: "NA" (not a custom provider image)For API auth and project UID lookup, use the spectrocloud-common skill.
sudo apt-get update && sudo apt-get install -y \
bash jq zstd rsync systemd-timesyncd conntrack iptables rsyslog \
--no-install-recommends
Required services:
systemd-resolved (for DNS/overlay networks)systemd-networkd (for static IP/overlay networks)Tokens link Edge hosts to a Palette project. Create via UI:
Important: Either set a Default Project on the token OR provide stylus.site.projectName in user-data.
ssh -i /path/to/key ubuntu@<host-ip>
export TOKEN=<your-registration-token>
Minimal configuration (required fields only):
#cloud-config
install:
reboot: true
stylus:
site:
edgeHostToken: <registration-token>
paletteEndpoint: api.spectrocloud.com
projectName: <project-name>
Before proceeding, ask if the user needs any advanced configurations:
stylus.site.name)Advanced configuration example:
#cloud-config
install:
reboot: true
partitions:
oem:
size: 5120 # MB
fs: ext4
system:
size: 8192
recovery-system:
size: 10000
passive:
size: 8192
stylus:
site:
edgeHostToken: <registration-token>
paletteEndpoint: api.spectrocloud.com
projectName: <project-name>
name: custom-edge-host-name # Optional: custom name instead of auto-generated
network:
httpProxy: http://proxy:8080
httpsProxy: http://proxy:8080
noProxy: localhost,127.0.0.1,.local
caCerts:
- |
-----BEGIN CERTIFICATE-----
<CA cert content>
-----END CERTIFICATE-----
tags:
environment: production
location: datacenter-1
installationMode: connected # connected or airgap
managementMode: central # central or local
Create the user-data file:
cat << EOF > user-data
#cloud-config
install:
reboot: true
stylus:
site:
edgeHostToken: $TOKEN
paletteEndpoint: api.spectrocloud.com
projectName: <project-name>
EOF
# Latest version (SaaS)
curl -LO https://github.com/spectrocloud/agent-mode/releases/latest/download/palette-agent-install.sh
chmod +x palette-agent-install.sh
# For FIPS compliance, use palette-agent-install-fips.sh
export USERDATA=./user-data
sudo --preserve-env ./palette-agent-install.sh
Host reboots automatically after installation.
Get your Palette's agent version first:
curl -s "https://<palette-endpoint>/v1/services/stylus/version" \
-H "Content-Type: application/json" \
-H "Apikey: <api-key>" | \
jq -r '.spec.latestVersion.content | match("version: ([^\n]+)").captures[0].string'
Then download matching version:
curl -LO "https://github.com/spectrocloud/agent-mode/releases/download/v<version>/palette-agent-install.sh"
Troubleshooting: If previously registered, delete the Edge host from Palette first - duplicate IDs cause registration failure.
sudo systemctl status spectro-stylus-agent.service
sudo systemctl status spectro-stylus-operator.service
journalctl -u spectro-stylus-agent.service -f
journalctl -u spectro-stylus-operator.service -f
/var/log/stylus-upgrade.log/var/log/kube-init.log/var/log/kube-join.logNo official uninstall documentation exists. Manual cleanup:
Remove the Edge host from Palette console first (Clusters → Edge Hosts → Delete)
sudo systemctl stop spectro-stylus-agent.service
sudo systemctl stop spectro-stylus-operator.service
sudo systemctl disable spectro-stylus-agent.service
sudo systemctl disable spectro-stylus-operator.service
sudo rm -rf /usr/local/spectrocloud/
sudo rm -rf /var/lib/spectro/
sudo rm -rf /opt/spectrocloud/
# Reset kubeadm if used
sudo kubeadm reset -f
# Remove K8s directories
sudo rm -rf /etc/kubernetes/
sudo rm -rf /var/lib/kubelet/
sudo rm -rf /var/lib/etcd/
sudo rm -rf ~/.kube/
sudo rm -f /etc/systemd/system/spectro-*.service
sudo systemctl daemon-reload
sudo reboot
If behind a proxy, export before installation:
export http_proxy=http://proxy:port
export https_proxy=http://proxy:port
export HTTP_PROXY=http://proxy:port
export HTTPS_PROXY=http://proxy:port
| Item | Value |
|------|-------|
| Install script | https://github.com/spectrocloud/agent-mode/releases/latest/download/palette-agent-install.sh |
| FIPS script | ...palette-agent-install-fips.sh |
| Agent service | spectro-stylus-agent.service |
| Operator service | spectro-stylus-operator.service |
| Config location | /var/lib/spectro/userdata |
| Default API endpoint | api.spectrocloud.com |
npx skills add nctiggy/spectrocloud-agent-mode下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer