Infra Workers Register K 8 S Create

View as Markdown

Register an air-worker pod via its Kubernetes ServiceAccount JWT.

Validates the token against the K8s TokenReview API, creates the worker record if it does not yet exist, and returns an mTLS client certificate.

Request

This endpoint expects an object.
tokenstringRequired>=1 character
Kubernetes ServiceAccount JWT token.
fqdnstringRequired1-255 characters

Fully-qualified domain name of the worker.

fleetstringRequiredformat: "uuid"
ID of the fleet the worker belongs to.
ip_addressstringRequired>=1 character
IP address of the worker.

Response

fqdnstring<=255 characters

Fully-qualified domain name of the worker.

fleetstringformat: "uuid"
ID of the fleet the worker belongs to.
ip_addressstring
IP address of the worker.