You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
The request body must contain a JSON document in [JSONPatch](http://jsonpatch.com) format. Supported operations are "add", "remove" and "replace". Any number of operations for any number of machines, including machines not currently registered with the cluster, may be included in a single request. All operations will be processed in-order, top to bottom after validation. Modified metadata will persist across a machine leaving and rejoining the cluster.
222
+
223
+
224
+
#### Response
225
+
226
+
A success in indicated by a `204 No Content`.
227
+
Invalid operations, missing values, or improperly formatted paths will result in a `400 Bad Request`.
228
+
205
229
## Capability Discovery
206
230
207
231
The v1 fleet API is described by a [discovery document][disco]. Users should generate their client bindings from this document using the appropriate language generator.
Copy file name to clipboardExpand all lines: Documentation/unit-files-and-scheduling.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -210,7 +210,7 @@ app.service fd1d3e94.../10.0.0.1 active running
210
210
```
211
211
212
212
A machine is not automatically configured with metadata.
213
-
A deployer may define machine metadata using the `metadata`[config option][config-option].
213
+
A deployer may define machine metadata using the `metadata`[config option][config-option] or via the [HTTP api][http-api].
214
214
215
215
## Schedule unit next to another unit
216
216
@@ -244,6 +244,7 @@ MachineOf=%p.socket
244
244
would result in an effective `MachineOf` of `foo.socket`. Using the same unit snippet with a Unit called `bar.service`, on the other hand, would result in an effective `MachineOf` of `bar.socket`.
0 commit comments