Before you begin, ensure you have the following installed:
bash
systemd
rsync
jq
zstd
conntrack
(required forPXKE
clusters)systemd-networkd
(required if palette is managing networks)systemd-resolved
(required if palette is managing DNS)systemd-timesyncd
(required if palette is managing NTP)
To quickly install the agent, run the following command:
curl -Ls https://github.com/spectrocloud/agent-mode/releases/latest/download/palette-agent-install.sh | bash
Userdata can be a URL or a file path.
curl -Ls https://github.com/spectrocloud/agent-mode/releases/latest/download/palette-agent-install.sh | USERDATA=https://xxx/userdata bash
# or
curl -Ls https://github.com/spectrocloud/agent-mode/releases/latest/download/palette-agent-install.sh | USERDATA=/path/to/userdata bash
curl -Ls https://github.com/spectrocloud/agent-mode/releases/latest/download/palette-agent-install.sh | VERSION=v4.5.0 bash
Refer to Palette Agent Parameters Documentation for more details.
Here are some examples of how to use the install script on different platforms.
earthly +install-script \
--IMAGE_REPO=us-docker.pkg.dev/palette-images/edge \
--AGENT_URL_PREFIX=https://github.com/spectrocloud/agent-mode/releases/download/v4.5.0-rc5 \
--PE_VERSION=v4.5.0-rc7