Skip to content

Instantly share code, notes, and snippets.

@feiskyer
Created September 16, 2015 07:48
Show Gist options
  • Select an option

  • Save feiskyer/05bab3f9f7ceed55de87 to your computer and use it in GitHub Desktop.

Select an option

Save feiskyer/05bab3f9f7ceed55de87 to your computer and use it in GitHub Desktop.
hyper-pod.md
```json
{
"containers": [
{
"envs": [
{
"env": "KUBERNETES_SERVICE_HOST",
"value": "10.254.0.1"
},
{
"env": "KUBERNETES_SERVICE_PORT",
"value": "443"
},
{
"env": "KUBERNETES_PORT",
"value": "tcp://10.254.0.1:443"
},
{
"env": "KUBERNETES_PORT_443_TCP",
"value": "tcp://10.254.0.1:443"
},
{
"env": "KUBERNETES_PORT_443_TCP_PROTO",
"value": "tcp"
},
{
"env": "KUBERNETES_PORT_443_TCP_PORT",
"value": "443"
},
{
"env": "KUBERNETES_PORT_443_TCP_ADDR",
"value": "10.254.0.1"
}
],
"image": "nginx",
"name": "kube_38e8b9ec-5c46-11e5-991c-06a3779499cd_nginx_default_nginx.5ea0228b_0d3d8feb",
"ports": [
{
"containerPort": 80,
"protocol": "TCP"
}
],
"tty": false,
"volumes": [
{
"path": "/var/run/secrets/kubernetes.io/serviceaccount",
"readOnly": true,
"volume": "default-token-ie6re"
}
]
}
],
"id": "kube_38e8b9ec-5c46-11e5-991c-06a3779499cd_nginx_default",
"resource": {
"memory": 192,
"vcpu": 1
},
"tty": true,
"type": "pod",
"volumes": [
{
"driver": "vfs",
"name": "default-token-ie6re",
"source": "/var/lib/kubelet/pods/38e8b9ec-5c46-11e5-991c-06a3779499cd/volumes/kubernetes.io~secret/default-token-ie6re"
}
]
}
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment