Skip to content
Snippets Groups Projects
Commit 198117c4 authored by JonasS's avatar JonasS
Browse files

feat: add placement groups

- documentation
- update readme for next version
parent 24f49026
Branches
Tags
No related merge requests found
...@@ -15,8 +15,8 @@ You can find sources and pre-compiled binaries [here](https://github.com/JonasPr ...@@ -15,8 +15,8 @@ You can find sources and pre-compiled binaries [here](https://github.com/JonasPr
```bash ```bash
# Download the binary (this example downloads the binary for linux amd64) # Download the binary (this example downloads the binary for linux amd64)
$ 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 $ 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
$ tar -xvf docker-machine-driver-hetzner_3.4.0_linux_amd64.tar.gz $ tar -xvf docker-machine-driver-hetzner_3.5.0_linux_amd64.tar.gz
# Make it executable and copy the binary in a directory accessible with your $PATH # Make it executable and copy the binary in a directory accessible with your $PATH
$ chmod +x docker-machine-driver-hetzner $ chmod +x docker-machine-driver-hetzner
...@@ -106,6 +106,8 @@ $ docker-machine create \ ...@@ -106,6 +106,8 @@ $ docker-machine create \
- `--hetzner-firewalls`: Firewall IDs or names which should be applied on the server - `--hetzner-firewalls`: Firewall IDs or names which should be applied on the server
- `--hetzner-server-label`: `key=value` pairs of additional metadata to assign to the server. - `--hetzner-server-label`: `key=value` pairs of additional metadata to assign to the server.
- `--hetzner-key-label`: `key=value` pairs of additional metadata to assign to SSH key (only applies if newly creadted). - `--hetzner-key-label`: `key=value` pairs of additional metadata to assign to SSH key (only applies if newly creadted).
- `--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
- `--hetzner-auto-spread`: Add to a `docker-machine` provided `spread` group (mutually exclusive with `--hetzner-placement-group`)
#### Existing SSH keys #### Existing SSH keys
...@@ -141,6 +143,8 @@ was used during creation. ...@@ -141,6 +143,8 @@ was used during creation.
| `--hetzner-use-private-network` | `HETZNER_USE_PRIVATE_NETWORK` | false | | `--hetzner-use-private-network` | `HETZNER_USE_PRIVATE_NETWORK` | false |
| `--hetzner-server-label` | (inoperative) | `[]` | | `--hetzner-server-label` | (inoperative) | `[]` |
| `--hetzner-key-label` | (inoperative) | `[]` | | `--hetzner-key-label` | (inoperative) | `[]` |
| `--hetzner-placement-group` | `HETZNER_PLACEMENT_GROUP` | - |
| `--hetzner-auto-spread` | `HETZNER_AUTO_SPREAD` | false |
## Building from source ## Building from source
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment