Skip to content

Instantly share code, notes, and snippets.

@markllama
Created September 29, 2014 23:43
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/648671cd28e60e0b88e3 to your computer and use it in GitHub Desktop.
Save markllama/648671cd28e60e0b88e3 to your computer and use it in GitHub Desktop.
The Kubernetes pod definition for a Pulp Resource Manager
{
"id": "pulp-resource-manager",
"desiredState": {
"manifest": {
"version": "v1beta1",
"id": "pulp-resource-manager",
"containers": [{
"name": "pulp-resource-manager",
"image": "markllama/pulp-resource-manager",
"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-resource-manager"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment