Read a cluster again for addresses
Asks the cluster's operator to read the ingress classes, the load balancer, cert-manager and the Gateway API now, and keeps the answer. It changes nothing in the cluster. 503 `previews.operator_unreachable` when the operator is not connected.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
clusterId*stringuuidIdempotency-Key?stringMakes retries safe. A repeated key with the same request returns the first result and sets
Idempotent-Replayed: true. The same key with a different request answers 409
idempotency.key_reused, and while the first request is still running 409
idempotency.in_progress. Results are kept for 24 hours. Server errors and refusals for lack
of sign-in or permission are not kept, so a retry runs again.
^[A-Za-z0-9_.:-]+$1 <= length <= 255The cluster's addresses, read now.
application/json- response
mode*AddressModedomain puts a deployment under the wildcard domain, as <app>-<deployment>.<domain>. load_balancer makes the address from the cluster's load balancer through sslip.io, as <app>-<deployment>.<ip>.sslip.io. own leaves it to the app's manifests: Wardn only deploys, and reads the link from the Ingress or HTTPRoute.
"domain""load_balancer""own"domain*stringhttps*AddressHttpsletsencrypt asks cert-manager for a certificate through the wardn-letsencrypt ClusterIssuer; a cluster without cert-manager gives a deployment no link and says why. own_certificate serves the TLS Secret named in tlsSecret, which must exist in the deployment's namespace. off serves plain HTTP. It does not apply to own.
"letsencrypt""own_certificate""off"tlsSecret*stringchecked*booleanWhether the operator has read the cluster at all.
checkedAt?stringdate-timeoperatorConnected*booleanaddress?stringThe address deployments are reached on; absent when the cluster has no public address.
withoutDomain?stringWhat a deployment's address ends with when the cluster has no domain, such as *.203.0.113.9.sslip.io; absent without an IP address.
ingressClasses*array<>loadBalancers*array<>certManager*gatewayApi*booleancanInstallCertManager*booleanTrue while the cluster lets Wardn prepare namespaces and cert-manager is not there.
installVersion?stringThe release of cert-manager Wardn would install.
problems*array<string>What the operator could not read.
curl -X POST 'https://wardn.example.com/api/v1/clusters/497f6eca-6276-4993-bfeb-53cbbbba6f08/addresses/check'{ "mode": "domain", "domain": "string", "https": "letsencrypt", "tlsSecret": "string", "checked": true, "checkedAt": "2019-08-24T14:15:22Z", "operatorConnected": true, "address": "string", "withoutDomain": "string", "ingressClasses": [ { "name": "string", "controller": "string", "default": true, "address": "string" } ], "loadBalancers": [ { "namespace": "string", "service": "string", "address": "string" } ], "certManager": { "installed": true, "ready": true, "version": "string", "issuer": "" }, "gatewayApi": true, "canInstallCertManager": true, "installVersion": "string", "problems": [ "string" ]}Set how deployments on a cluster are reached PUT
A deployment's address is `<app>-<deployment>.<domain>` with the `domain` mode, `<app>-<deployment>.<ip>.sslip.io` with the `load_balancer` mode, and whatever the app's own manifests say with `own`. Recorded in Activity as `cluster.addresses_updated`.
Check a domain's DNS against a cluster POST
Looks up a name under the wildcard domain and compares the answer with the address of the cluster's ingress. It changes nothing. Without `domain` the cluster's saved domain is checked.