Created
September 2, 2016 09:44
-
-
Save lulf/43e21b7140c4f3abae7dc373b5f9be06 to your computer and use it in GitHub Desktop.
flavor example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: flavors | |
data: | |
json: | | |
{ | |
"vanilla": { | |
"shared_cluster": true, | |
"spec": { | |
"common": { | |
"volumes": [ | |
{ | |
"name": "vol-vanilla", | |
"emptyDir": {} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "broker", | |
"image": "enmasseproject/artemis:latest", | |
"ports": [ | |
{ | |
"name": "amqp", | |
"containerPort": 5673 | |
}, | |
{ | |
"name": "core", | |
"containerPort": 61616 | |
} | |
], | |
"volumeMounts": [ | |
{ | |
"name": "vol-vanilla", | |
"mountPath": "/var/run/artemis" | |
} | |
] | |
}, | |
{ | |
"name": "router", | |
"image": "gordons/qdrouterd:latest", | |
"ports": [ | |
{ | |
"name": "amqp", | |
"containerPort": 5672 | |
} | |
] | |
} | |
] | |
}, | |
"anycast": { | |
"containers": [ | |
{ | |
"name": "broker", | |
"lifecycle": { | |
"preStop": { | |
"exec": { | |
"command": [ | |
"/artemis-shutdown-hook/bin/artemis-shutdown-hook" | |
] | |
} | |
} | |
} | |
} | |
] | |
}, | |
"multicast": { | |
"containers": [ | |
{ | |
"name": "forwarder", | |
"image": "enmasseproject/topic-forwarder:latest" | |
} | |
] | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment