Skip to content

Instantly share code, notes, and snippets.

@markllama
Created September 26, 2014 13:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markllama/81c4333b298522ce6507 to your computer and use it in GitHub Desktop.
Save markllama/81c4333b298522ce6507 to your computer and use it in GitHub Desktop.
The JSON description of a Pulp Beat container for Kubernetes
{
"id": "pulp-beat",
"desiredState": {
"manifest": {
"version": "v1beta1",
"id": "pulp-beat",
"containers": [{
"name": "pulp-beat",
"image": "markllama/pulp-beat",
"env": [{
"name": "PULP_SERVER_NAME",
"value": "pulp.example.com"
}],
"volumeMounts": [{
"name": "devlog",
"readOnly": false,
"mountPath": "/dev/log"
}],
}],
"volumes": [{
"name": "devlog",
"source": {"hostDir": {"path": "/dev/log"}}
}]
}
},
"labels": {
"name": "pulp-beat"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment