Skip to content

Instantly share code, notes, and snippets.

@r0bj
Created October 5, 2016 11:46
Show Gist options
  • Save r0bj/25474e6eba5a9fc5cc38ca63ba28d5e7 to your computer and use it in GitHub Desktop.
Save r0bj/25474e6eba5a9fc5cc38ca63ba28d5e7 to your computer and use it in GitHub Desktop.
[
{
"Id": "3d18f2c2122d846f1626b9d77247d12a9d8b649294bdc463b7168a0b6873180d",
"Created": "2016-10-05T10:02:04.507584026Z",
"Path": "/kube-dns",
"Args": [
"--domain=cluster.local",
"--dns-port=10053"
],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 22572,
"ExitCode": 0,
"Error": "",
"StartedAt": "2016-10-05T10:02:04.625367606Z",
"FinishedAt": "0001-01-01T00:00:00Z"
},
"Image": "sha256:bec33bc01f037e7c0e4aba1774996579dbe7c786001df522976c2bbce98606c8",
"ResolvConfPath": "/var/lib/docker/containers/430c377751ff9d71eeabef32e0fd1163d28fa787dbdca63eb6dc7fd59168704d/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/430c377751ff9d71eeabef32e0fd1163d28fa787dbdca63eb6dc7fd59168704d/hostname",
"HostsPath": "/var/lib/kubelet/pods/107ee2e9-8adf-11e6-a34f-00163e4cf557/etc-hosts",
"LogPath": "/var/lib/docker/containers/3d18f2c2122d846f1626b9d77247d12a9d8b649294bdc463b7168a0b6873180d/3d18f2c2122d846f1626b9d77247d12a9d8b649294bdc463b7168a0b6873180d-json.log",
"Name": "/k8s_kubedns.77ca8f22_kube-dns-v19-4216573841-bo722_kube-system_107ee2e9-8adf-11e6-a34f-00163e4cf557_ae2dbe13",
"RestartCount": 0,
"Driver": "overlay",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/var/lib/kubelet/pods/107ee2e9-8adf-11e6-a34f-00163e4cf557/volumes/kubernetes.io~secret/default-token-4anma:/var/run/secrets/kubernetes.io/serviceaccount:ro",
"/var/lib/kubelet/pods/107ee2e9-8adf-11e6-a34f-00163e4cf557/etc-hosts:/etc/hosts",
"/var/lib/kubelet/pods/107ee2e9-8adf-11e6-a34f-00163e4cf557/containers/kubedns/ae2dbe13:/dev/termination-log"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "container:430c377751ff9d71eeabef32e0fd1163d28fa787dbdca63eb6dc7fd59168704d",
"PortBindings": null,
"RestartPolicy": {
"Name": "",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": null,
"CapDrop": null,
"Dns": null,
"DnsOptions": null,
"DnsSearch": null,
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "container:430c377751ff9d71eeabef32e0fd1163d28fa787dbdca63eb6dc7fd59168704d",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 998,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": [
"seccomp=unconfined"
],
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"ConsoleSize": [
0,
0
],
"Isolation": "",
"CpuShares": 102,
"Memory": 178257920,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 100000,
"CpuQuota": 10000,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": null,
"DiskQuota": 0,
"KernelMemory": 0,
"MemoryReservation": 0,
"MemorySwap": -1,
"MemorySwappiness": -1,
"OomKillDisable": false,
"PidsLimit": 0,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0
},
"GraphDriver": {
"Name": "overlay",
"Data": {
"LowerDir": "/var/lib/docker/overlay/7f2557e624455d927a3457767290e93cb5dc2a6ae18ff4d143f053a4325f98e6/root",
"MergedDir": "/var/lib/docker/overlay/94a4b2608ea78647721be59d35824d6ff499aac15ae7db1821295eb52c84b144/merged",
"UpperDir": "/var/lib/docker/overlay/94a4b2608ea78647721be59d35824d6ff499aac15ae7db1821295eb52c84b144/upper",
"WorkDir": "/var/lib/docker/overlay/94a4b2608ea78647721be59d35824d6ff499aac15ae7db1821295eb52c84b144/work"
}
},
"Mounts": [
{
"Source": "/var/lib/kubelet/pods/107ee2e9-8adf-11e6-a34f-00163e4cf557/volumes/kubernetes.io~secret/default-token-4anma",
"Destination": "/var/run/secrets/kubernetes.io/serviceaccount",
"Mode": "ro",
"RW": false,
"Propagation": "rprivate"
},
{
"Source": "/var/lib/kubelet/pods/107ee2e9-8adf-11e6-a34f-00163e4cf557/etc-hosts",
"Destination": "/etc/hosts",
"Mode": "",
"RW": true,
"Propagation": "rprivate"
},
{
"Source": "/var/lib/kubelet/pods/107ee2e9-8adf-11e6-a34f-00163e4cf557/containers/kubedns/ae2dbe13",
"Destination": "/dev/termination-log",
"Mode": "",
"RW": true,
"Propagation": "rprivate"
}
],
"Config": {
"Hostname": "kube-dns-v19-4216573841-bo722",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"KUBERNETES_PORT_443_TCP_PROTO=tcp",
"KUBE_DNS_PORT_53_TCP=tcp://10.32.0.10:53",
"KUBE_DNS_PORT_53_TCP_PROTO=tcp",
"KUBERNETES_SERVICE_HOST=10.32.0.1",
"KUBERNETES_SERVICE_PORT_HTTPS=443",
"KUBERNETES_PORT_443_TCP_ADDR=10.32.0.1",
"KUBE_DNS_PORT_53_UDP_PROTO=udp",
"KUBE_DNS_PORT_53_UDP_PORT=53",
"KUBERNETES_PORT=tcp://10.32.0.1:443",
"KUBERNETES_PORT_443_TCP=tcp://10.32.0.1:443",
"KUBE_DNS_SERVICE_HOST=10.32.0.10",
"KUBE_DNS_SERVICE_PORT=53",
"KUBE_DNS_PORT_53_UDP=udp://10.32.0.10:53",
"KUBERNETES_SERVICE_PORT=443",
"KUBE_DNS_PORT_53_TCP_PORT=53",
"KUBE_DNS_PORT_53_TCP_ADDR=10.32.0.10",
"KUBERNETES_PORT_443_TCP_PORT=443",
"KUBE_DNS_SERVICE_PORT_DNS=53",
"KUBE_DNS_SERVICE_PORT_DNS_TCP=53",
"KUBE_DNS_PORT=udp://10.32.0.10:53",
"KUBE_DNS_PORT_53_UDP_ADDR=10.32.0.10",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"Cmd": [
"--domain=cluster.local",
"--dns-port=10053"
],
"Image": "gcr.io/google_containers/kubedns-amd64:1.7",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": [
"/kube-dns"
],
"OnBuild": null,
"Labels": {
"io.kubernetes.container.hash": "77ca8f22",
"io.kubernetes.container.name": "kubedns",
"io.kubernetes.container.ports": "[{\"name\":\"dns-local\",\"containerPort\":10053,\"protocol\":\"UDP\"},{\"name\":\"dns-tcp-local\",\"containerPort\":10053,\"protocol\":\"TCP\"}]",
"io.kubernetes.container.restartCount": "11",
"io.kubernetes.container.terminationMessagePath": "/dev/termination-log",
"io.kubernetes.pod.name": "kube-dns-v19-4216573841-bo722",
"io.kubernetes.pod.namespace": "kube-system",
"io.kubernetes.pod.terminationGracePeriod": "30",
"io.kubernetes.pod.uid": "107ee2e9-8adf-11e6-a34f-00163e4cf557"
}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": null,
"SandboxKey": "",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": null
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment