k8s debug
https://feisky.gitbooks.io/kubernetes/components/api-aggregation.html
API convention
Kubernetes deep dive
Code conventions
获取支持的服务:
$ kubectl get apiservice
NAME AGE
v1. 35d
v1.apps 35d
v1.authentication.k8s.io 35d
v1.authorization.k8s.io 35d
v1.autoscaling 35d
v1.batch 35d
v1.networking.k8s.io 35d
v1.rbac.authorization.k8s.io 35d
v1.storage.k8s.io 35d
v1alpha1.admissionregistration.k8s.io 35d
v1alpha1.settings.k8s.io 35d
v1beta1.admissionregistration.k8s.io 35d
v1beta1.apiextensions.k8s.io 35d
v1beta1.apps 35d
v1beta1.authentication.k8s.io 35d
v1beta1.authorization.k8s.io 35d
v1beta1.batch 35d
v1beta1.certificates.k8s.io 35d
v1beta1.events.k8s.io 35d
v1beta1.extensions 35d
v1beta1.policy 35d
v1beta1.rbac.authorization.k8s.io 35d
v1beta1.storage.k8s.io 35d
v1beta2.apps 35d
v2beta1.autoscaling 35d
apiserver-builder
sample-apiserver
debug info
在实际使用中,通常通过kubectl来访问apiserver,也可以通过Kubernetes各个语言的client库来访问apiserver。在使用kubectl时,打开调试日志也可以看到每个API调用的格式,比如
$ kubectl --v=8 get pods
1 I0216 16:55:39.336234 11813 round_trippers.go:383] GET http://localhost:8080/api [434/568] 2 I0216 16:55:39.336291 11813 round_trippers.go:390] Request Headers: 3 I0216 16:55:39.336298 11813 round_trippers.go:393] Accept: application/json, */* 4 I0216 16:55:39.336304 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 5 I0216 16:55:39.349718 11813 round_trippers.go:408] Response Status: 200 OK in 13 milliseconds 6 I0216 16:55:39.349764 11813 round_trippers.go:411] Response Headers: 7 I0216 16:55:39.349776 11813 round_trippers.go:414] Content-Length: 132 8 I0216 16:55:39.349785 11813 round_trippers.go:414] Content-Type: application/json 9 I0216 16:55:39.349795 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 10 I0216 16:55:39.356188 11813 request.go:873] Response Body: {"kind":"APIVersions","versions":["v1"],"serverAddressByClientCIDRs":[{ 11 "clientCIDR":"0.0.0.0/0","serverAddress":"localhost:6443"}]} 12 I0216 16:55:39.357957 11813 round_trippers.go:383] GET http://localhost:8080/apis 13 I0216 16:55:39.357997 11813 round_trippers.go:390] Request Headers: 14 I0216 16:55:39.358009 11813 round_trippers.go:393] Accept: application/json, */* 15 I0216 16:55:39.358020 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 16 I0216 16:55:39.364869 11813 round_trippers.go:408] Response Status: 200 OK in 6 milliseconds 17 I0216 16:55:39.364890 11813 round_trippers.go:411] Response Headers: 18 I0216 16:55:39.364896 11813 round_trippers.go:414] Content-Type: application/json 19 I0216 16:55:39.364904 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 20 I0216 16:55:39.377872 11813 request.go:873] Response Body: {"kind":"APIGroupList","apiVersion":"v1","groups":[{"name":"apiregistra 21 tion.k8s.io","versions":[{"groupVersion":"apiregistration.k8s.io/v1beta1","version":"v1beta1"}],"preferredVersion":{"groupVersion":" 22 apiregistration.k8s.io/v1beta1","version":"v1beta1"},"serverAddressByClientCIDRs":null},{"name":"extensions","versions":[{"groupVers 23 ion":"extensions/v1beta1","version":"v1beta1"}],"preferredVersion":{"groupVersion":"extensions/v1beta1","version":"v1beta1"},"server 24 AddressByClientCIDRs":null},{"name":"apps","versions":[{"groupVersion":"apps/v1","version":"v1"},{"groupVersion":"apps/v1beta2","ver 25 sion":"v1beta2"},{"groupVersion":"apps/v1beta1","version":"v1beta1"}],"preferredVersion":{"groupVersion":"apps/v1","version":"v1"}," 26 serverAddressByClientCIDRs":null},{"name":"events.k8s.io","versions":[{"groupVersion":"events.k8s.io/v1beta1","version":"v1beta1"}], 27 "preferredVersion":{"groupVersion":"events.k8s.io/v1beta1","version":"v1beta1"},"serverAddressByClientCIDRs":null},{"name":"authentication.k8s.io","versions":[{" [truncated 2973 chars] 28 29 I0216 16:55:39.384095 11813 round_trippers.go:383] GET http://localhost:8080/apis/apiregistration.k8s.io/v1beta1 [406/568] 30 I0216 16:55:39.384116 11813 round_trippers.go:390] Request Headers: 31 I0216 16:55:39.384129 11813 round_trippers.go:393] Accept: application/json, */* 32 I0216 16:55:39.384142 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 33 I0216 16:55:39.388905 11813 round_trippers.go:408] Response Status: 200 OK in 4 milliseconds 34 I0216 16:55:39.389920 11813 round_trippers.go:411] Response Headers: 35 I0216 16:55:39.390163 11813 round_trippers.go:414] Content-Type: application/json 36 I0216 16:55:39.390566 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 37 I0216 16:55:39.390813 11813 round_trippers.go:414] Content-Length: 378 38 I0216 16:55:39.401720 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"apiregistra 39 tion.k8s.io/v1beta1","resources":[{"name":"apiservices","singularName":"","namespaced":false,"kind":"APIService","verbs":["create"," 40 delete","deletecollection","get","list","patch","update","watch"]},{"name":"apiservices/status","singularName":"","namespaced":false 41 ,"kind":"APIService","verbs":["update"]}]} 42 I0216 16:55:39.404752 11813 round_trippers.go:383] GET http://localhost:8080/apis/extensions/v1beta1 43 I0216 16:55:39.404785 11813 round_trippers.go:390] Request Headers: 44 I0216 16:55:39.405344 11813 round_trippers.go:393] Accept: application/json, */* 45 I0216 16:55:39.405358 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 46 I0216 16:55:39.420389 11813 round_trippers.go:408] Response Status: 200 OK in 14 milliseconds 47 I0216 16:55:39.420420 11813 round_trippers.go:411] Response Headers: 48 I0216 16:55:39.420434 11813 round_trippers.go:414] Content-Type: application/json 49 I0216 16:55:39.420443 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 50 51 I0216 16:55:39.423127 11813 request.go:873] Response Body: {"kind":"APIResourceList","groupVersion":"extensions/v1beta1","resources":[{"name":"daemonsets","singularName":"","namespaced":true,"kind":"DaemonSet","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["ds"],"categories":["all"]},{"name":"daemonsets/status","singularName":"","namespaced":true,"kind":"DaemonSet","verbs":["get","patch","update"]},{"name":"deployments","singularName":"","namespaced":true,"kind":"Deployment","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["deploy"],"categories":["all"]},{"name":"deployments/rollback","singularName":"","namespaced":true,"kind":"DeploymentRollback","verbs":["create"]},{"name":"deployments/scale","singularName":"","namespaced":true,"group":"extensions","version":"v1beta1","kind":"Scale","verbs":["get","patch","update"]},{"name":"deployments/status","singularName":"","namespaced":true,"kind":"Deployment","verbs":["get","patch","update"]},{"name":"ingresses","singularNam [truncated 1379 chars] 52 I0216 16:55:39.424798 11813 round_trippers.go:383] GET http://localhost:8080/apis/apps/v1 53 I0216 16:55:39.424819 11813 round_trippers.go:390] Request Headers: 54 I0216 16:55:39.424826 11813 round_trippers.go:393] Accept: application/json, */* 55 I0216 16:55:39.424836 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 56 I0216 16:55:39.425836 11813 round_trippers.go:408] Response Status: 200 OK in 0 milliseconds 57 I0216 16:55:39.425852 11813 round_trippers.go:411] Response Headers: 58 I0216 16:55:39.425861 11813 round_trippers.go:414] Content-Type: application/json 59 I0216 16:55:39.425867 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 60 I0216 16:55:39.425875 11813 round_trippers.go:414] Content-Length: 2016 61 I0216 16:55:39.426894 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"apps/v1","resources":[{"name":"controllerrevisions","singularName":"","namespaced":true,"kind":"ControllerRevision","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]},{"name":"daemonsets","singularName":"","namespaced":true,"kind":"DaemonSet","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["ds"],"categories":["all"]},{"name":"daemonsets/status","singularName":"","namespaced":true,"kind":"DaemonSet","verbs":["get","patch","update"]},{"name":"deployments","singularName":"","namespaced":true,"kind":"Deployment","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["deploy"],"categories":["all"]},{"name":"deployments/scale","singularName":"","namespaced":true,"group":"autoscaling","version":"v1","kind":"Scale","verbs":["get","patch","update"]},{"name":"deployments/status","singularName":"","namespaced":true,"kind":"Deployment [truncated 992 chars] 62 63 I0216 16:55:39.428432 11813 round_trippers.go:383] GET http://localhost:8080/apis/apps/v1beta2 [358/568] 64 I0216 16:55:39.428471 11813 round_trippers.go:390] Request Headers: 65 I0216 16:55:39.428482 11813 round_trippers.go:393] Accept: application/json, */* 66 I0216 16:55:39.428491 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 67 I0216 16:55:39.430582 11813 round_trippers.go:408] Response Status: 200 OK in 2 milliseconds 68 I0216 16:55:39.430915 11813 round_trippers.go:411] Response Headers: 69 I0216 16:55:39.431085 11813 round_trippers.go:414] Content-Length: 2015 70 I0216 16:55:39.431262 11813 round_trippers.go:414] Content-Type: application/json 71 I0216 16:55:39.431512 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 72 I0216 16:55:39.433986 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"apps/v1beta2","resources":[{"name":"controllerrevisions","singularName":"","namespaced":true,"kind":"ControllerRevision","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]},{"name":"daemonsets","singularName":"","namespaced":true,"kind":"DaemonSet","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["ds"],"categories":["all"]},{"name":"daemonsets/status","singularName":"","namespaced":true,"kind":"DaemonSet","verbs":["get","patch","update"]},{"name":"deployments","singularName":"","namespaced":true,"kind":"Deployment","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["deploy"],"categories":["all"]},{"name":"deployments/scale","singularName":"","namespaced":true,"group":"apps","version":"v1beta2","kind":"Scale","verbs":"get","patch","update"]},{"name":"deployments/status","singularName":"","namespaced":true,"kind":"Deploym [truncated 991 chars] 73 I0216 16:55:39.436429 11813 round_trippers.go:383] GET http://localhost:8080/apis/apps/v1beta1 74 I0216 16:55:39.436770 11813 round_trippers.go:390] Request Headers: 75 I0216 16:55:39.436949 11813 round_trippers.go:393] Accept: application/json, */* 76 I0216 16:55:39.437597 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 77 I0216 16:55:39.438788 11813 round_trippers.go:408] Response Status: 200 OK in 1 milliseconds 78 I0216 16:55:39.438814 11813 round_trippers.go:411] Response Headers: 79 I0216 16:55:39.438830 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 80 I0216 16:55:39.438846 11813 round_trippers.go:414] Content-Length: 1338 81 I0216 16:55:39.438862 11813 round_trippers.go:414] Content-Type: application/json 82 83 I0216 16:55:39.439880 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"apps/v1beta1","resources":[{"name":"controllerrevisions","singularName":"","namespaced":true,"kind":"ControllerRevision","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]},{"name":"deployments","singularName":"","namespaced":true,"kind":"Deployment","verbs":"create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["deploy"],"categories":["all"]},{"name":"deployments/rollback","singularName":"","namespaced":true,"kind":"DeploymentRollback","verbs":["create"]},{"name":"deployments/scale","singularName":"","namespaced":true,"group":"apps","version":"v1beta1","kind":"Scale","verbs":["get","patch","update"]},{"name":"deployments/status","singularName":"","namespaced":true,"kind":"Deployment","verbs":["get","patch","update"]},{"name":"statefulsets","singularName":"","namespaced":true,"kind":"StatefulSet","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]," [truncated 314 chars] 84 I0216 16:55:39.441954 11813 round_trippers.go:383] GET http://localhost:8080/apis/events.k8s.io/v1beta1 85 I0216 16:55:39.441974 11813 round_trippers.go:390] Request Headers: 86 I0216 16:55:39.441990 11813 round_trippers.go:393] Accept: application/json, */* 87 I0216 16:55:39.442000 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 88 I0216 16:55:39.442898 11813 round_trippers.go:408] Response Status: 200 OK in 0 milliseconds 89 I0216 16:55:39.442924 11813 round_trippers.go:411] Response Headers: 90 I0216 16:55:39.442937 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 91 I0216 16:55:39.442945 11813 round_trippers.go:414] Content-Length: 272 92 I0216 16:55:39.442951 11813 round_trippers.go:414] Content-Type: application/json 93 I0216 16:55:39.443861 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"events.k8s. 94 io/v1beta1","resources":[{"name":"events","singularName":"","namespaced":true,"kind":"Event","verbs":["create","delete","deletecolle 95 ction","get","list","patch","update","watch"],"shortNames":["ev"]}]} 96 I0216 16:55:39.445456 11813 round_trippers.go:383] GET http://localhost:8080/apis/authentication.k8s.io/v1 97 I0216 16:55:39.445477 11813 round_trippers.go:390] Request Headers: 98 I0216 16:55:39.445490 11813 round_trippers.go:393] Accept: application/json, */* 99 I0216 16:55:39.445498 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 100 I0216 16:55:39.446472 11813 round_trippers.go:408] Response Status: 200 OK in 0 milliseconds 101 I0216 16:55:39.446695 11813 round_trippers.go:411] Response Headers: 102 103 I0216 16:55:39.446888 11813 round_trippers.go:414] Content-Type: application/json 104 I0216 16:55:39.447120 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 105 I0216 16:55:39.447322 11813 round_trippers.go:414] Content-Length: 202 106 I0216 16:55:39.448618 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"authentication.k8s.io/v1","resources":[{"name":"tokenreviews","singularName":"","namespaced":false,"kind":"TokenReview","verbs":["create"]}]} 107 I0216 16:55:39.450912 11813 round_trippers.go:383] GET http://localhost:8080/apis/authentication.k8s.io/v1beta1 108 I0216 16:55:39.451150 11813 round_trippers.go:390] Request Headers: 109 I0216 16:55:39.451338 11813 round_trippers.go:393] Accept: application/json, */* 110 I0216 16:55:39.451557 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 111 I0216 16:55:39.452701 11813 round_trippers.go:408] Response Status: 200 OK in 1 milliseconds 112 I0216 16:55:39.452722 11813 round_trippers.go:411] Response Headers: 113 I0216 16:55:39.452728 11813 round_trippers.go:414] Content-Type: application/json 114 I0216 16:55:39.452737 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 115 I0216 16:55:39.452747 11813 round_trippers.go:414] Content-Length: 207 116 I0216 16:55:39.453821 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"authentication.k8s.io/v1beta1","resources":[{"name":"tokenreviews","singularName":"","namespaced":false,"kind":"TokenReview","verbs":["create"]}]} 117 I0216 16:55:39.455094 11813 round_trippers.go:383] GET http://localhost:8080/apis/authorization.k8s.io/v1 118 I0216 16:55:39.455112 11813 round_trippers.go:390] Request Headers: 119 I0216 16:55:39.455121 11813 round_trippers.go:393] Accept: application/json, */* 120 I0216 16:55:39.455130 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 121 I0216 16:55:39.456237 11813 round_trippers.go:408] Response Status: 200 OK in 1 milliseconds 122 I0216 16:55:39.456253 11813 round_trippers.go:411] Response Headers: 123 I0216 16:55:39.456262 11813 round_trippers.go:414] Content-Type: application/json 124 I0216 16:55:39.456270 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 125 I0216 16:55:39.456276 11813 round_trippers.go:414] Content-Length: 591 126 127 I0216 16:55:39.458231 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"authorization.k8s.io/v1","resources":[{"name":"localsubjectaccessreviews","singularName":"","namespaced":true,"kind":"LocalSubjectAccessReview","verbs":["create"]},{"name":"selfsubjectaccessreviews","singularName":"","namespaced":false,"kind":"SelfSubjectAccessReview","verbs":["create"]},{"name":"selfsubjectrulesreviews","singularName":"","namespaced":false,"kind":"SelfSubjectRulesReview","verbs":["create"]},{"name":"subjectaccessreviews","singularName":"","namespaced":false,"kind":"SubjectAccessReview","verbs":["create"]}]} 128 I0216 16:55:39.459369 11813 round_trippers.go:383] GET http://localhost:8080/apis/authorization.k8s.io/v1beta1 129 I0216 16:55:39.459386 11813 round_trippers.go:390] Request Headers: 130 I0216 16:55:39.459396 11813 round_trippers.go:393] Accept: application/json, */* 131 I0216 16:55:39.459404 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 132 I0216 16:55:39.460193 11813 round_trippers.go:408] Response Status: 200 OK in 0 milliseconds 133 I0216 16:55:39.460214 11813 round_trippers.go:411] Response Headers: 134 I0216 16:55:39.460531 11813 round_trippers.go:414] Content-Length: 596 135 I0216 16:55:39.460693 11813 round_trippers.go:414] Content-Type: application/json 136 I0216 16:55:39.460926 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 137 I0216 16:55:39.462260 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"authorization.k8s.io/v1beta1","resources":[{"name":"localsubjectaccessreviews","singularName":"","namespaced":true,"kind":"LocalSubjectAccessReview","verbs":["create"]},{"name":"selfsubjectaccessreviews","singularName":"","namespaced":false,"kind":"SelfSubjectAccessReview","verbs":["create"]},{"name":"selfsubjectrulesreviews","singularName":"","namespaced":false,"kind":"SelfSubjectRulesReview","verbs":["create"]},{"name":"subjectaccessreviews","singularName":"","namespaced":false,"kind":"SubjectAccessReview","verbs":["create"]}]} 138 I0216 16:55:39.464066 11813 round_trippers.go:383] GET http://localhost:8080/apis/autoscaling/v1 139 I0216 16:55:39.464229 11813 round_trippers.go:390] Request Headers: 140 I0216 16:55:39.464354 11813 round_trippers.go:393] Accept: application/json, */* 141 I0216 16:55:39.464483 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 142 I0216 16:55:39.465731 11813 round_trippers.go:408] Response Status: 200 OK in 1 milliseconds 143 I0216 16:55:39.465746 11813 round_trippers.go:411] Response Headers: 144 I0216 16:55:39.465759 11813 round_trippers.go:414] Content-Type: application/json 145 I0216 16:55:39.465767 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 146 147 I0216 16:55:39.465776 11813 round_trippers.go:414] Content-Length: 468 148 I0216 16:55:39.466701 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"autoscaling/v1","resources":[{"name":"horizontalpodautoscalers","singularName":"","namespaced":true,"kind":"HorizontalPodAutoscaler","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["hpa"],"categories":["all"]},{"name":"horizontalpodautoscalers/status","singularName":"","namespaced":true,"kind":"HorizontalPodAutoscaler","verbs":["get","patch","update"]}]} 149 I0216 16:55:39.467850 11813 round_trippers.go:383] GET http://localhost:8080/apis/autoscaling/v2beta1 150 I0216 16:55:39.467867 11813 round_trippers.go:390] Request Headers: 151 I0216 16:55:39.467873 11813 round_trippers.go:393] Accept: application/json, */* 152 I0216 16:55:39.467882 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 153 I0216 16:55:39.468869 11813 round_trippers.go:408] Response Status: 200 OK in 0 milliseconds 154 I0216 16:55:39.468883 11813 round_trippers.go:411] Response Headers: 155 I0216 16:55:39.468895 11813 round_trippers.go:414] Content-Type: application/json 156 I0216 16:55:39.468903 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 157 I0216 16:55:39.468910 11813 round_trippers.go:414] Content-Length: 473 158 I0216 16:55:39.470169 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"autoscaling/v2beta1","resources":[{"name":"horizontalpodautoscalers","singularName":"","namespaced":true,"kind":"HorizontalPodAutoscaler","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["hpa"],"categories":["all"]},{"name":"horizontalpodautoscalers/status","singularName":"","namespaced":true,"kind":"HorizontalPodAutoscaler","verbs":["get","patch","update"]}]} 159 I0216 16:55:39.471262 11813 round_trippers.go:383] GET http://localhost:8080/apis/batch/v1 160 I0216 16:55:39.471279 11813 round_trippers.go:390] Request Headers: 161 I0216 16:55:39.471288 11813 round_trippers.go:393] Accept: application/json, */* 162 I0216 16:55:39.471296 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 163 I0216 16:55:39.472239 11813 round_trippers.go:408] Response Status: 200 OK in 0 milliseconds 164 I0216 16:55:39.472253 11813 round_trippers.go:411] Response Headers: 165 I0216 16:55:39.472275 11813 round_trippers.go:414] Content-Type: application/json 166 I0216 16:55:39.472282 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 167 168 I0216 16:55:39.472287 11813 round_trippers.go:414] Content-Length: 361 [224/568] 169 I0216 16:55:39.473873 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"batch/v1","resources":[{"name":"jobs","singularName":"","namespaced":true,"kind":"Job","verbs":"create","delete","deletecollection","get","list","patch","update","watch"],"categories":["all"]},{"name":"jobs/status","singularName":"","namespaced":true,"kind":"Job","verbs":["get","patch","update"]}]} 170 I0216 16:55:39.475384 11813 round_trippers.go:383] GET http://localhost:8080/apis/batch/v1beta1 171 I0216 16:55:39.475405 11813 round_trippers.go:390] Request Headers: 172 I0216 16:55:39.475418 11813 round_trippers.go:393] Accept: application/json, */* 173 I0216 16:55:39.475427 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 174 I0216 16:55:39.478412 11813 round_trippers.go:408] Response Status: 200 OK in 2 milliseconds 175 I0216 16:55:39.478430 11813 round_trippers.go:411] Response Headers: 176 I0216 16:55:39.478443 11813 round_trippers.go:414] Content-Type: application/json 177 I0216 16:55:39.478454 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 178 I0216 16:55:39.478460 11813 round_trippers.go:414] Content-Length: 382 179 I0216 16:55:39.479588 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"batch/v1beta1","resources":[{"name":"cronjobs","singularName":"","namespaced":true,"kind":"CronJob","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"categories":["all"]},{"name":"cronjobs/status","singularName":"","namespaced":true,"kind":"CronJob","verbs":["get","patch","update"]}]} 180 I0216 16:55:39.480757 11813 round_trippers.go:383] GET http://localhost:8080/apis/certificates.k8s.io/v1beta1 181 I0216 16:55:39.480773 11813 round_trippers.go:390] Request Headers: 182 I0216 16:55:39.480782 11813 round_trippers.go:393] Accept: application/json, */* 183 I0216 16:55:39.480791 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 184 I0216 16:55:39.482028 11813 round_trippers.go:408] Response Status: 200 OK in 1 milliseconds 185 I0216 16:55:39.482042 11813 round_trippers.go:411] Response Headers: 186 I0216 16:55:39.482055 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 187 I0216 16:55:39.482064 11813 round_trippers.go:414] Content-Length: 594 188 I0216 16:55:39.482071 11813 round_trippers.go:414] Content-Type: application/json 189 190 ] 191 I0216 16:55:39.483016 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"certificates.k8s.io/v1beta1","resources":[{"name":"certificatesigningrequests","singularName":"","namespaced":false,"kind":"CertificateSigningrequest","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["csr"]},{"name":"certificatesigningrequests/approval","singularName":"","namespaced":false,"kind":"CertificateSigningRequest","verbs":["update"]},{"name":"certificatesigningrequests/status","singularName":"","namespaced":false,"kind":"CertificateSigningRequest","verbs":["update"]}]} 192 I0216 16:55:39.484099 11813 round_trippers.go:383] GET http://localhost:8080/apis/networking.k8s.io/v1 193 I0216 16:55:39.484116 11813 round_trippers.go:390] Request Headers: 194 I0216 16:55:39.484124 11813 round_trippers.go:393] Accept: application/json, */* 195 I0216 16:55:39.484134 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 196 I0216 16:55:39.492547 11813 round_trippers.go:408] Response Status: 200 OK in 8 milliseconds 197 I0216 16:55:39.492584 11813 round_trippers.go:411] Response Headers: 198 I0216 16:55:39.492598 11813 round_trippers.go:414] Content-Type: application/json 199 I0216 16:55:39.492608 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 200 I0216 16:55:39.492634 11813 round_trippers.go:414] Content-Length: 292 201 I0216 16:55:39.494399 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"networking.k8s.io/v1","resources":[{"name":"networkpolicies","singularName":"","namespaced":true,"kind":"NetworkPolicy","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["netpol"]}]} 202 I0216 16:55:39.495750 11813 round_trippers.go:383] GET http://localhost:8080/apis/policy/v1beta1 203 I0216 16:55:39.495769 11813 round_trippers.go:390] Request Headers: 204 I0216 16:55:39.495778 11813 round_trippers.go:393] Accept: application/json, */* 205 I0216 16:55:39.495786 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 206 I0216 16:55:39.516945 11813 round_trippers.go:408] Response Status: 200 OK in 21 milliseconds 207 I0216 16:55:39.517719 11813 round_trippers.go:411] Response Headers: 208 I0216 16:55:39.517732 11813 round_trippers.go:414] Content-Type: application/json 209 I0216 16:55:39.517742 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 210 I0216 16:55:39.517750 11813 round_trippers.go:414] Content-Length: 431 211 212 I0216 16:55:39.519028 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"po[171/568] 213 ta1","resources":[{"name":"poddisruptionbudgets","singularName":"","namespaced":true,"kind":"PodDisruptionBudget","verbs":["create", 214 "delete","deletecollection","get","list","patch","update","watch"],"shortNames":["pdb"]},{"name":"poddisruptionbudgets/status","singularName":"","namespaced":true,"kind":"PodDisruptionBudget","verbs":["get","patch","update"]}]} 215 I0216 16:55:39.520364 11813 round_trippers.go:383] GET http://localhost:8080/apis/rbac.authorization.k8s.io/v1 216 I0216 16:55:39.520393 11813 round_trippers.go:390] Request Headers: 217 I0216 16:55:39.520406 11813 round_trippers.go:393] Accept: application/json, */* 218 I0216 16:55:39.520414 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 219 I0216 16:55:39.521966 11813 round_trippers.go:408] Response Status: 200 OK in 1 milliseconds 220 I0216 16:55:39.521984 11813 round_trippers.go:411] Response Headers: 221 I0216 16:55:39.521997 11813 round_trippers.go:414] Content-Type: application/json 222 I0216 16:55:39.522005 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 223 I0216 16:55:39.522014 11813 round_trippers.go:414] Content-Length: 771 224 I0216 16:55:39.522905 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"rbac.authorization.k8s.io/v1","resources":[{"name":"clusterrolebindings","singularName":"","namespaced":false,"kind":"ClusterRoleBinding","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]},{"name":"clusterroles","singularName":"","namespaced":false,"kind":"ClusterRole","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]},{"name":"rolebindings","singularName":"","namespaced":true,"kind":"RoleBinding","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]},{"name":"roles","singularName":"","namespaced":true,"kind":"Role","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]}]} 225 I0216 16:55:39.560504 11813 round_trippers.go:383] GET http://localhost:8080/apis/rbac.authorization.k8s.io/v1beta1 226 I0216 16:55:39.560533 11813 round_trippers.go:390] Request Headers: 227 I0216 16:55:39.560543 11813 round_trippers.go:393] Accept: application/json, */* 228 I0216 16:55:39.560552 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 229 I0216 16:55:39.561865 11813 round_trippers.go:408] Response Status: 200 OK in 1 milliseconds 230 I0216 16:55:39.561897 11813 round_trippers.go:411] Response Headers: 231 I0216 16:55:39.561908 11813 round_trippers.go:414] Content-Type: application/json 232 I0216 16:55:39.561918 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 233 234 I0216 16:55:39.561927 11813 round_trippers.go:414] Content-Length: 776 [143/568] 235 I0216 16:55:39.563224 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"rbac.authorization.k8s.io/v1beta1","resources":[{"name":"clusterrolebindings","singularName":"","namespaced":false,"kind":"ClusterRoleBinding", 236 "verbs":["create","delete","deletecollection","get","list","patch","update","watch"]},{"name":"clusterroles","singularName":"","namespaced":false,"kind":"ClusterRole","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]},{"name":"rolebindings","singularName":"","namespaced":true,"kind":"RoleBinding","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]},{"name":"roles","singularName":"","namespaced":true,"kind":"Role","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]}]} 237 I0216 16:55:39.564782 11813 round_trippers.go:383] GET http://localhost:8080/apis/settings.k8s.io/v1alpha1 238 I0216 16:55:39.564814 11813 round_trippers.go:390] Request Headers: 239 I0216 16:55:39.564827 11813 round_trippers.go:393] Accept: application/json, */* 240 I0216 16:55:39.564835 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 241 I0216 16:55:39.565999 11813 round_trippers.go:408] Response Status: 200 OK in 1 milliseconds 242 I0216 16:55:39.566040 11813 round_trippers.go:411] Response Headers: 243 I0216 16:55:39.566053 11813 round_trippers.go:414] Content-Type: application/json 244 I0216 16:55:39.566063 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 245 I0216 16:55:39.566073 11813 round_trippers.go:414] Content-Length: 263 246 I0216 16:55:39.567252 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"settings.k8s.io/v1alpha1","resources":[{"name":"podpresets","singularName":"","namespaced":true,"kind":"PodPreset","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]}]} 247 I0216 16:55:39.568654 11813 round_trippers.go:383] GET http://localhost:8080/apis/storage.k8s.io/v1 248 I0216 16:55:39.568688 11813 round_trippers.go:390] Request Headers: 249 I0216 16:55:39.568704 11813 round_trippers.go:393] Accept: application/json, */* 250 I0216 16:55:39.568714 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 251 I0216 16:55:39.569404 11813 round_trippers.go:408] Response Status: 200 OK in 0 milliseconds 252 I0216 16:55:39.569423 11813 round_trippers.go:411] Response Headers: 253 I0216 16:55:39.569433 11813 round_trippers.go:414] Content-Type: application/json 254 I0216 16:55:39.569444 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 255 256 I0216 16:55:39.569452 11813 round_trippers.go:414] Content-Length: 284 [115/568] 257 I0216 16:55:39.570345 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"storage.k8s.io/v1","resources":[{"name":"storageclasses","singularName":"","namespaced":false,"kind":"StorageClass","verbs":["create","delete", 258 "deletecollection","get","list","patch","update","watch"],"shortNames":["sc"]}]} 259 I0216 16:55:39.571456 11813 round_trippers.go:383] GET http://localhost:8080/apis/storage.k8s.io/v1beta1 260 I0216 16:55:39.571473 11813 round_trippers.go:390] Request Headers: 261 I0216 16:55:39.571482 11813 round_trippers.go:393] Accept: application/json, */* 262 I0216 16:55:39.571490 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 263 I0216 16:55:39.572043 11813 round_trippers.go:408] Response Status: 200 OK in 0 milliseconds 264 I0216 16:55:39.572064 11813 round_trippers.go:411] Response Headers: 265 I0216 16:55:39.572075 11813 round_trippers.go:414] Content-Length: 289 266 I0216 16:55:39.572085 11813 round_trippers.go:414] Content-Type: application/json 267 I0216 16:55:39.572095 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 268 I0216 16:55:39.572921 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"storage.k8s.io/v1beta1","resources":[{"name":"storageclasses","singularName":"","namespaced":false,"kind":"StorageClass","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["sc"]}]} 269 I0216 16:55:39.574629 11813 round_trippers.go:383] GET http://localhost:8080/apis/admissionregistration.k8s.io/v1beta1 270 I0216 16:55:39.574653 11813 round_trippers.go:390] Request Headers: 271 I0216 16:55:39.574660 11813 round_trippers.go:393] Accept: application/json, */* 272 I0216 16:55:39.574671 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 273 I0216 16:55:39.578815 11813 round_trippers.go:408] Response Status: 200 OK in 4 milliseconds 274 I0216 16:55:39.578834 11813 round_trippers.go:411] Response Headers: 275 I0216 16:55:39.578864 11813 round_trippers.go:414] Content-Type: application/json 276 I0216 16:55:39.578882 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 277 I0216 16:55:39.578899 11813 round_trippers.go:414] Content-Length: 519 278 279 I0216 16:55:39.579908 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"admissionregistration.k8s.io/v1beta1","resources":[{"name":"mutatingwebhookconfigurations","singularName":"","namespaced":false,"kind":"MutatingWebhookConfiguration","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]},{"name":"validatingwebh 280 ookconfigurations","singularName":"","namespaced":false,"kind":"ValidatingWebhookConfiguration","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]}]} 281 I0216 16:55:39.581235 11813 round_trippers.go:383] GET http://localhost:8080/apis/admissionregistration.k8s.io/v1alpha1 282 I0216 16:55:39.581273 11813 round_trippers.go:390] Request Headers: 283 I0216 16:55:39.581289 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 284 I0216 16:55:39.581299 11813 round_trippers.go:393] Accept: application/json, */* 285 I0216 16:55:39.581905 11813 round_trippers.go:408] Response Status: 200 OK in 0 milliseconds 286 I0216 16:55:39.581929 11813 round_trippers.go:411] Response Headers: 287 I0216 16:55:39.581939 11813 round_trippers.go:414] Content-Type: application/json 288 I0216 16:55:39.581946 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 289 I0216 16:55:39.581954 11813 round_trippers.go:414] Content-Length: 307 290 I0216 16:55:39.582791 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"admissionregistration.k8s.io/v1alpha1","resources":[{"name":"initializerconfigurations","singularName":"","namespaced":false,"kind":"InitializerConfiguration","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]}]} 291 I0216 16:55:39.583904 11813 round_trippers.go:383] GET http://localhost:8080/apis/apiextensions.k8s.io/v1beta1 292 I0216 16:55:39.583921 11813 round_trippers.go:390] Request Headers: 293 I0216 16:55:39.583930 11813 round_trippers.go:393] Accept: application/json, */* 294 I0216 16:55:39.583940 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 295 I0216 16:55:39.584505 11813 round_trippers.go:408] Response Status: 200 OK in 0 milliseconds 296 I0216 16:55:39.584526 11813 round_trippers.go:411] Response Headers: 297 I0216 16:55:39.584534 11813 round_trippers.go:414] Content-Type: application/json 298 I0216 16:55:39.584542 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 299 I0216 16:55:39.584550 11813 round_trippers.go:414] Content-Length: 453 300 301 I0216 16:55:39.585889 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"apiextensions.k8s.io/v1beta1","resources":[{"name":"customresourcedefinitions","singularName":"","namespaced":false,"kind":"CustomResourceDefinition","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["crd"]},{"name":"customresourcedefinitions/status","singularName":"","namespaced":false,"kind":"CustomResourceDefinition","verbs":["update"]}]} 302 I0216 16:55:39.587164 11813 round_trippers.go:383] GET http://localhost:8080/api/v1 303 I0216 16:55:39.587184 11813 round_trippers.go:390] Request Headers: 304 I0216 16:55:39.587195 11813 round_trippers.go:393] Accept: application/json, */* 305 I0216 16:55:39.587205 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 306 I0216 16:55:39.588361 11813 round_trippers.go:408] Response Status: 200 OK in 1 milliseconds 307 I0216 16:55:39.588378 11813 round_trippers.go:411] Response Headers: 308 I0216 16:55:39.588388 11813 round_trippers.go:414] Content-Type: application/json 309 I0216 16:55:39.588398 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT 310 I0216 16:55:39.605602 11813 request.go:873] Response Body: {"kind":"APIResourceList","groupVersion":"v1","resources":[{"name":"bindings","singularName":"","namespaced":true,"kind":"Binding","verbs":["create"]},{"name":"componentstatuses","singularName":"","namespaced":false,"kind":"ComponentStatus","verbs":["get","list"],"shortNames":["cs"]},{"name":"configmaps","singularName":"","namespaced":true,"kind":"ConfigMap","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["cm"]}, 311 {"name":"endpoints","singularName":"","namespaced":true,"kind":"Endpoints","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["ep"]},{"name":"events","singularName":"","namespaced":true,"kind":"Event","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["ev"]},{"name":"limitranges","singularName":"","namespaced":true,"kind":"LimitRange","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["limits"]},{"name":"names [truncated 4134 chars] 312 I0216 16:55:39.617626 11813 round_trippers.go:383] GET http://localhost:8080/api/v1/namespaces/default/pods?limit=500 313 I0216 16:55:39.617655 11813 round_trippers.go:390] Request Headers: 314 I0216 16:55:39.617675 11813 round_trippers.go:393] Accept: application/json 315 I0216 16:55:39.617685 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 316 I0216 16:55:39.619934 11813 round_trippers.go:408] Response Status: 200 OK in 2 milliseconds 317 I0216 16:55:39.619951 11813 round_trippers.go:411] Response Headers: 318 I0216 16:55:39.619975 11813 round_trippers.go:414] Content-Type: application/json 319 320 I0216 16:55:39.619993 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT [36/568] 321 I0216 16:55:39.620009 11813 round_trippers.go:414] Content-Length: 134 322 I0216 16:55:39.620077 11813 request.go:873] Response Body: {"kind":"PodList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/nam 323 espaces/default/pods","resourceVersion":"1132478"},"items":[]} 324 No resources found.
I0216 16:55:39.336234 11813 round_trippers.go:383] GET http://localhost:8080/api [434/568] I0216 16:55:39.336291 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.336298 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.336304 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.349718 11813 round_trippers.go:408] Response Status: 200 OK in 13 milliseconds I0216 16:55:39.349764 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.349776 11813 round_trippers.go:414] Content-Length: 132 I0216 16:55:39.349785 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.349795 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.356188 11813 request.go:873] Response Body: {"kind":"APIVersions","versions":["v1"],"serverAddressByClientCIDRs":[{ "clientCIDR":"0.0.0.0/0","serverAddress":"localhost:6443"}]} I0216 16:55:39.357957 11813 round_trippers.go:383] GET http://localhost:8080/apis I0216 16:55:39.357997 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.358009 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.358020 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.364869 11813 round_trippers.go:408] Response Status: 200 OK in 6 milliseconds I0216 16:55:39.364890 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.364896 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.364904 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.377872 11813 request.go:873] Response Body: {"kind":"APIGroupList","apiVersion":"v1","groups":[{"name":"apiregistra tion.k8s.io","versions":[{"groupVersion":"apiregistration.k8s.io/v1beta1","version":"v1beta1"}],"preferredVersion":{"groupVersion":" apiregistration.k8s.io/v1beta1","version":"v1beta1"},"serverAddressByClientCIDRs":null},{"name":"extensions","versions":[{"groupVers ion":"extensions/v1beta1","version":"v1beta1"}],"preferredVersion":{"groupVersion":"extensions/v1beta1","version":"v1beta1"},"server AddressByClientCIDRs":null},{"name":"apps","versions":[{"groupVersion":"apps/v1","version":"v1"},{"groupVersion":"apps/v1beta2","ver sion":"v1beta2"},{"groupVersion":"apps/v1beta1","version":"v1beta1"}],"preferredVersion":{"groupVersion":"apps/v1","version":"v1"}," serverAddressByClientCIDRs":null},{"name":"events.k8s.io","versions":[{"groupVersion":"events.k8s.io/v1beta1","version":"v1beta1"}], "preferredVersion":{"groupVersion":"events.k8s.io/v1beta1","version":"v1beta1"},"serverAddressByClientCIDRs":null},{"name":"authentication.k8s.io","versions":[{" [truncated 2973 chars] I0216 16:55:39.384095 11813 round_trippers.go:383] GET http://localhost:8080/apis/apiregistration.k8s.io/v1beta1 [406/568] I0216 16:55:39.384116 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.384129 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.384142 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.388905 11813 round_trippers.go:408] Response Status: 200 OK in 4 milliseconds I0216 16:55:39.389920 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.390163 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.390566 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.390813 11813 round_trippers.go:414] Content-Length: 378 I0216 16:55:39.401720 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"apiregistra tion.k8s.io/v1beta1","resources":[{"name":"apiservices","singularName":"","namespaced":false,"kind":"APIService","verbs":["create"," delete","deletecollection","get","list","patch","update","watch"]},{"name":"apiservices/status","singularName":"","namespaced":false ,"kind":"APIService","verbs":["update"]}]} I0216 16:55:39.404752 11813 round_trippers.go:383] GET http://localhost:8080/apis/extensions/v1beta1 I0216 16:55:39.404785 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.405344 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.405358 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.420389 11813 round_trippers.go:408] Response Status: 200 OK in 14 milliseconds I0216 16:55:39.420420 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.420434 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.420443 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.423127 11813 request.go:873] Response Body: {"kind":"APIResourceList","groupVersion":"extensions/v1beta1","resources":[{"name":"daemonsets","singularName":"","namespaced":true,"kind":"DaemonSet","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["ds"],"categories":["all"]},{"name":"daemonsets/status","singularName":"","namespaced":true,"kind":"DaemonSet","verbs":["get","patch","update"]},{"name":"deployments","singularName":"","namespaced":true,"kind":"Deployment","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["deploy"],"categories":["all"]},{"name":"deployments/rollback","singularName":"","namespaced":true,"kind":"DeploymentRollback","verbs":["create"]},{"name":"deployments/scale","singularName":"","namespaced":true,"group":"extensions","version":"v1beta1","kind":"Scale","verbs":["get","patch","update"]},{"name":"deployments/status","singularName":"","namespaced":true,"kind":"Deployment","verbs":["get","patch","update"]},{"name":"ingresses","singularNam [truncated 1379 chars] I0216 16:55:39.424798 11813 round_trippers.go:383] GET http://localhost:8080/apis/apps/v1 I0216 16:55:39.424819 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.424826 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.424836 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.425836 11813 round_trippers.go:408] Response Status: 200 OK in 0 milliseconds I0216 16:55:39.425852 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.425861 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.425867 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.425875 11813 round_trippers.go:414] Content-Length: 2016 I0216 16:55:39.426894 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"apps/v1","resources":[{"name":"controllerrevisions","singularName":"","namespaced":true,"kind":"ControllerRevision","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]},{"name":"daemonsets","singularName":"","namespaced":true,"kind":"DaemonSet","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["ds"],"categories":["all"]},{"name":"daemonsets/status","singularName":"","namespaced":true,"kind":"DaemonSet","verbs":["get","patch","update"]},{"name":"deployments","singularName":"","namespaced":true,"kind":"Deployment","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["deploy"],"categories":["all"]},{"name":"deployments/scale","singularName":"","namespaced":true,"group":"autoscaling","version":"v1","kind":"Scale","verbs":["get","patch","update"]},{"name":"deployments/status","singularName":"","namespaced":true,"kind":"Deployment [truncated 992 chars] I0216 16:55:39.428432 11813 round_trippers.go:383] GET http://localhost:8080/apis/apps/v1beta2 [358/568] I0216 16:55:39.428471 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.428482 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.428491 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.430582 11813 round_trippers.go:408] Response Status: 200 OK in 2 milliseconds I0216 16:55:39.430915 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.431085 11813 round_trippers.go:414] Content-Length: 2015 I0216 16:55:39.431262 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.431512 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.433986 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"apps/v1beta2","resources":[{"name":"controllerrevisions","singularName":"","namespaced":true,"kind":"ControllerRevision","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]},{"name":"daemonsets","singularName":"","namespaced":true,"kind":"DaemonSet","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["ds"],"categories":["all"]},{"name":"daemonsets/status","singularName":"","namespaced":true,"kind":"DaemonSet","verbs":["get","patch","update"]},{"name":"deployments","singularName":"","namespaced":true,"kind":"Deployment","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["deploy"],"categories":["all"]},{"name":"deployments/scale","singularName":"","namespaced":true,"group":"apps","version":"v1beta2","kind":"Scale","verbs":"get","patch","update"]},{"name":"deployments/status","singularName":"","namespaced":true,"kind":"Deploym [truncated 991 chars] I0216 16:55:39.436429 11813 round_trippers.go:383] GET http://localhost:8080/apis/apps/v1beta1 I0216 16:55:39.436770 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.436949 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.437597 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.438788 11813 round_trippers.go:408] Response Status: 200 OK in 1 milliseconds I0216 16:55:39.438814 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.438830 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.438846 11813 round_trippers.go:414] Content-Length: 1338 I0216 16:55:39.438862 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.439880 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"apps/v1beta1","resources":[{"name":"controllerrevisions","singularName":"","namespaced":true,"kind":"ControllerRevision","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]},{"name":"deployments","singularName":"","namespaced":true,"kind":"Deployment","verbs":"create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["deploy"],"categories":["all"]},{"name":"deployments/rollback","singularName":"","namespaced":true,"kind":"DeploymentRollback","verbs":["create"]},{"name":"deployments/scale","singularName":"","namespaced":true,"group":"apps","version":"v1beta1","kind":"Scale","verbs":["get","patch","update"]},{"name":"deployments/status","singularName":"","namespaced":true,"kind":"Deployment","verbs":["get","patch","update"]},{"name":"statefulsets","singularName":"","namespaced":true,"kind":"StatefulSet","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]," [truncated 314 chars] I0216 16:55:39.441954 11813 round_trippers.go:383] GET http://localhost:8080/apis/events.k8s.io/v1beta1 I0216 16:55:39.441974 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.441990 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.442000 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.442898 11813 round_trippers.go:408] Response Status: 200 OK in 0 milliseconds I0216 16:55:39.442924 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.442937 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.442945 11813 round_trippers.go:414] Content-Length: 272 I0216 16:55:39.442951 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.443861 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"events.k8s. io/v1beta1","resources":[{"name":"events","singularName":"","namespaced":true,"kind":"Event","verbs":["create","delete","deletecolle ction","get","list","patch","update","watch"],"shortNames":["ev"]}]} I0216 16:55:39.445456 11813 round_trippers.go:383] GET http://localhost:8080/apis/authentication.k8s.io/v1 I0216 16:55:39.445477 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.445490 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.445498 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.446472 11813 round_trippers.go:408] Response Status: 200 OK in 0 milliseconds I0216 16:55:39.446695 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.446888 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.447120 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.447322 11813 round_trippers.go:414] Content-Length: 202 I0216 16:55:39.448618 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"authentication.k8s.io/v1","resources":[{"name":"tokenreviews","singularName":"","namespaced":false,"kind":"TokenReview","verbs":["create"]}]} I0216 16:55:39.450912 11813 round_trippers.go:383] GET http://localhost:8080/apis/authentication.k8s.io/v1beta1 I0216 16:55:39.451150 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.451338 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.451557 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.452701 11813 round_trippers.go:408] Response Status: 200 OK in 1 milliseconds I0216 16:55:39.452722 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.452728 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.452737 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.452747 11813 round_trippers.go:414] Content-Length: 207 I0216 16:55:39.453821 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"authentication.k8s.io/v1beta1","resources":[{"name":"tokenreviews","singularName":"","namespaced":false,"kind":"TokenReview","verbs":["create"]}]} I0216 16:55:39.455094 11813 round_trippers.go:383] GET http://localhost:8080/apis/authorization.k8s.io/v1 I0216 16:55:39.455112 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.455121 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.455130 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.456237 11813 round_trippers.go:408] Response Status: 200 OK in 1 milliseconds I0216 16:55:39.456253 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.456262 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.456270 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.456276 11813 round_trippers.go:414] Content-Length: 591 I0216 16:55:39.458231 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"authorization.k8s.io/v1","resources":[{"name":"localsubjectaccessreviews","singularName":"","namespaced":true,"kind":"LocalSubjectAccessReview","verbs":["create"]},{"name":"selfsubjectaccessreviews","singularName":"","namespaced":false,"kind":"SelfSubjectAccessReview","verbs":["create"]},{"name":"selfsubjectrulesreviews","singularName":"","namespaced":false,"kind":"SelfSubjectRulesReview","verbs":["create"]},{"name":"subjectaccessreviews","singularName":"","namespaced":false,"kind":"SubjectAccessReview","verbs":["create"]}]} I0216 16:55:39.459369 11813 round_trippers.go:383] GET http://localhost:8080/apis/authorization.k8s.io/v1beta1 I0216 16:55:39.459386 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.459396 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.459404 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.460193 11813 round_trippers.go:408] Response Status: 200 OK in 0 milliseconds I0216 16:55:39.460214 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.460531 11813 round_trippers.go:414] Content-Length: 596 I0216 16:55:39.460693 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.460926 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.462260 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"authorization.k8s.io/v1beta1","resources":[{"name":"localsubjectaccessreviews","singularName":"","namespaced":true,"kind":"LocalSubjectAccessReview","verbs":["create"]},{"name":"selfsubjectaccessreviews","singularName":"","namespaced":false,"kind":"SelfSubjectAccessReview","verbs":["create"]},{"name":"selfsubjectrulesreviews","singularName":"","namespaced":false,"kind":"SelfSubjectRulesReview","verbs":["create"]},{"name":"subjectaccessreviews","singularName":"","namespaced":false,"kind":"SubjectAccessReview","verbs":["create"]}]} I0216 16:55:39.464066 11813 round_trippers.go:383] GET http://localhost:8080/apis/autoscaling/v1 I0216 16:55:39.464229 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.464354 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.464483 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.465731 11813 round_trippers.go:408] Response Status: 200 OK in 1 milliseconds I0216 16:55:39.465746 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.465759 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.465767 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.465776 11813 round_trippers.go:414] Content-Length: 468 I0216 16:55:39.466701 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"autoscaling/v1","resources":[{"name":"horizontalpodautoscalers","singularName":"","namespaced":true,"kind":"HorizontalPodAutoscaler","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["hpa"],"categories":["all"]},{"name":"horizontalpodautoscalers/status","singularName":"","namespaced":true,"kind":"HorizontalPodAutoscaler","verbs":["get","patch","update"]}]} I0216 16:55:39.467850 11813 round_trippers.go:383] GET http://localhost:8080/apis/autoscaling/v2beta1 I0216 16:55:39.467867 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.467873 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.467882 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.468869 11813 round_trippers.go:408] Response Status: 200 OK in 0 milliseconds I0216 16:55:39.468883 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.468895 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.468903 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.468910 11813 round_trippers.go:414] Content-Length: 473 I0216 16:55:39.470169 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"autoscaling/v2beta1","resources":[{"name":"horizontalpodautoscalers","singularName":"","namespaced":true,"kind":"HorizontalPodAutoscaler","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["hpa"],"categories":["all"]},{"name":"horizontalpodautoscalers/status","singularName":"","namespaced":true,"kind":"HorizontalPodAutoscaler","verbs":["get","patch","update"]}]} I0216 16:55:39.471262 11813 round_trippers.go:383] GET http://localhost:8080/apis/batch/v1 I0216 16:55:39.471279 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.471288 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.471296 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.472239 11813 round_trippers.go:408] Response Status: 200 OK in 0 milliseconds I0216 16:55:39.472253 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.472275 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.472282 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.472287 11813 round_trippers.go:414] Content-Length: 361 [224/568] I0216 16:55:39.473873 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"batch/v1","resources":[{"name":"jobs","singularName":"","namespaced":true,"kind":"Job","verbs":"create","delete","deletecollection","get","list","patch","update","watch"],"categories":["all"]},{"name":"jobs/status","singularName":"","namespaced":true,"kind":"Job","verbs":["get","patch","update"]}]} I0216 16:55:39.475384 11813 round_trippers.go:383] GET http://localhost:8080/apis/batch/v1beta1 I0216 16:55:39.475405 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.475418 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.475427 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.478412 11813 round_trippers.go:408] Response Status: 200 OK in 2 milliseconds I0216 16:55:39.478430 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.478443 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.478454 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.478460 11813 round_trippers.go:414] Content-Length: 382 I0216 16:55:39.479588 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"batch/v1beta1","resources":[{"name":"cronjobs","singularName":"","namespaced":true,"kind":"CronJob","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"categories":["all"]},{"name":"cronjobs/status","singularName":"","namespaced":true,"kind":"CronJob","verbs":["get","patch","update"]}]} I0216 16:55:39.480757 11813 round_trippers.go:383] GET http://localhost:8080/apis/certificates.k8s.io/v1beta1 I0216 16:55:39.480773 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.480782 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.480791 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.482028 11813 round_trippers.go:408] Response Status: 200 OK in 1 milliseconds I0216 16:55:39.482042 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.482055 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.482064 11813 round_trippers.go:414] Content-Length: 594 I0216 16:55:39.482071 11813 round_trippers.go:414] Content-Type: application/json ] I0216 16:55:39.483016 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"certificates.k8s.io/v1beta1","resources":[{"name":"certificatesigningrequests","singularName":"","namespaced":false,"kind":"CertificateSigningrequest","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["csr"]},{"name":"certificatesigningrequests/approval","singularName":"","namespaced":false,"kind":"CertificateSigningRequest","verbs":["update"]},{"name":"certificatesigningrequests/status","singularName":"","namespaced":false,"kind":"CertificateSigningRequest","verbs":["update"]}]} I0216 16:55:39.484099 11813 round_trippers.go:383] GET http://localhost:8080/apis/networking.k8s.io/v1 I0216 16:55:39.484116 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.484124 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.484134 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.492547 11813 round_trippers.go:408] Response Status: 200 OK in 8 milliseconds I0216 16:55:39.492584 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.492598 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.492608 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.492634 11813 round_trippers.go:414] Content-Length: 292 I0216 16:55:39.494399 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"networking.k8s.io/v1","resources":[{"name":"networkpolicies","singularName":"","namespaced":true,"kind":"NetworkPolicy","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["netpol"]}]} I0216 16:55:39.495750 11813 round_trippers.go:383] GET http://localhost:8080/apis/policy/v1beta1 I0216 16:55:39.495769 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.495778 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.495786 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.516945 11813 round_trippers.go:408] Response Status: 200 OK in 21 milliseconds I0216 16:55:39.517719 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.517732 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.517742 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.517750 11813 round_trippers.go:414] Content-Length: 431 I0216 16:55:39.519028 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"po[171/568] ta1","resources":[{"name":"poddisruptionbudgets","singularName":"","namespaced":true,"kind":"PodDisruptionBudget","verbs":["create", "delete","deletecollection","get","list","patch","update","watch"],"shortNames":["pdb"]},{"name":"poddisruptionbudgets/status","singularName":"","namespaced":true,"kind":"PodDisruptionBudget","verbs":["get","patch","update"]}]} I0216 16:55:39.520364 11813 round_trippers.go:383] GET http://localhost:8080/apis/rbac.authorization.k8s.io/v1 I0216 16:55:39.520393 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.520406 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.520414 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.521966 11813 round_trippers.go:408] Response Status: 200 OK in 1 milliseconds I0216 16:55:39.521984 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.521997 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.522005 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.522014 11813 round_trippers.go:414] Content-Length: 771 I0216 16:55:39.522905 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"rbac.authorization.k8s.io/v1","resources":[{"name":"clusterrolebindings","singularName":"","namespaced":false,"kind":"ClusterRoleBinding","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]},{"name":"clusterroles","singularName":"","namespaced":false,"kind":"ClusterRole","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]},{"name":"rolebindings","singularName":"","namespaced":true,"kind":"RoleBinding","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]},{"name":"roles","singularName":"","namespaced":true,"kind":"Role","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]}]} I0216 16:55:39.560504 11813 round_trippers.go:383] GET http://localhost:8080/apis/rbac.authorization.k8s.io/v1beta1 I0216 16:55:39.560533 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.560543 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.560552 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.561865 11813 round_trippers.go:408] Response Status: 200 OK in 1 milliseconds I0216 16:55:39.561897 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.561908 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.561918 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.561927 11813 round_trippers.go:414] Content-Length: 776 [143/568] I0216 16:55:39.563224 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"rbac.authorization.k8s.io/v1beta1","resources":[{"name":"clusterrolebindings","singularName":"","namespaced":false,"kind":"ClusterRoleBinding", "verbs":["create","delete","deletecollection","get","list","patch","update","watch"]},{"name":"clusterroles","singularName":"","namespaced":false,"kind":"ClusterRole","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]},{"name":"rolebindings","singularName":"","namespaced":true,"kind":"RoleBinding","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]},{"name":"roles","singularName":"","namespaced":true,"kind":"Role","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]}]} I0216 16:55:39.564782 11813 round_trippers.go:383] GET http://localhost:8080/apis/settings.k8s.io/v1alpha1 I0216 16:55:39.564814 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.564827 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.564835 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.565999 11813 round_trippers.go:408] Response Status: 200 OK in 1 milliseconds I0216 16:55:39.566040 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.566053 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.566063 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.566073 11813 round_trippers.go:414] Content-Length: 263 I0216 16:55:39.567252 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"settings.k8s.io/v1alpha1","resources":[{"name":"podpresets","singularName":"","namespaced":true,"kind":"PodPreset","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]}]} I0216 16:55:39.568654 11813 round_trippers.go:383] GET http://localhost:8080/apis/storage.k8s.io/v1 I0216 16:55:39.568688 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.568704 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.568714 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.569404 11813 round_trippers.go:408] Response Status: 200 OK in 0 milliseconds I0216 16:55:39.569423 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.569433 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.569444 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.569452 11813 round_trippers.go:414] Content-Length: 284 [115/568] I0216 16:55:39.570345 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"storage.k8s.io/v1","resources":[{"name":"storageclasses","singularName":"","namespaced":false,"kind":"StorageClass","verbs":["create","delete", "deletecollection","get","list","patch","update","watch"],"shortNames":["sc"]}]} I0216 16:55:39.571456 11813 round_trippers.go:383] GET http://localhost:8080/apis/storage.k8s.io/v1beta1 I0216 16:55:39.571473 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.571482 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.571490 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.572043 11813 round_trippers.go:408] Response Status: 200 OK in 0 milliseconds I0216 16:55:39.572064 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.572075 11813 round_trippers.go:414] Content-Length: 289 I0216 16:55:39.572085 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.572095 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.572921 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"storage.k8s.io/v1beta1","resources":[{"name":"storageclasses","singularName":"","namespaced":false,"kind":"StorageClass","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["sc"]}]} I0216 16:55:39.574629 11813 round_trippers.go:383] GET http://localhost:8080/apis/admissionregistration.k8s.io/v1beta1 I0216 16:55:39.574653 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.574660 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.574671 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.578815 11813 round_trippers.go:408] Response Status: 200 OK in 4 milliseconds I0216 16:55:39.578834 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.578864 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.578882 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.578899 11813 round_trippers.go:414] Content-Length: 519 I0216 16:55:39.579908 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"admissionregistration.k8s.io/v1beta1","resources":[{"name":"mutatingwebhookconfigurations","singularName":"","namespaced":false,"kind":"MutatingWebhookConfiguration","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]},{"name":"validatingwebh ookconfigurations","singularName":"","namespaced":false,"kind":"ValidatingWebhookConfiguration","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]}]} I0216 16:55:39.581235 11813 round_trippers.go:383] GET http://localhost:8080/apis/admissionregistration.k8s.io/v1alpha1 I0216 16:55:39.581273 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.581289 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.581299 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.581905 11813 round_trippers.go:408] Response Status: 200 OK in 0 milliseconds I0216 16:55:39.581929 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.581939 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.581946 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.581954 11813 round_trippers.go:414] Content-Length: 307 I0216 16:55:39.582791 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"admissionregistration.k8s.io/v1alpha1","resources":[{"name":"initializerconfigurations","singularName":"","namespaced":false,"kind":"InitializerConfiguration","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]}]} I0216 16:55:39.583904 11813 round_trippers.go:383] GET http://localhost:8080/apis/apiextensions.k8s.io/v1beta1 I0216 16:55:39.583921 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.583930 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.583940 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.584505 11813 round_trippers.go:408] Response Status: 200 OK in 0 milliseconds I0216 16:55:39.584526 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.584534 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.584542 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.584550 11813 round_trippers.go:414] Content-Length: 453 I0216 16:55:39.585889 11813 request.go:873] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"apiextensions.k8s.io/v1beta1","resources":[{"name":"customresourcedefinitions","singularName":"","namespaced":false,"kind":"CustomResourceDefinition","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["crd"]},{"name":"customresourcedefinitions/status","singularName":"","namespaced":false,"kind":"CustomResourceDefinition","verbs":["update"]}]} I0216 16:55:39.587164 11813 round_trippers.go:383] GET http://localhost:8080/api/v1 I0216 16:55:39.587184 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.587195 11813 round_trippers.go:393] Accept: application/json, */* I0216 16:55:39.587205 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.588361 11813 round_trippers.go:408] Response Status: 200 OK in 1 milliseconds I0216 16:55:39.588378 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.588388 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.588398 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT I0216 16:55:39.605602 11813 request.go:873] Response Body: {"kind":"APIResourceList","groupVersion":"v1","resources":[{"name":"bindings","singularName":"","namespaced":true,"kind":"Binding","verbs":["create"]},{"name":"componentstatuses","singularName":"","namespaced":false,"kind":"ComponentStatus","verbs":["get","list"],"shortNames":["cs"]},{"name":"configmaps","singularName":"","namespaced":true,"kind":"ConfigMap","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["cm"]}, {"name":"endpoints","singularName":"","namespaced":true,"kind":"Endpoints","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["ep"]},{"name":"events","singularName":"","namespaced":true,"kind":"Event","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["ev"]},{"name":"limitranges","singularName":"","namespaced":true,"kind":"LimitRange","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["limits"]},{"name":"names [truncated 4134 chars] I0216 16:55:39.617626 11813 round_trippers.go:383] GET http://localhost:8080/api/v1/namespaces/default/pods?limit=500 I0216 16:55:39.617655 11813 round_trippers.go:390] Request Headers: I0216 16:55:39.617675 11813 round_trippers.go:393] Accept: application/json I0216 16:55:39.617685 11813 round_trippers.go:393] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9 I0216 16:55:39.619934 11813 round_trippers.go:408] Response Status: 200 OK in 2 milliseconds I0216 16:55:39.619951 11813 round_trippers.go:411] Response Headers: I0216 16:55:39.619975 11813 round_trippers.go:414] Content-Type: application/json I0216 16:55:39.619993 11813 round_trippers.go:414] Date: Fri, 16 Feb 2018 16:55:39 GMT [36/568] I0216 16:55:39.620009 11813 round_trippers.go:414] Content-Length: 134 I0216 16:55:39.620077 11813 request.go:873] Response Body: {"kind":"PodList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/nam espaces/default/pods","resourceVersion":"1132478"},"items":[]} No resources found.
8080端口
$ sudo netstat -lpn |grep 8080
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 13648/hyperkube
ubuntu@jf-k8s:~$ ps -p 13648
6443端口
$ sudo netstat -lpn |grep 6443
tcp6 0 0 :::6443 :::* LISTEN 13648/hyperkube
开发环境启动的进程
$ ps -ef |grep hyperkube
root 13642 23585 0 Jan13 pts/1 00:00:00 sudo -E /home/ubuntu/kubernetes/_output/local/bin/linux/amd64/hyperkube apiserver --authorization-mode=Node,RBAC --runtime-config=admissionregistration.k8s.io/v1alpha1,settings.k8s.io/v1alpha1 --cloud-provider= --cloud-config= --v=3 --vmodule= --cert-dir=/var/run/kubernetes --client-ca-file=/var/run/kubernetes/client-ca.crt --service-account-key-file=/tmp/kube-serviceaccount.key --service-account-lookup=true --admission-control=Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,SecurityContextDeny,DefaultStorageClass,DefaultTolerationSeconds,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota,PodPreset --admission-control-config-file= --bind-address=0.0.0.0 --secure-port=6443 --tls-cert-file=/var/run/kubernetes/serving-kube-apiserver.crt --tls-private-key-file=/var/run/kubernetes/serving-kube-apiserver.key --tls-ca-file=/var/run/kubernetes/server-ca.crt --insecure-bind-address=127.0.0.1 --insecure-port=8080 --storage-backend=etcd3 --etcd-servers=http://127.0.0.1:2379 --service-cluster-ip-range=10.0.0.0/24 --feature-gates=AllAlpha=false --external-hostname=localhost --requestheader-username-headers=X-Remote-User --requestheader-group-headers=X-Remote-Group --requestheader-extra-headers-prefix=X-Remote-Extra- --requestheader-client-ca-file=/var/run/kubernetes/request-header-ca.crt --requestheader-allowed-names=system:auth-proxy --proxy-client-cert-file=/var/run/kubernetes/client-auth-proxy.crt --proxy-client-key-file=/var/run/kubernetes/client-auth-proxy.key --cors-allowed-origins=/127.0.0.1(:[0-9]+)?$,/localhost(:[0-9]+)?$
root 13648 13642 99 Jan13 pts/1 80-21:17:41 /home/ubuntu/kubernetes/_output/local/bin/linux/amd64/hyperkube apiserver --authorization-mode=Node,RBAC --runtime-config=admissionregistration.k8s.io/v1alpha1,settings.k8s.io/v1alpha1 --cloud-provider= --cloud-config= --v=3 --vmodule= --cert-dir=/var/run/kubernetes --client-ca-file=/var/run/kubernetes/client-ca.crt --service-account-key-file=/tmp/kube-serviceaccount.key --service-account-lookup=true --admission-control=Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,SecurityContextDeny,DefaultStorageClass,DefaultTolerationSeconds,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota,PodPreset --admission-control-config-file= --bind-address=0.0.0.0 --secure-port=6443 --tls-cert-file=/var/run/kubernetes/serving-kube-apiserver.crt --tls-private-key-file=/var/run/kubernetes/serving-kube-apiserver.key --tls-ca-file=/var/run/kubernetes/server-ca.crt --insecure-bind-address=127.0.0.1 --insecure-port=8080 --storage-backend=etcd3 --etcd-servers=http://127.0.0.1:2379 --service-cluster-ip-range=10.0.0.0/24 --feature-gates=AllAlpha=false --external-hostname=localhost --requestheader-username-headers=X-Remote-User --requestheader-group-headers=X-Remote-Group --requestheader-extra-headers-prefix=X-Remote-Extra- --requestheader-client-ca-file=/var/run/kubernetes/request-header-ca.crt --requestheader-allowed-names=system:auth-proxy --proxy-client-cert-file=/var/run/kubernetes/client-auth-proxy.crt --proxy-client-key-file=/var/run/kubernetes/client-auth-proxy.key --cors-allowed-origins=/127.0.0.1(:[0-9]+)?$,/localhost(:[0-9]+)?$
root 13896 23585 0 Jan13 pts/1 00:00:00 sudo /home/ubuntu/kubernetes/_output/local/bin/linux/amd64/hyperkube proxy --config=/tmp/kube-proxy.yaml --master=https://localhost:6443 --v=3
root 13897 23585 0 Jan13 pts/1 00:00:00 sudo -E /home/ubuntu/kubernetes/_output/local/bin/linux/amd64/hyperkube scheduler --v=3 --kubeconfig /var/run/kubernetes/scheduler.kubeconfig --feature-gates=AllAlpha=false --master=https://localhost:6443
root 13938 13896 0 Jan13 pts/1 01:13:54 /home/ubuntu/kubernetes/_output/local/bin/linux/amd64/hyperkube proxy --config=/tmp/kube-proxy.yaml --master=https://localhost:6443 --v=3
root 13941 13897 99 Jan13 pts/1 35-19:27:12 /home/ubuntu/kubernetes/_output/local/bin/linux/amd64/hyperkube scheduler --v=3 --kubeconfig /var/run/kubernetes/scheduler.kubeconfig --feature-gates=AllAlpha=false --master=https://localhost:6443
root 14035 23585 0 Jan13 pts/1 00:00:00 sudo -E /home/ubuntu/kubernetes/_output/local/bin/linux/amd64/hyperkube kubelet --v=3 --vmodule= --chaos-chance=0.0 --container-runtime=docker --rkt-path= --rkt-stage1-image= --hostname-override=127.0.0.1 --cloud-provider= --cloud-config= --address=127.0.0.1 --kubeconfig /var/run/kubernetes/kubelet.kubeconfig --feature-gates=AllAlpha=false --cpu-cfs-quota=true --enable-controller-attach-detach=true --cgroups-per-qos=true --cgroup-driver=cgroupfs --keep-terminated-pod-volumes=true --eviction-hard=memory.available<100Mi,nodefs.available<10%,nodefs.inodesFree<5% --eviction-soft= --eviction-pressure-transition-period=1m --pod-manifest-path=/var/run/kubernetes/static-pods --fail-swap-on=false --cluster-dns=10.0.0.10 --cluster-domain=cluster.local --port=10250
root 14069 14035 1 Jan13 pts/1 14:58:11 /home/ubuntu/kubernetes/_output/local/bin/linux/amd64/hyperkube kubelet --v=3 --vmodule= --chaos-chance=0.0 --container-runtime=docker --rkt-path= --rkt-stage1-image= --hostname-override=127.0.0.1 --cloud-provider= --cloud-config= --address=127.0.0.1 --kubeconfig /var/run/kubernetes/kubelet.kubeconfig --feature-gates=AllAlpha=false --cpu-cfs-quota=true --enable-controller-attach-detach=true --cgroups-per-qos=true --cgroup-driver=cgroupfs --keep-terminated-pod-volumes=true --eviction-hard=memory.available<100Mi,nodefs.available<10%,nodefs.inodesFree<5% --eviction-soft= --eviction-pressure-transition-period=1m --pod-manifest-path=/var/run/kubernetes/static-pods --fail-swap-on=false --cluster-dns=10.0.0.10 --cluster-domain=cluster.local --port=10250
开发环境,证书位置:
/var/run/kubernetes
$ openssl x509 -noout -text -in /var/run/kubernetes/client-ca.crt
$ sudo openssl rsa -noout -text -in /var/run/kubernetes/client-ca.key
$ openssl req -noout -text -in your.csr #CSR
访问API or access-cluster-api
kubernetes-from-the-ground-up-the-api-server
$ curl http://localhost:8080/api/v1/pods
$ CERTDIR=/var/run/kubernetes
$ curl -i https://127.0.0.1:6443/api/v1/pods --cert $CERTDIR/client-admin.crt --key $CERTDIR/client-admin.key --cacert $CERTDIR/server-ca.crt
glide
using-a-debugger-delve
stack
(dlv) b etcd3.decode
0 0x00000000015d19b3 in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3.decode
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3/store.go:761
1 0x00000000015ca6d1 in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3.(*store).Get
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3/store.go:148
2 0x000000000168d8b3 in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/registry/generic/registry.(*Store).Get
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/registry/generic/registry/store.go:670
3 0x0000000002b7c45f in k8s.io/kubernetes/pkg/registry/core/secret.(*storage).GetSecret
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/registry/core/secret/registry.go:62
4 0x0000000002b857ce in k8s.io/kubernetes/pkg/controller/serviceaccount.(*registryGetter).GetSecret
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/controller/serviceaccount/tokengetter.go:77
5 0x000000000111dfe0 in k8s.io/kubernetes/pkg/serviceaccount.(*jwtTokenAuthenticator).AuthenticateToken
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/serviceaccount/jwt.go:216
6 0x0000000001727a5a in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/token/cache.(*cachedTokenAuthenticator).AuthenticateToken
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator.go:72
7 0x00000000012db362 in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/request/bearertoken.(*Authenticator).AuthenticateRequest
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/request/bearertoken/bearertoken.go:55
8 0x00000000012de82e in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/request/union.(*unionAuthRequestHandler).AuthenticateRequest
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/request/union/union.go:57
9 0x00000000012daae5 in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/group.(*AuthenticatedGroupAdder).AuthenticateRequest
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/group/authenticated_group_adder.go:40
10 0x00000000012de82e in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/request/union.(*unionAuthRequestHandler).AuthenticateRequest
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/request/union/union.go:57
(dlv) b etcd3.(*store).Get
0 0x00000000015ca2e8 in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3.(*store).Get
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3/store.go:128
1 0x000000000168d8b3 in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/registry/generic/registry.(*Store).Get
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/registry/generic/registry/store.go:670
2 0x0000000002b7c45f in k8s.io/kubernetes/pkg/registry/core/secret.(*storage).GetSecret
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/registry/core/secret/registry.go:62
3 0x0000000002b857ce in k8s.io/kubernetes/pkg/controller/serviceaccount.(*registryGetter).GetSecret
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/controller/serviceaccount/tokengetter.go:77
4 0x000000000111dfe0 in k8s.io/kubernetes/pkg/serviceaccount.(*jwtTokenAuthenticator).AuthenticateToken
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/serviceaccount/jwt.go:216
5 0x0000000001727a5a in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/token/cache.(*cachedTokenAuthenticator).AuthenticateToken
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator.go:72
6 0x00000000012db362 in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/request/bearertoken.(*Authenticator).AuthenticateRequest
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/request/bearertoken/bearertoken.go:55
7 0x00000000012de82e in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/request/union.(*unionAuthRequestHandler).AuthenticateRequest
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/request/union/union.go:57
8 0x00000000012daae5 in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/group.(*AuthenticatedGroupAdder).AuthenticateRequest
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/group/authenticated_group_adder.go:40
9 0x00000000012de82e in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/request/union.(*unionAuthRequestHandler).AuthenticateRequest
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/request/union/union.go:57
10 0x00000000012de82e in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/request/union.(*unionAuthRequestHandler).AuthenticateRequest
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/request/union/union.go:57
(dlv) b etcd3.(*store).Get
0 0x00000000015ca2e8 in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3.(*store).Get
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3/store.go:128
1 0x000000000168d8b3 in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/registry/generic/registry.(*Store).Get
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/registry/generic/registry/store.go:670
2 0x0000000002b8048f in k8s.io/kubernetes/pkg/registry/core/serviceaccount.(*storage).GetServiceAccount
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/registry/core/serviceaccount/registry.go:62
3 0x0000000002b854ed in k8s.io/kubernetes/pkg/controller/serviceaccount.(*registryGetter).GetServiceAccount
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/controller/serviceaccount/tokengetter.go:66
4 0x000000000111e5ff in k8s.io/kubernetes/pkg/serviceaccount.(*jwtTokenAuthenticator).AuthenticateToken
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/serviceaccount/jwt.go:231
5 0x0000000001727a5a in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/token/cache.(*cachedTokenAuthenticator).AuthenticateToken
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator.go:72
6 0x00000000012db362 in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/request/bearertoken.(*Authenticator).AuthenticateRequest
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/request/bearertoken/bearertoken.go:55
7 0x00000000012de82e in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/request/union.(*unionAuthRequestHandler).AuthenticateRequest
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/request/union/union.go:57
8 0x00000000012daae5 in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/group.(*AuthenticatedGroupAdder).AuthenticateRequest
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/group/authenticated_group_adder.go:40
9 0x00000000012de82e in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/request/union.(*unionAuthRequestHandler).AuthenticateRequest
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/request/union/union.go:57
10 0x00000000012de82e in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/request/union.(*unionAuthRequestHandler).AuthenticateRequest
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/request/union/union.go:57
(dlv) b union.(*unionAuthRequestHandler).AuthenticateRequest
0 0x00000000012de788 in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/request/union.(*unionAuthRequestHandler).AuthenticateRequest
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/authentication/request/union/union.go:54
1 0x000000000131cde5 in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/endpoints/filters.WithAuthentication.func1
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/endpoints/filters/authentication.go:61
2 0x00000000006add94 in net/http.HandlerFunc.ServeHTTP
at /usr/lib/go-1.9/src/net/http/server.go:1918
3 0x00000000012f8fbb in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/endpoints/request.WithRequestContext.func1
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/endpoints/request/requestcontext.go:110
4 0x00000000006add94 in net/http.HandlerFunc.ServeHTTP
at /usr/lib/go-1.9/src/net/http/server.go:1918
5 0x00000000015da61b in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/server/filters.WithCORS.func1
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/server/filters/cors.go:75
6 0x00000000006add94 in net/http.HandlerFunc.ServeHTTP
at /usr/lib/go-1.9/src/net/http/server.go:1918
7 0x00000000015db70d in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/server/filters.(*timeoutHandler).ServeHTTP.func1
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/server/filters/timeout.go:93
8 0x0000000000460021 in runtime.goexit
at /usr/lib/go-1.9/src/runtime/asm_amd64.s:2337
0 0x00000000012f8f03 in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/endpoints/request.WithRequestContext.func1
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/endpoints/request/requestcontext.go:105
1 0x00000000006add94 in net/http.HandlerFunc.ServeHTTP
at /usr/lib/go-1.9/src/net/http/server.go:1918
2 0x00000000015dbc18 in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/server/filters.WithPanicRecovery.func1
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/server/filters/wrap.go:41
3 0x00000000006add94 in net/http.HandlerFunc.ServeHTTP
at /usr/lib/go-1.9/src/net/http/server.go:1918
4 0x0000000001675ff1 in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/server.(*APIServerHandler).ServeHTTP
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/server/handler.go:198
5 0x00000000006b0ac4 in net/http.serverHandler.ServeHTTP
at /usr/lib/go-1.9/src/net/http/server.go:2619
6 0x00000000006b2d0a in net/http.initNPNRequest.ServeHTTP
at /usr/lib/go-1.9/src/net/http/server.go:3164
7 0x00000000006d7593 in net/http.(*initNPNRequest).ServeHTTP
at ./kubernetes/<autogenerated>:1
8 0x00000000006d022d in net/http.(Handler).ServeHTTP-fm
at /usr/lib/go-1.9/src/net/http/h2_bundle.go:5462
9 0x00000000006873f9 in net/http.(*http2serverConn).runHandler
at /usr/lib/go-1.9/src/net/http/h2_bundle.go:5747
10 0x0000000000460021 in runtime.goexit
at /usr/lib/go-1.9/src/runtime/asm_amd64.s:2337
0 0x00000000012f77bd in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/endpoints/request.(*requestContextMap).Get
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/endpoints/request/requestcontext.go:58
1 0x0000000001320d2d in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/endpoints/filters.WithRequestInfo.func1
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/endpoints/filters/requestinfo.go:31
2 0x00000000006add94 in net/http.HandlerFunc.ServeHTTP
at /usr/lib/go-1.9/src/net/http/server.go:1918
3 0x00000000012f8fbb in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/endpoints/request.WithRequestContext.func1
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/endpoints/request/requestcontext.go:110
4 0x00000000006add94 in net/http.HandlerFunc.ServeHTTP
at /usr/lib/go-1.9/src/net/http/server.go:1918
5 0x00000000015dbc18 in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/server/filters.WithPanicRecovery.func1
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/server/filters/wrap.go:41
6 0x00000000006add94 in net/http.HandlerFunc.ServeHTTP
at /usr/lib/go-1.9/src/net/http/server.go:1918
7 0x0000000001675ff1 in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/server.(*APIServerHandler).ServeHTTP
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/server/handler.go:198
8 0x00000000006b0ac4 in net/http.serverHandler.ServeHTTP
at /usr/lib/go-1.9/src/net/http/server.go:2619
9 0x00000000006b2d0a in net/http.initNPNRequest.ServeHTTP
at /usr/lib/go-1.9/src/net/http/server.go:3164
10 0x00000000006d7593 in net/http.(*initNPNRequest).ServeHTTP
at ./kubernetes/<autogenerated>:1
0 0x00000000012f7dab in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/endpoints/request.(*RequestInfoFactory).NewRequestInfo
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/endpoints/request/requestinfo.go:108
1 0x0000000001320d6f in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/endpoints/filters.WithRequestInfo.func1
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/endpoints/filters/requestinfo.go:37
2 0x00000000006add94 in net/http.HandlerFunc.ServeHTTP
at /usr/lib/go-1.9/src/net/http/server.go:1918
3 0x00000000012f8fbb in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/endpoints/request.WithRequestContext.func1
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/endpoints/request/requestcontext.go:110
4 0x00000000006add94 in net/http.HandlerFunc.ServeHTTP
at /usr/lib/go-1.9/src/net/http/server.go:1918
5 0x00000000015dbc18 in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/server/filters.WithPanicRecovery.func1
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/server/filters/wrap.go:41
6 0x00000000006add94 in net/http.HandlerFunc.ServeHTTP
at /usr/lib/go-1.9/src/net/http/server.go:1918
7 0x0000000001675ff1 in k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/server.(*APIServerHandler).ServeHTTP
at ./kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/server/handler.go:198
8 0x00000000006b0ac4 in net/http.serverHandler.ServeHTTP
at /usr/lib/go-1.9/src/net/http/server.go:2619
9 0x00000000006b2d0a in net/http.initNPNRequest.ServeHTTP
at /usr/lib/go-1.9/src/net/http/server.go:3164
10 0x00000000006d7593 in net/http.(*initNPNRequest).ServeHTTP
at ./kubernetes/<autogenerated>:1