forked from LaconicNetwork/kompose
it will map `engine.labels.operatingsystem` to `beta.kubernetes.io/os` and `node.hostname` to `kubernetes.io/hostname` and all other constraints will not be supported.
11 lines
189 B
YAML
11 lines
189 B
YAML
version: '3'
|
|
services:
|
|
db:
|
|
image: postgres
|
|
deploy:
|
|
placement:
|
|
constraints:
|
|
- node.hostname == machine
|
|
- engine.labels.operatingsystem == ubuntu 14.04
|
|
|