Created
July 1, 2016 13:10
-
-
Save yoojinl/8bdffe3d71a2ffc4808b4f77249e11ec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"kind": "PodList", | |
"apiVersion": "v1", | |
"metadata": {}, | |
"items": [ | |
{ | |
"metadata": { | |
"name": "kube-proxy-node2", | |
"namespace": "kube-system", | |
"selfLink": "/api/v1/pods/namespaces/kube-proxy-node2/kube-system", | |
"uid": "d6ea59ea6983d6969400920f14edfdde", | |
"creationTimestamp": null, | |
"annotations": { | |
"kubernetes.io/config.hash": "d6ea59ea6983d6969400920f14edfdde", | |
"kubernetes.io/config.seen": "2016-07-01T10:33:05.785494737Z", | |
"kubernetes.io/config.source": "file" | |
} | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "ssl-certs-host", | |
"hostPath": { | |
"path": "/usr/share/ca-certificates" | |
} | |
}, | |
{ | |
"name": "kubeconfig", | |
"hostPath": { | |
"path": "/etc/kubernetes/node-kubeconfig.yaml" | |
} | |
}, | |
{ | |
"name": "etc-kube-ssl", | |
"hostPath": { | |
"path": "/etc/kubernetes/ssl" | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "kube-proxy", | |
"image": "quay.io/smana/kubernetes-hyperkube:v1.2.4", | |
"command": [ | |
"/hyperkube", | |
"proxy", | |
"--v=2", | |
"--master=https://10.0.0.37:443", | |
"--kubeconfig=/etc/kubernetes/node-kubeconfig.yaml", | |
"--bind-address=10.0.0.38", | |
"--proxy-mode=userspace" | |
], | |
"resources": {}, | |
"volumeMounts": [ | |
{ | |
"name": "ssl-certs-host", | |
"readOnly": true, | |
"mountPath": "/etc/ssl/certs" | |
}, | |
{ | |
"name": "kubeconfig", | |
"readOnly": true, | |
"mountPath": "/etc/kubernetes/node-kubeconfig.yaml" | |
}, | |
{ | |
"name": "etc-kube-ssl", | |
"readOnly": true, | |
"mountPath": "/etc/kubernetes/ssl" | |
} | |
], | |
"terminationMessagePath": "/dev/termination-log", | |
"imagePullPolicy": "IfNotPresent", | |
"securityContext": { | |
"privileged": true | |
} | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"nodeName": "node2", | |
"hostNetwork": true, | |
"securityContext": {} | |
}, | |
"status": { | |
"phase": "Pending" | |
} | |
}, | |
{ | |
"metadata": { | |
"name": "dnsmasq-9stgw", | |
"generateName": "dnsmasq-", | |
"namespace": "kube-system", | |
"selfLink": "/api/v1/namespaces/kube-system/pods/dnsmasq-9stgw", | |
"uid": "66541703-3f73-11e6-b2ac-fa163e546898", | |
"resourceVersion": "1506", | |
"creationTimestamp": "2016-07-01T10:05:55Z", | |
"labels": { | |
"k8s-app": "dnsmasq" | |
}, | |
"annotations": { | |
"kubernetes.io/config.seen": "2016-07-01T10:33:05.847666289Z", | |
"kubernetes.io/config.source": "api", | |
"kubernetes.io/created-by": "{\"kind\":\"SerializedReference\",\"apiVersion\":\"v1\",\"reference\":{\"kind\":\"DaemonSet\",\"namespace\":\"kube-system\",\"name\":\"dnsmasq\",\"uid\":\"665228b6-3f73-11e6-b2ac-fa163e546898\",\"apiVersion\":\"extensions\",\"resourceVersion\":\"309\"}}\n" | |
} | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "etcdnsmasqd", | |
"hostPath": { | |
"path": "/etc/dnsmasq.d" | |
} | |
}, | |
{ | |
"name": "etcdnsmasqdavailable", | |
"hostPath": { | |
"path": "/etc/dnsmasq.d-available" | |
} | |
}, | |
{ | |
"name": "default-token-2fxbz", | |
"secret": { | |
"secretName": "default-token-2fxbz" | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "dnsmasq", | |
"image": "andyshinn/dnsmasq:2.72", | |
"command": [ | |
"dnsmasq" | |
], | |
"args": [ | |
"-k", | |
"-7", | |
"/etc/dnsmasq.d" | |
], | |
"ports": [ | |
{ | |
"name": "dns", | |
"containerPort": 53, | |
"protocol": "UDP" | |
}, | |
{ | |
"name": "dns-tcp", | |
"containerPort": 53, | |
"protocol": "TCP" | |
} | |
], | |
"resources": { | |
"limits": { | |
"cpu": "100m", | |
"memory": "256M" | |
}, | |
"requests": { | |
"cpu": "100m", | |
"memory": "256M" | |
} | |
}, | |
"volumeMounts": [ | |
{ | |
"name": "etcdnsmasqd", | |
"mountPath": "/etc/dnsmasq.d" | |
}, | |
{ | |
"name": "etcdnsmasqdavailable", | |
"mountPath": "/etc/dnsmasq.d-available" | |
}, | |
{ | |
"name": "default-token-2fxbz", | |
"readOnly": true, | |
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount" | |
} | |
], | |
"terminationMessagePath": "/dev/termination-log", | |
"imagePullPolicy": "Always", | |
"securityContext": { | |
"capabilities": { | |
"add": [ | |
"NET_ADMIN" | |
] | |
} | |
} | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"serviceAccountName": "default", | |
"serviceAccount": "default", | |
"nodeName": "node2", | |
"securityContext": {} | |
}, | |
"status": { | |
"phase": "Running", | |
"conditions": [ | |
{ | |
"type": "Ready", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2016-07-01T10:33:10Z" | |
} | |
], | |
"hostIP": "10.0.0.38", | |
"podIP": "10.233.64.193", | |
"startTime": "2016-07-01T10:07:19Z", | |
"containerStatuses": [ | |
{ | |
"name": "dnsmasq", | |
"state": { | |
"running": { | |
"startedAt": "2016-07-01T10:08:40Z" | |
} | |
}, | |
"lastState": {}, | |
"ready": true, | |
"restartCount": 0, | |
"image": "andyshinn/dnsmasq:2.72", | |
"imageID": "docker://sha256:37aabe06468ed7268c9dfa6b4e4f81a7f38b1aba3b47d0f824d5f49435ff8bb7", | |
"containerID": "docker://a70b741db8d242546caf3121694e4a7e016407dee97efe4d126ec16bf0c3f941" | |
} | |
] | |
} | |
}, | |
{ | |
"metadata": { | |
"name": "nginx-node2", | |
"namespace": "default", | |
"selfLink": "/api/v1/pods/namespaces/nginx-node2/default", | |
"uid": "c35a7df9f5134f852576190e49338d62", | |
"creationTimestamp": null, | |
"labels": { | |
"name": "nginx" | |
}, | |
"annotations": { | |
"kubernetes.io/config.hash": "c35a7df9f5134f852576190e49338d62", | |
"kubernetes.io/config.seen": "2016-07-01T12:53:37.393989522Z", | |
"kubernetes.io/config.source": "file" | |
} | |
}, | |
"spec": { | |
"containers": [ | |
{ | |
"name": "nginx", | |
"image": "nginx", | |
"ports": [ | |
{ | |
"name": "nginx", | |
"containerPort": 80, | |
"protocol": "TCP" | |
} | |
], | |
"resources": {}, | |
"terminationMessagePath": "/dev/termination-log", | |
"imagePullPolicy": "Always" | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"nodeName": "node2", | |
"securityContext": {} | |
}, | |
"status": { | |
"phase": "Pending" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment