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

sample

github-example

分析

debug info

在实际使用中,通常通过kubectl来访问apiserver,也可以通过Kubernetes各个语言的client库来访问apiserver。在使用kubectl时,打开调试日志也可以看到每个API调用的格式,比如

$ kubectl --v=8 get pods
 I0216 ::39.336234  round_trippers.go:] GET http://localhost:8080/api [434/568]
I0216 ::39.336291 round_trippers.go:] Request Headers:
I0216 ::39.336298 round_trippers.go:] 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 ::39.358020 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.364869 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.364890 round_trippers.go:] Response Headers:
I0216 ::39.364896 round_trippers.go:] Content-Type: application/json
I0216 ::39.364904 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.377872 request.go:] 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 ::39.384095 round_trippers.go:] GET http://localhost:8080/apis/apiregistration.k8s.io/v1beta1 [406/568]
I0216 ::39.384116 round_trippers.go:] Request Headers:
I0216 ::39.384129 round_trippers.go:] 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 ::39.405358 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.420389 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.420420 round_trippers.go:] Response Headers:
I0216 ::39.420434 round_trippers.go:] Content-Type: application/json
I0216 ::39.420443 round_trippers.go:] Date: Fri, Feb :: GMT I0216 ::39.423127 request.go:] 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 ::39.424798 round_trippers.go:] GET http://localhost:8080/apis/apps/v1
I0216 ::39.424819 round_trippers.go:] Request Headers:
I0216 ::39.424826 round_trippers.go:] 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 ::39.428491 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.430582 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.430915 round_trippers.go:] Response Headers:
I0216 ::39.431085 round_trippers.go:] Content-Length:
I0216 ::39.431262 round_trippers.go:] Content-Type: application/json
I0216 ::39.431512 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.433986 request.go:] 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 ::39.436429 round_trippers.go:] GET http://localhost:8080/apis/apps/v1beta1
I0216 ::39.436770 round_trippers.go:] Request Headers:
I0216 ::39.436949 round_trippers.go:] 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 ::39.442000 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.442898 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.442924 round_trippers.go:] Response Headers:
I0216 ::39.442937 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.442945 round_trippers.go:] Content-Length:
I0216 ::39.442951 round_trippers.go:] Content-Type: application/json
I0216 ::39.443861 request.go:] 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 ::39.445456 round_trippers.go:] GET http://localhost:8080/apis/authentication.k8s.io/v1
I0216 ::39.445477 round_trippers.go:] Request Headers:
I0216 ::39.445490 round_trippers.go:] 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 ::39.451557 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.452701 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.452722 round_trippers.go:] Response Headers:
I0216 ::39.452728 round_trippers.go:] Content-Type: application/json
I0216 ::39.452737 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.452747 round_trippers.go:] Content-Length:
I0216 ::39.453821 request.go:] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"authentication.k8s.io/v1beta1","resources":[{"name":"tokenreviews","singularName":"","namespaced":false,"kind":"TokenReview","verbs":["create"]}]}
I0216 ::39.455094 round_trippers.go:] GET http://localhost:8080/apis/authorization.k8s.io/v1
I0216 ::39.455112 round_trippers.go:] Request Headers:
I0216 ::39.455121 round_trippers.go:] 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 ::39.459404 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.460193 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.460214 round_trippers.go:] Response Headers:
I0216 ::39.460531 round_trippers.go:] Content-Length:
I0216 ::39.460693 round_trippers.go:] Content-Type: application/json
I0216 ::39.460926 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.462260 request.go:] 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 ::39.464066 round_trippers.go:] GET http://localhost:8080/apis/autoscaling/v1
I0216 ::39.464229 round_trippers.go:] Request Headers:
I0216 ::39.464354 round_trippers.go:] 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 ::39.467882 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.468869 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.468883 round_trippers.go:] Response Headers:
I0216 ::39.468895 round_trippers.go:] Content-Type: application/json
I0216 ::39.468903 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.468910 round_trippers.go:] Content-Length:
I0216 ::39.470169 request.go:] 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 ::39.471262 round_trippers.go:] GET http://localhost:8080/apis/batch/v1
I0216 ::39.471279 round_trippers.go:] Request Headers:
I0216 ::39.471288 round_trippers.go:] 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 ::39.475427 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.478412 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.478430 round_trippers.go:] Response Headers:
I0216 ::39.478443 round_trippers.go:] Content-Type: application/json
I0216 ::39.478454 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.478460 round_trippers.go:] Content-Length:
I0216 ::39.479588 request.go:] 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 ::39.480757 round_trippers.go:] GET http://localhost:8080/apis/certificates.k8s.io/v1beta1
I0216 ::39.480773 round_trippers.go:] Request Headers:
I0216 ::39.480782 round_trippers.go:] 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 ::39.484134 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.492547 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.492584 round_trippers.go:] Response Headers:
I0216 ::39.492598 round_trippers.go:] Content-Type: application/json
I0216 ::39.492608 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.492634 round_trippers.go:] Content-Length:
I0216 ::39.494399 request.go:] 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 ::39.495750 round_trippers.go:] GET http://localhost:8080/apis/policy/v1beta1
I0216 ::39.495769 round_trippers.go:] Request Headers:
I0216 ::39.495778 round_trippers.go:] 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 ::39.520414 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.521966 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.521984 round_trippers.go:] Response Headers:
I0216 ::39.521997 round_trippers.go:] Content-Type: application/json
I0216 ::39.522005 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.522014 round_trippers.go:] Content-Length:
I0216 ::39.522905 request.go:] 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 ::39.560504 round_trippers.go:] GET http://localhost:8080/apis/rbac.authorization.k8s.io/v1beta1
I0216 ::39.560533 round_trippers.go:] Request Headers:
I0216 ::39.560543 round_trippers.go:] 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 ::39.564835 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.565999 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.566040 round_trippers.go:] Response Headers:
I0216 ::39.566053 round_trippers.go:] Content-Type: application/json
I0216 ::39.566063 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.566073 round_trippers.go:] Content-Length:
I0216 ::39.567252 request.go:] 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 ::39.568654 round_trippers.go:] GET http://localhost:8080/apis/storage.k8s.io/v1
I0216 ::39.568688 round_trippers.go:] Request Headers:
I0216 ::39.568704 round_trippers.go:] 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 ::39.571490 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.572043 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.572064 round_trippers.go:] Response Headers:
I0216 ::39.572075 round_trippers.go:] Content-Length:
I0216 ::39.572085 round_trippers.go:] Content-Type: application/json
I0216 ::39.572095 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.572921 request.go:] 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 ::39.574629 round_trippers.go:] GET http://localhost:8080/apis/admissionregistration.k8s.io/v1beta1
I0216 ::39.574653 round_trippers.go:] Request Headers:
I0216 ::39.574660 round_trippers.go:] 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 ::39.581905 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.581929 round_trippers.go:] Response Headers:
I0216 ::39.581939 round_trippers.go:] Content-Type: application/json
I0216 ::39.581946 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.581954 round_trippers.go:] Content-Length:
I0216 ::39.582791 request.go:] 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 ::39.583904 round_trippers.go:] GET http://localhost:8080/apis/apiextensions.k8s.io/v1beta1
I0216 ::39.583921 round_trippers.go:] Request Headers:
I0216 ::39.583930 round_trippers.go:] 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 ::39.587205 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.588361 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.588378 round_trippers.go:] Response Headers:
I0216 ::39.588388 round_trippers.go:] Content-Type: application/json
I0216 ::39.588398 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.605602 request.go:] 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 ::39.617626 round_trippers.go:] GET http://localhost:8080/api/v1/namespaces/default/pods?limit=500
I0216 ::39.617655 round_trippers.go:] Request Headers:
I0216 ::39.617675 round_trippers.go:] Accept: application/json
I0216 ::39.617685 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.619934 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.619951 round_trippers.go:] Response Headers:
I0216 ::39.619975 round_trippers.go:] Content-Type: application/json I0216 ::39.619993 round_trippers.go:] Date: Fri, Feb :: GMT [/]
I0216 ::39.620009 round_trippers.go:] Content-Length:
I0216 ::39.620077 request.go:] Response Body: {"kind":"PodList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/nam
espaces/default/pods","resourceVersion":""},"items":[]}
No resources found.
I0216 ::39.336234  round_trippers.go:] GET http://localhost:8080/api [434/568]
I0216 ::39.336291 round_trippers.go:] Request Headers:
I0216 ::39.336298 round_trippers.go:] 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 ::39.358020 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.364869 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.364890 round_trippers.go:] Response Headers:
I0216 ::39.364896 round_trippers.go:] Content-Type: application/json
I0216 ::39.364904 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.377872 request.go:] 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 ::39.384095 round_trippers.go:] GET http://localhost:8080/apis/apiregistration.k8s.io/v1beta1 [406/568]
I0216 ::39.384116 round_trippers.go:] Request Headers:
I0216 ::39.384129 round_trippers.go:] 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 ::39.405358 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.420389 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.420420 round_trippers.go:] Response Headers:
I0216 ::39.420434 round_trippers.go:] Content-Type: application/json
I0216 ::39.420443 round_trippers.go:] Date: Fri, Feb :: GMT I0216 ::39.423127 request.go:] 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 ::39.424798 round_trippers.go:] GET http://localhost:8080/apis/apps/v1
I0216 ::39.424819 round_trippers.go:] Request Headers:
I0216 ::39.424826 round_trippers.go:] 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 ::39.428491 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.430582 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.430915 round_trippers.go:] Response Headers:
I0216 ::39.431085 round_trippers.go:] Content-Length:
I0216 ::39.431262 round_trippers.go:] Content-Type: application/json
I0216 ::39.431512 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.433986 request.go:] 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 ::39.436429 round_trippers.go:] GET http://localhost:8080/apis/apps/v1beta1
I0216 ::39.436770 round_trippers.go:] Request Headers:
I0216 ::39.436949 round_trippers.go:] 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 ::39.442000 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.442898 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.442924 round_trippers.go:] Response Headers:
I0216 ::39.442937 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.442945 round_trippers.go:] Content-Length:
I0216 ::39.442951 round_trippers.go:] Content-Type: application/json
I0216 ::39.443861 request.go:] 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 ::39.445456 round_trippers.go:] GET http://localhost:8080/apis/authentication.k8s.io/v1
I0216 ::39.445477 round_trippers.go:] Request Headers:
I0216 ::39.445490 round_trippers.go:] 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 ::39.451557 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.452701 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.452722 round_trippers.go:] Response Headers:
I0216 ::39.452728 round_trippers.go:] Content-Type: application/json
I0216 ::39.452737 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.452747 round_trippers.go:] Content-Length:
I0216 ::39.453821 request.go:] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"authentication.k8s.io/v1beta1","resources":[{"name":"tokenreviews","singularName":"","namespaced":false,"kind":"TokenReview","verbs":["create"]}]}
I0216 ::39.455094 round_trippers.go:] GET http://localhost:8080/apis/authorization.k8s.io/v1
I0216 ::39.455112 round_trippers.go:] Request Headers:
I0216 ::39.455121 round_trippers.go:] 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 ::39.459404 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.460193 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.460214 round_trippers.go:] Response Headers:
I0216 ::39.460531 round_trippers.go:] Content-Length:
I0216 ::39.460693 round_trippers.go:] Content-Type: application/json
I0216 ::39.460926 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.462260 request.go:] 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 ::39.464066 round_trippers.go:] GET http://localhost:8080/apis/autoscaling/v1
I0216 ::39.464229 round_trippers.go:] Request Headers:
I0216 ::39.464354 round_trippers.go:] 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 ::39.467882 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.468869 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.468883 round_trippers.go:] Response Headers:
I0216 ::39.468895 round_trippers.go:] Content-Type: application/json
I0216 ::39.468903 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.468910 round_trippers.go:] Content-Length:
I0216 ::39.470169 request.go:] 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 ::39.471262 round_trippers.go:] GET http://localhost:8080/apis/batch/v1
I0216 ::39.471279 round_trippers.go:] Request Headers:
I0216 ::39.471288 round_trippers.go:] 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 ::39.475427 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.478412 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.478430 round_trippers.go:] Response Headers:
I0216 ::39.478443 round_trippers.go:] Content-Type: application/json
I0216 ::39.478454 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.478460 round_trippers.go:] Content-Length:
I0216 ::39.479588 request.go:] 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 ::39.480757 round_trippers.go:] GET http://localhost:8080/apis/certificates.k8s.io/v1beta1
I0216 ::39.480773 round_trippers.go:] Request Headers:
I0216 ::39.480782 round_trippers.go:] 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 ::39.484134 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.492547 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.492584 round_trippers.go:] Response Headers:
I0216 ::39.492598 round_trippers.go:] Content-Type: application/json
I0216 ::39.492608 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.492634 round_trippers.go:] Content-Length:
I0216 ::39.494399 request.go:] 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 ::39.495750 round_trippers.go:] GET http://localhost:8080/apis/policy/v1beta1
I0216 ::39.495769 round_trippers.go:] Request Headers:
I0216 ::39.495778 round_trippers.go:] 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 ::39.520414 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.521966 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.521984 round_trippers.go:] Response Headers:
I0216 ::39.521997 round_trippers.go:] Content-Type: application/json
I0216 ::39.522005 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.522014 round_trippers.go:] Content-Length:
I0216 ::39.522905 request.go:] 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 ::39.560504 round_trippers.go:] GET http://localhost:8080/apis/rbac.authorization.k8s.io/v1beta1
I0216 ::39.560533 round_trippers.go:] Request Headers:
I0216 ::39.560543 round_trippers.go:] 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 ::39.564835 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.565999 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.566040 round_trippers.go:] Response Headers:
I0216 ::39.566053 round_trippers.go:] Content-Type: application/json
I0216 ::39.566063 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.566073 round_trippers.go:] Content-Length:
I0216 ::39.567252 request.go:] 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 ::39.568654 round_trippers.go:] GET http://localhost:8080/apis/storage.k8s.io/v1
I0216 ::39.568688 round_trippers.go:] Request Headers:
I0216 ::39.568704 round_trippers.go:] 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 ::39.571490 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.572043 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.572064 round_trippers.go:] Response Headers:
I0216 ::39.572075 round_trippers.go:] Content-Length:
I0216 ::39.572085 round_trippers.go:] Content-Type: application/json
I0216 ::39.572095 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.572921 request.go:] 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 ::39.574629 round_trippers.go:] GET http://localhost:8080/apis/admissionregistration.k8s.io/v1beta1
I0216 ::39.574653 round_trippers.go:] Request Headers:
I0216 ::39.574660 round_trippers.go:] 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 ::39.581905 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.581929 round_trippers.go:] Response Headers:
I0216 ::39.581939 round_trippers.go:] Content-Type: application/json
I0216 ::39.581946 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.581954 round_trippers.go:] Content-Length:
I0216 ::39.582791 request.go:] 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 ::39.583904 round_trippers.go:] GET http://localhost:8080/apis/apiextensions.k8s.io/v1beta1
I0216 ::39.583921 round_trippers.go:] Request Headers:
I0216 ::39.583930 round_trippers.go:] 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 ::39.587205 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.588361 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.588378 round_trippers.go:] Response Headers:
I0216 ::39.588388 round_trippers.go:] Content-Type: application/json
I0216 ::39.588398 round_trippers.go:] Date: Fri, Feb :: GMT
I0216 ::39.605602 request.go:] 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 ::39.617626 round_trippers.go:] GET http://localhost:8080/api/v1/namespaces/default/pods?limit=500
I0216 ::39.617655 round_trippers.go:] Request Headers:
I0216 ::39.617675 round_trippers.go:] Accept: application/json
I0216 ::39.617685 round_trippers.go:] User-Agent: kubectl/v1.10.0 (linux/amd64) kubernetes/09cf6c9
I0216 ::39.619934 round_trippers.go:] Response Status: OK in milliseconds
I0216 ::39.619951 round_trippers.go:] Response Headers:
I0216 ::39.619975 round_trippers.go:] Content-Type: application/json I0216 ::39.619993 round_trippers.go:] Date: Fri, Feb :: GMT [/]
I0216 ::39.620009 round_trippers.go:] Content-Length:
I0216 ::39.620077 request.go:] Response Body: {"kind":"PodList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/nam
espaces/default/pods","resourceVersion":""},"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

k8s-api-tutorial

kubectl-vs-http-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

golang包管理工具glide简介

[golang] 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

k8s debug的更多相关文章

  1. [k8s]debug模式启动集群&k8s常见报错集合(on the fly)

    debug模式启动-支持sa 集群内(pod访问api)使用443加密 no1 no2 安装flanneld kubelet/kube-proxy m1 安装etcd/ api/contruller/ ...

  2. k8s debug记录之kubelet user.slice container monitor failure

    在kubernetes中,如果使用其自带的单机启动脚本./hack/local-up-cluster.sh来启动一个本地集群的话,会在kubelet的日志中观察到类似以下内容的日志: Failed t ...

  3. jmeter sampler maven项目排错记

    eclipse 创建的maven项目,引入jar包之后出现红色叹号,一直找不到原因,连main方法都无法运行,提示找不到类: 错误: 找不到或无法加载主类 soapsampler.SoapSample ...

  4. java应用诊断和在线debug利器bistoury介绍与在K8S环境使用

    Bistoury介绍 Bistoury 是去哪儿网开源的一个对应用透明,无侵入的java应用诊断工具,用于提升开发人员的诊断效率和能力,可以让开发人员无需登录机器或修改系统,就可以从日志.内存.线程. ...

  5. 简单5步,轻松debug K8S服务!

    作者: Ram Rai,性能.可扩展性以及软件架构的爱好者 原文链接: https://medium.com/better-programming/debug-your-kubernetes-serv ...

  6. docker k8s 1.3.8 + flannel

    docker k8s + flannel kubernetes 是谷歌开源的 docker 集群管理解决方案. 项目地址: http://kubernetes.io/ 测试环境: node-1: 10 ...

  7. k8s编排最佳实践

    编排文件技巧 使用资源时指定最新稳定版的API version 编排文件应该纳入版本控制,这样可以在必要的时候快速回滚,同样也有利于资源恢复和重建 使用YAML格式而不是JSON格式,尽管两种格式的文 ...

  8. ASP.NET Core 借助 K8S 玩转容器编排

    Production-Grade Container Orchestration - Automated container deployment, scaling, and management. ...

  9. 如何使用vs将asp.net core项目添加容器支持并发布docker镜像到私有dockerhub和添加k8s/helm管理

    这篇文章介绍一下,如何使用VS2017给asp.net core添加容器支持,并发布镜像到私有docker hub,然后用chart管理容器镜像的操作流程. 话不多说,just do it. 新建项目 ...

随机推荐

  1. Sqlserver2008R2配置数据库镜像之我的经验总结

    一. 相关环境介结. 数据库:Sqlserver2008R2    网络环境:主机.镜像机(阿里云,青岛节点同域),见证机(本公司自己托管在上海) 二. 服务器相关配置. 1. 分别开启三台服务器50 ...

  2. 大数据工具比较:R 语言和 Spark 谁更胜一筹?

    本文有两重目的,一是在性能方面快速对比下R语言和Spark,二是想向大家介绍下Spark的机器学习库 背景介绍 由于R语言本身是单线程的,所以可能从性能方面对比Spark和R并不是很明智的做法.即使这 ...

  3. cocos2d JS 在 JavaScript 中,怎样把一个对象转化成 JSON 字符串?

    为什么今天要做这样子的操作,原因很简单,因为cocos JS 的本地缓存储存不了对象,所以当我通过本地缓存的 key和value来取值的时候就取不出来来,json的消息数据是一个对象来的,然而在做牌局 ...

  4. 一群猴子排成一圈,按1,2,...,n依次编号

    朋友面试遇到的题,网上大部分都是直接往数组后push的解法,不考虑,下面这个方法看起来很简单,但是我理解不了,有大牛懂得给解释一下 朋友面试遇到的题,网上大部分都是直接往数组后push的解法,不考虑, ...

  5. node.js初识07

    之前有说过,nodejs是 没有web容器的,阿帕奇是自带的web容器,如果希望node达到阿帕奇的效果,即http://127.0.0.1:3000/a/b/c.html 出现这样的链接访问页面,所 ...

  6. jQuery-animate万能动画效果

    问题:效果受局限 解决:万能动画函数:animate() animation()可对数值类型的CSS样式执行定时器动画 包括:宽高,位置,透明度,边框宽度,字体大小 强调:不能对非数值类型属性做动画 ...

  7. Git-分支的建立与合并

    举一个实际工作中可能会遇到的分支建立与合并的例子: 开发某个网站. 为实现某个新的需求,创建一个分支. 在这个分支上开展工作. 假设此时,你突然接到一个电话说有个很严重的问题需要紧急修补,那么可以按照 ...

  8. 加快cin读取速度

    cin在读取大量数据时会比C里的scanf慢很多,但这并不是cin"无能",而是C++为了兼容C,对cin做了scanf的同步,只要关闭这个同步,cin就会有不弱于scanf的速度 ...

  9. Python之描述器

    1.描述器的表现 用到三个魔术方法,__get__(), __set__(), __delete__() 方法签名如下 object.__get__(self,instance,owner) obje ...

  10. JavaScript 函数声明与函数表达式的区别 函数声明提升(function declaration hoisting)

    解析器在向执行环境中加载数据时,对函数声明和函数表达式并非一视同仁.解析器会率先读取函数声明,并使其在执行任何代码之前可用(可以访问).至于函数表达式,则必须等到解析器执行到它所在的代码行,才会真的被 ...