1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"lexicon": 1,
"id": "com.publicdomainrelay.temp.cluster.controlPlaneUp",
"defs": {
"main": {
"type": "procedure",
"description": "Bring the named cluster's control plane up: flip the Cluster's desired state to running and materialise its process group and objects, in order. Idempotent and safe to retry - the call flips a declaration and the materialiser does the work. While the cluster is Initializing this method answers 429 with a Retry-After header, which client-go honours automatically; an implementation that retried forever instead would make that promise a lie. Refused once the cluster is Draining, because a process group must not be spawned into a running teardown order. Does NOT provision nodes - nodes are the automatic content-delta trigger's business.",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["name"],
"properties": {
"name": {
"type": "string",
"description": "The cluster label, unique within the calling account."
}
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["phase"],
"properties": {
"phase": {
"type": "string",
"knownValues": ["Unavailable", "Initializing", "Ready", "Draining"],
"description": "The cluster's phase as of this call. Initializing means the 429 is still in force."
}
}
}
},
"errors": [
{ "name": "InvalidRequest", "description": "Name absent, or not a legal RFC-1123 label within 63 characters." },
{ "name": "Unauthorized", "description": "Missing or invalid service-auth token. Also returned when the token's aud is not this service or its lxm is not this method." },
{ "name": "IdentityRevoked", "description": "The caller's identity carries a deny record for this account." },
{ "name": "ClusterNotFound", "description": "This account has no cluster of that name. Deliberately indistinguishable from a name that belongs to another account." },
{ "name": "ClusterDraining", "description": "The cluster is being torn down and its desired state is frozen. Not retryable: a Draining cluster cannot be un-drained, by design - a cancellable teardown gate is a gate an operator clears to make the symptom go away." },
{ "name": "ClusterInitializing", "description": "The cluster is still coming up. RETRYABLE: carries Retry-After, and client-go retries on it without further instruction." }
]
}
}
}