Skip to content

Commit 198117c

Browse files
feat: add placement groups
- documentation - update readme for next version
1 parent 24f4902 commit 198117c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ You can find sources and pre-compiled binaries [here](https://github.com/JonasPr
1515

1616
```bash
1717
# Download the binary (this example downloads the binary for linux amd64)
18-
$ wget https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.4.0/docker-machine-driver-hetzner_3.4.0_linux_amd64.tar.gz
19-
$ tar -xvf docker-machine-driver-hetzner_3.4.0_linux_amd64.tar.gz
18+
$ wget https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.5.0/docker-machine-driver-hetzner_3.5.0_linux_amd64.tar.gz
19+
$ tar -xvf docker-machine-driver-hetzner_3.5.0_linux_amd64.tar.gz
2020

2121
# Make it executable and copy the binary in a directory accessible with your $PATH
2222
$ chmod +x docker-machine-driver-hetzner
@@ -106,6 +106,8 @@ $ docker-machine create \
106106
- `--hetzner-firewalls`: Firewall IDs or names which should be applied on the server
107107
- `--hetzner-server-label`: `key=value` pairs of additional metadata to assign to the server.
108108
- `--hetzner-key-label`: `key=value` pairs of additional metadata to assign to SSH key (only applies if newly creadted).
109+
- `--hetzner-placement-group`: Add to a placement group by name or ID; a spread-group will be created on demand if it does not exist
110+
- `--hetzner-auto-spread`: Add to a `docker-machine` provided `spread` group (mutually exclusive with `--hetzner-placement-group`)
109111

110112
#### Existing SSH keys
111113

@@ -141,6 +143,8 @@ was used during creation.
141143
| `--hetzner-use-private-network` | `HETZNER_USE_PRIVATE_NETWORK` | false |
142144
| `--hetzner-server-label` | (inoperative) | `[]` |
143145
| `--hetzner-key-label` | (inoperative) | `[]` |
146+
| `--hetzner-placement-group` | `HETZNER_PLACEMENT_GROUP` | - |
147+
| `--hetzner-auto-spread` | `HETZNER_AUTO_SPREAD` | false |
144148

145149
## Building from source
146150

0 commit comments

Comments
 (0)