Skip to content

Instantly share code, notes, and snippets.

@lulf
Created September 2, 2016 09:44
Show Gist options
  • Save lulf/43e21b7140c4f3abae7dc373b5f9be06 to your computer and use it in GitHub Desktop.
Save lulf/43e21b7140c4f3abae7dc373b5f9be06 to your computer and use it in GitHub Desktop.
flavor example
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