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.
9 lines
123 B
YAML
9 lines
123 B
YAML
version: '3'
|
|
services:
|
|
db:
|
|
image: postgres
|
|
deploy:
|
|
placement:
|
|
constraints: [node.hostname == machine]
|
|
|