Skip to content

Instantly share code, notes, and snippets.

@bketelsen
Created September 6, 2014 21:58
Show Gist options
  • Save bketelsen/b770b77776ed4ab96cf4 to your computer and use it in GitHub Desktop.
Save bketelsen/b770b77776ed4ab96cf4 to your computer and use it in GitHub Desktop.
{
"kind": "Pod",
"apiVersion": "v1beta1",
"id": "gawebsites",
"desiredState": {
"manifest": {
"version": "v1beta1",
"id": "gawebsites",
"containers": [{
"name": "gophercon",
"image": "bketelsen/gophercon:latest",
"ports": [{
"containerPort": 80,
"hostPort": 8080
}],
"livenessProbe": {
"enabled": true,
"type": "http",
"initialDelaySeconds": 30,
"httpGet": {
"path": "/index.html",
"port": "8080"
}
}
},
{
"name": "gopheracademy",
"image": "bketelsen/gopheracademy:latest",
"ports": [{
"containerPort": 80,
"hostPort": 8081
}],
"livenessProbe": {
"enabled": true,
"type": "http",
"initialDelaySeconds": 30,
"httpGet": {
"path": "/gojobs",
"port": "8081"
}
}
},
{
"name": "gablog",
"image": "bketelsen/gablog:latest",
"ports": [{
"containerPort": 9003,
"hostPort": 8083
}],
"livenessProbe": {
"enabled": true,
"type": "http",
"initialDelaySeconds": 30,
"httpGet": {
"path": "/index.html",
"port": "8083"
}
}
},
{
"name": "nginx",
"image": "bketelsen/gopheracademy-nginx",
"ports": [{
"containerPort": 80,
"hostPort": 8084
}]
}]
}
},
"labels": {
"name": "gaweb"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment