forked from LaconicNetwork/kompose
* Use go mod instead of glide * Add `--with-kompose-annotation` flag to allow us to switch it off for tests * Remove hostpid support (since the newest sdk does not support it) * Create new test script and fixtures * Remove replicationcontroller support
28 lines
355 B
YAML
28 lines
355 B
YAML
version: "2"
|
|
|
|
services:
|
|
foo:
|
|
# create a pod
|
|
image: "foobar"
|
|
restart: "no"
|
|
environment:
|
|
GITHUB: surajssd
|
|
ports:
|
|
- "2345"
|
|
- "6379/tcp"
|
|
- "6379/udp"
|
|
mem_limit: 10000
|
|
|
|
group_add:
|
|
- "1234"
|
|
|
|
redis:
|
|
image: redis:3.0
|
|
ports:
|
|
- "6379/tcp"
|
|
- "1234:1235/udp"
|
|
|
|
mem_limit: 10000Mb
|
|
|
|
|