ankra targets
Manage host deploy targets: machines outside Kubernetes that run the ankra-host-agent and receive releases from ‘kind: deploy’ pipeline stages. A host joins an environment with a single-use join token:ankra targets get
Show a host deploy targetankra targets join-token
Mint join tokens that let a host register into an environmentankra targets join-token create
Mint a single-use join token a host registers into the environment with. The environment is created when it does not exist yet. The token is shown exactly once: the platform keeps only its hash. Without -o it is the only thing written to stdout (the expiry and the next step go to stderr), so it can be piped straight into ‘ankra targets register--token-stdin’ on the host.
ankra targets list
List host deploy targetsankra targets register
Register this machine as a host deploy target and start its agent. Run it as root on the host itself, with a join token from ‘ankra targets join-token create’ on stdin. The command:- downloads ankra-host-agent for this machine’s OS and architecture and its systemd unit from the agent release, and refuses them unless their SHA-256 matches the release’s SHA256SUMS;
- installs the binary as /usr/local/bin/ankra-host-agent;
- runs ‘ankra-host-agent register’, passing the join token on stdin - the agent does the registration and stores its own identity token;
- installs and starts ankra-host-agent.service.
--no-install prints these steps without doing any of them.
The agent reaches the platform at --base-url (or the configured base URL),
over outbound HTTPS only.