{"id":142187,"date":"2019-04-11T09:37:12","date_gmt":"2019-04-11T01:37:12","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=142187"},"modified":"2019-04-10T12:38:50","modified_gmt":"2019-04-10T04:38:50","slug":"kubernetes-kubelet-api","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/kubernetes-kubelet-api.html","title":{"rendered":"Kubernetes1.5\u65b0\u7279\u6027\uff08\u4e00\uff09:Kubelet API\u589e\u52a0\u8ba4\u8bc1\u548c\u6388\u6743\u80fd\u529b"},"content":{"rendered":"
\u80cc\u666f\u4ecb\u7ecd<\/strong><\/span><\/div>\n

\u5728Kubernetes1.5\u4e2d\uff0c\u5bf9\u4e8ekubelet\u65b0\u589e\u52a0\u4e86\u51e0\u4e2a\u540c\u8ba4\u8bc1\/\u6388\u6743\u76f8\u5173\u7684\u51e0\u4e2a\u542f\u52a8\u53c2\u6570\uff0c\u5206\u522b\u662f\uff1a<\/p>\n

\u8ba4\u8bc1\u76f8\u5173\u53c2\u6570\uff1a<\/p>\n

\r\nanonymous-auth\u53c2\u6570\uff1a\u662f\u5426\u542f\u7528\u533f\u540d\u8bbf\u95ee\uff0c\u53ef\u4ee5\u9009\u62e9true\u6216\u8005false\uff0c\u9ed8\u8ba4\u662ftrue\uff0c\u8868\u793a\u542f\u7528\u533f\u540d\u8bbf\u95ee\u3002\r\n\r\nauthentication-token-webhook\u53c2\u6570\uff1a\u4f7f\u7528tokenreviewAPI\u6765\u8fdb\u884c\u4ee4\u724c\u8ba4\u8bc1\u3002\r\n\r\nauthentication-token-webhook-cache-ttl\u53c2\u6570\uff1awebhook\u4ee4\u724c\u8ba4\u8bc1\u7f13\u5b58\u54cd\u5e94\u65f6\u957f\u3002\r\n\r\nclient-ca-file\u53c2\u6570\uff1a\u8868\u793a\u4f7f\u7528x509\u8bc1\u4e66\u8ba4\u8bc1\uff0c\u5982\u679c\u8bbe\u7f6e\u6b64\u53c2\u6570\uff0c\u90a3\u4e48\u5c31\u67e5\u627eclient-ca-file\u53c2\u6570\u8bbe\u7f6e\u7684\u8ba4\u8bc1\u6587\u4ef6\uff0c\u4efb\u4f55\u8bf7\u6c42\u53ea\u6709\u5728\u8ba4\u8bc1\u6587\u4ef6\u4e2d\u5b58\u5728\u7684\u5bf9\u5e94\u7684\u8ba4\u8bc1\uff0c\u90a3\u4e48\u624d\u53ef\u4ee5\u6b63\u5e38\u8bbf\u95ee\u3002\r\n<\/pre>\n

\u6388\u6743\u76f8\u5173\u53c2\u6570\uff1a<\/p>\n

\r\nauthorization-mode\u53c2\u6570\uff1akubelet\u7684\u6388\u6743\u6a21\u5f0f\uff0c\u53ef\u4ee5\u9009\u62e9AlwaysAllow\u6216\u8005Webhook\uff0c\u5982\u679c\u8bbe\u7f6e\u6210Webhook\uff0c\u90a3\u4e48\u4f7f\u7528SubjectAccessReviewAPI\u8fdb\u884c\u6388\u6743\u3002\r\n\r\nauthorization-webhook-cache-authorized-ttl\u53c2\u6570\uff1awebhook\u6388\u6743\u65f6\uff0c\u5df2\u7ecf\u88ab\u6388\u6743\u5185\u5bb9\u7684\u7f13\u5b58\u65f6\u957f\u3002\r\n\r\nauthorization-webhook-cache-unauthorized-ttl\u53c2\u6570\uff1awebhook\u6388\u6743\u65f6\uff0c\u6ca1\u6709\u88ab\u6388\u6743\u5185\u5bb9\u7684\u7f13\u5b58\u65f6\u957f\u3002\r\n<\/pre>\n
\u8ba4\u8bc1<\/strong><\/span><\/div>\n

\u9ed8\u8ba4anonymous-auth\u53c2\u6570\u8bbe\u7f6e\u6210true\uff0c\u4e5f\u5c31\u662f\u53ef\u4ee5\u8fdb\u884c\u533f\u540d\u8ba4\u8bc1\uff0c\u8fd9\u65f6\u5bf9kubelet API\u7684\u8bf7\u6c42\u90fd\u4ee5\u533f\u540d\u65b9\u5f0f\u8fdb\u884c\uff0c\u7cfb\u7edf\u4f1a\u4f7f\u7528\u9ed8\u8ba4\u533f\u540d\u7528\u6237\u548c\u9ed8\u8ba4\u7528\u6237\u7ec4\u6765\u8fdb\u884c\u8bbf\u95ee\uff0c\u9ed8\u8ba4\u7528\u6237\u540d\u201csystem:anonymous\u201d\uff0c\u9ed8\u8ba4\u7528\u6237\u7ec4\u540d\u201csystem:unauthenticated\u201d\u3002<\/p>\n

\u53ef\u4ee5\u7981\u6b62\u533f\u540d\u8bf7\u6c42\uff0c\u8fd9\u65f6\u5c31\u9700\u8981\u8bbe\u7f6ekubelet\u542f\u52a8\u53c2\u6570\uff1a\u201c\u2013anonymous-auth=false\u201d\uff0c\u8fd9\u65f6\u5982\u679c\u8bf7\u6c42\u65f6\u672a\u7ecf\u8fc7\u8ba4\u8bc1\u7684\uff0c\u90a3\u4e48\u4f1a\u8fd4\u56de\u201c401 Unauthorized\u201d\u3002<\/p>\n

\u53ef\u4ee5\u4f7f\u7528x509\u8bc1\u4e66\u8ba4\u8bc1\uff08X.509\u683c\u5f0f\u7684\u8bc1\u4e66\u662f\u6700\u901a\u7528\u7684\u4e00\u79cd\u7b7e\u540d\u8bc1\u4e66\u683c\u5f0f\uff09\u3002\u8fd9\u65f6\u5c31\u9700\u8981\u8bbe\u7f6ekubelet\u542f\u52a8\u53c2\u6570\uff1a\u201c\u2013client-ca-file\u201d\uff0c\u63d0\u4f9b\u8ba4\u8bc1\u6587\u4ef6\uff0c\u901a\u8fc7\u8ba4\u8bc1\u6587\u4ef6\u6765\u8fdb\u884c\u8ba4\u8bc1\u3002\u540c\u65f6\u8fd8\u9700\u8981\u8bbe\u7f6eapi server\u7ec4\u4ef6\u542f\u52a8\u53c2\u6570\uff1a\u201c\u2013kubelet-client-certificate\u201d\u548c\u201c\u2013kubelet-client-key\u201d\u3002\u5728\u8ba4\u8bc1\u6587\u4ef6\u4e2d\u4e00\u4e2a\u7528\u6237\u53ef\u4ee5\u5c5e\u4e8e\u591a\u4e2a\u7528\u6237\u7ec4\uff0c\u6bd4\u5982\u4e0b\u9762\u4f8b\u5b50\u4ea7\u751f\u7684\u8ba4\u8bc1\uff1a<\/p>\n

\r\nopenssl req -new -key jbeda.pem -outjbeda-csr.pem -subj \u201c\/CN=jbeda\/O=app1\/O=app2\u201d\r\n<\/pre>\n

\u8fd9\u4e2a\u4f8b\u5b50\u521b\u5efa\u4e86csr\u8ba4\u8bc1\u6587\u4ef6\uff0c\u8fd9\u4e2acsr\u8ba4\u8bc1\u6587\u4ef6\u4f5c\u7528\u4e8e\u7528\u6237jbeda\uff0c\u8fd9\u4e2a\u7528\u6237\u5c5e\u4e8e\u4e24\u4e2a\u7528\u6237\u7ec4\uff0c\u5206\u522b\u662fapp1\u548capp2\u3002<\/p>\n

\u53ef\u4ee5\u542f\u7528\u4ee4\u724c\u8ba4\u8bc1\uff0c\u8fd9\u65f6\u9700\u8981\u901a\u8fc7\u547d\u4ee4\u201c\u2013runtime-config=authentication.k8s.io\/v1beta1=true\u201c\u542f\u7528api server\u7ec4\u4ef6authentication.k8s.io\/v1beta1\u76f8\u5173\u7684API\uff0c\u8fd8\u9700\u8981\u542f\u7528kubelet\u7ec4\u4ef6\u7684\u201c\u2013authentication-token-webhook\u201d\u3001\u201c\u2013kubeconfig\u201d\u3001\u201c\u2013require-kubeconfig\u201d\u4e09\u4e2a\u53c2\u6570\u3002<\/p>\n

kubeconfig\u53c2\u6570\uff1a\u8bbe\u7f6ekubelet\u914d\u7f6e\u6587\u4ef6\u8def\u5f84\uff0c\u8fd9\u4e2a\u914d\u7f6e\u6587\u4ef6\u7528\u6765\u544a\u8bc9kubelet\u7ec4\u4ef6api server\u7ec4\u4ef6\u7684\u4f4d\u7f6e\uff0c\u9ed8\u8ba4\u8def\u5f84\u662f\u3002<\/p>\n

require-kubeconfig\u53c2\u6570\uff1a\u8fd9\u662f\u4e00\u4e2a\u5e03\u5c14\u7c7b\u578b\u53c2\u6570\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u6210true\u6216\u8005false\uff0c\u5982\u679c\u8bbe\u7f6e\u6210true\uff0c\u90a3\u4e48\u8868\u793a\u542f\u7528kubeconfig\u53c2\u6570\uff0c\u4ecekubeconfig\u53c2\u6570\u8bbe\u7f6e\u7684\u914d\u7f6e\u6587\u4ef6\u4e2d\u67e5\u627eapi server\u7ec4\u4ef6\uff0c\u5982\u679c\u8bbe\u7f6e\u6210false\uff0c\u90a3\u4e48\u8868\u793a\u4f7f\u7528kubelet\u53e6\u5916\u4e00\u4e2a\u53c2\u6570\u201capi-servers\u201d\u6765\u67e5\u627eapi server\u7ec4\u4ef6\u4f4d\u7f6e\u3002<\/p>\n

\u5728kubernetes\u6e90\u4ee3\u7801\u4e2d\uff0c\u6709\u4e00\u4e2a\u9519\u8bef\u7684\u6ce8\u91ca\uff1a<\/p>\n

\r\nfunc NewKubeletServer() *KubeletServer {\r\n\r\nversioned:= &v1alpha1.KubeletConfiguration{}\r\n\r\napi.Scheme.Default(versioned)\r\n\r\nconfig:= componentconfig.KubeletConfiguration{}\r\n\r\napi.Scheme.Convert(versioned,&config, nil)\r\n\r\nreturn&KubeletServer{\r\n\r\nKubeConfig:           flag.NewStringFlag(\u201c\/var\/lib\/kubelet\/kubeconfig\u201d),\r\n\r\nRequireKubeConfig:    false, \/\/ in 1.5, default to true\r\n\r\nKubeletConfiguration:config,\r\n\r\n}\r\n\r\n}\r\n<\/pre>\n

\u8fd9\u91cc\u9762\u5bf9RequireKubeConfig\u53c2\u6570\u9ed8\u8ba4\u503c\u7684\u8bbe\u7f6e\u662ffalse\uff0c\u4f46\u662f\u5728\u6ce8\u91ca\u4e2d\u5199\u7684\u786e\u5b9etrue\u3002<\/p>\n

\u542f\u7528\u4ee4\u724c\u8ba4\u8bc1\u540e\uff0ckubelet\u4f1a\u8c03\u7528TokenReview API\u6765\u8fdb\u884c\u4ee4\u724c\u8ba4\u8bc1\u3002<\/p>\n

\u4e0b\u9762\u662f\u4e00\u4e2akubeconfig\u6587\u4ef6\u683c\u5f0f\u6837\u4f8b\uff1a<\/p>\n

\r\nclusters:\r\n\r\n-name: name-of-remote-authn-service\r\n\r\ncluster:\r\n\r\ncertificate-authority: \/path\/to\/ca.pem         # \u6821\u9a8c\u8fdc\u7a0b\u670d\u52a1\u7684\u8ba4\u8bc1\u6587\u4ef6\r\n\r\nserver: https:\/\/authn.example.com\/authenticate # \u8fdc\u7a0b\u670d\u52a1\u8bbf\u95eehttps\u8def\u5f84\r\n\r\nusers:\r\n\r\n-name: name-of-api-server\r\n\r\nuser:\r\n\r\nclient-certificate: \/path\/to\/cert.pem    # webhook\u63d2\u4ef6\u4f7f\u7528\u7684\u8ba4\u8bc1\u6587\u4ef6\r\n\r\nclient-key: \/path\/to\/key.pem         # \u8ba4\u8bc1\u6587\u4ef6\u5bf9\u5e94\u7684\u5bc6\u94a5\u6587\u4ef6\r\n\r\ncurrent-context: webhook\r\n\r\ncontexts:\r\n\r\n\u2013 context:\r\n\r\ncluster: name-of-remote-authn-service\r\n\r\nuser: name-of-api-sever\r\n\r\nname: webhook\r\n<\/pre>\n

\u8ba4\u8bc1\u8bf7\u6c42\u683c\u5f0f\u6837\u4f8b\u5982\u4e0b\uff1a<\/p>\n

\r\n{\r\n\r\n\u201capiVersion\u201d: \u201cauthentication.k8s.io\/v1beta1\u201d,\r\n\r\n\u201ckind\u201d: \u201cTokenReview\u201d,\r\n\r\n\u201cspec\u201d: {\r\n\r\n\u201ctoken\u201d: \u201c(BEARERTOKEN)\u201d\r\n\r\n}\r\n\r\n}\r\n<\/pre>\n

\u6210\u529f\u7684\u8ba4\u8bc1\u54cd\u5e94\u5982\u4e0b\uff1a<\/p>\n

\r\n{\r\n\r\n\u201capiVersion\u201d: \u201cauthentication.k8s.io\/v1beta1\u201d,\r\n\r\n\u201ckind\u201d: \u201cTokenReview\u201d,\r\n\r\n\u201cstatus\u201d: {\r\n\r\n\u201cauthenticated\u201d: true,\r\n\r\n\u201cuser\u201d: {\r\n\r\n\u201cusername\u201d: \u201cjanedoe@example.com\u201d,\r\n\r\n\u201cuid\u201d: \u201c42\u201d,\r\n\r\n\u201cgroups\u201d: [\r\n\r\n\u201cdevelopers\u201d,\r\n\r\n\u201cqa\u201d\r\n\r\n],\r\n\r\n\u201cextra\u201d: {\r\n\r\n\u201cextrafield1\u201d: [\r\n\r\n\u201cextravalue1\u201d,\r\n\r\n\u201cextravalue2\u201d\r\n\r\n]\r\n\r\n}\r\n\r\n}\r\n\r\n}\r\n\r\n}\r\n<\/pre>\n

\u5931\u8d25\u7684\u8ba4\u8bc1\u54cd\u5e94\u5982\u4e0b\uff1a<\/p>\n

\r\n{\r\n\r\n\u201capiVersion\u201d: \u201cauthentication.k8s.io\/v1beta1\u201d,\r\n\r\n\u201ckind\u201d: \u201cTokenReview\u201d,\r\n\r\n\u201cstatus\u201d: {\r\n\r\n\u201cauthenticated\u201d: false\r\n\r\n}\r\n\r\n}\r\n<\/pre>\n
\u6388\u6743<\/strong><\/span><\/div>\n

\u4efb\u4f55\u8bf7\u6c42\u88ab\u6210\u529f\u8ba4\u8bc1\u540e\u624d\u4f1a\u88ab\u6388\u6743\uff0c\u5305\u62ec\u533f\u540d\u8ba4\u8bc1\u8bf7\u6c42\u3002\u9ed8\u8ba4\u7684\u6388\u6743\u6a21\u5f0f\u662fAlwaysAllow\uff0c\u610f\u5473\u7740\u5141\u8bb8\u4efb\u4f55\u8bf7\u6c42\u3002\u5176\u5b9e\u5bf9\u4e8eAPI\u7684\u8bf7\u6c42\u662f\u9700\u8981\u8fdb\u884c\u66f4\u7ec6\u7c92\u5ea6\u5212\u5206\u548c\u6388\u6743\u7684\uff0c\u6709\u4e0b\u9762\u4e24\u70b9\u539f\u56e0\uff1a<\/p>\n

\u867d\u7136\u5141\u8bb8\u533f\u540d\u7528\u6237\u8bf7\u6c42\uff0c\u4f46\u662f\u5e94\u8be5\u9650\u5236\u533f\u540d\u7528\u6237\u53ef\u4ee5\u8bbf\u95ee\u7684API\u3002<\/p>\n

\u867d\u7136\u5141\u8bb8\u8ba4\u8bc1\u7528\u6237\u8bf7\u6c42\uff0c\u4f46\u662f\u4e0d\u540c\u8ba4\u8bc1\u7528\u6237\u5e94\u8be5\u53ef\u4ee5\u8bbf\u95ee\u4e0d\u540c\u7684API\uff0c\u800c\u4e0d\u80fd\u6240\u6709\u8ba4\u8bc1\u7528\u6237\u53ea\u80fd\u8bbf\u95ee\u76f8\u540c\u7684API\u3002<\/p>\n

\u8981\u60f3\u8fdb\u884cAPI\u6743\u9650\u63a7\u5236\uff0c\u9700\u8981\u901a\u8fc7\u547d\u4ee4\u201c\u2013runtime-config= authorization.k8s.io \/v1beta1=true\u201c\u542f\u7528api server\u7ec4\u4ef6authorization.k8s.io\/v1beta1\u76f8\u5173\u7684API\uff0c\u8fd8\u9700\u8981\u5c06\u6388\u6743\u6a21\u5f0f\u53c2\u6570\u201c\u2013authorization-mode\u201d\u8bbe\u7f6e\u6210Webhook\uff0c\u7136\u540e\u542f\u7528kubelet\u7ec4\u4ef6\u7684\u201c\u2013kubeconfig\u201d\u548c\u201c\u2013require-kubeconfig\u201d\u4e24\u4e2a\u53c2\u6570\uff0c\u8fd9\u4e24\u4e2a\u53c2\u6570\u7684\u4f5c\u7528\u5728\u4e0a\u9762\u8ba4\u8bc1\u7ae0\u8282\u5df2\u7ecf\u8be6\u7ec6\u4ecb\u7ecd\u8fc7\u4e86\uff0c\u8fd9\u91cc\u4e0d\u518d\u4ecb\u7ecd\u3002<\/p>\n

Kubelet\u63a5\u7740\u5c31\u4f1a\u8c03\u7528api server\u7ec4\u4ef6\u7684SubjectAccessReviewAPI\u6765\u5224\u65ad\u54ea\u4e2a\u8bf7\u6c42\u9700\u8981\u8fdb\u884c\u6388\u6743\u63a7\u5236\u3002<\/p>\n

\u8bf7\u6c42\u52a8\u4f5c\u7c7b\u578b\u662f\u6839\u636eHTTP\u8bbf\u95ee\u7c7b\u578b\u8fdb\u884c\u5212\u5206\u7684\uff0c\u5982\u4e0b\u9762\u8868\u683c\u6240\u793a\uff1a<\/p>\n

\r\nHTTP verb\trequest verb\r\nPOST\tcreate\r\nGET, HEAD\tget\r\nPUT\tupdate\r\nPATCH\tpatch\r\nDELETE\tdelete\r\n<\/pre>\n

\u8d44\u6e90\u8bbf\u95ee\u8bf7\u6c42\u662f\u6839\u636e\u4e0d\u540c\u8bf7\u6c42\u8def\u5f84\u6765\u8fdb\u884c\u5212\u5206\u7684\uff0c\u5982\u4e0b\u9762\u8868\u683c\u6240\u793a\uff1a<\/p>\n

\r\nKubelet API\t\u8d44\u6e90\u540d\u79f0\t\u5b50\u8d44\u6e90\u540d\u79f0\r\n\/stats\/*\tnodes\tstats\r\n\/metrics\/*\tnodes\tmetrics\r\n\/logs\/*\tnodes\tlog\r\n\/spec\/*\tnodes\tspec\r\nall others\tnodes\tproxy\r\n<\/pre>\n

\u5bf9\u4e8e\u8d44\u6e90\u8bbf\u95ee\u8bf7\u6c42\uff0c\u8bbf\u95ee\u65f6\u540d\u5b57\u7a7a\u95f4\u548cAPI\u7ec4\u8fd9\u4e24\u4e2a\u5c5e\u6027\u6c38\u8fdc\u90fd\u662f\u7a7a\u503c\uff0c\u8d44\u6e90\u540d\u79f0\u7684\u5c5e\u6027\u503c\u5c31\u662fkubelet\u6240\u5728\u8282\u70b9\u5bf9\u8c61\u540d\u79f0\u3002<\/p>\n

\u8981\u662f\u60f3\u8ba9kubelete API\u53ef\u4ee5\u8fdb\u884c\u6743\u9650\u63a7\u5236\uff0c\u8fd8\u9700\u8981\u786e\u4fddapi server\u7ec4\u4ef6\u5df2\u7ecf\u542f\u7528\u4e86\u201c\u2013kubelet-client-certificate\u201d\u548c\u201c\u2013kubelet-client-key\u201d\u8fde\u4e2a\u53c2\u6570\uff0c<\/p>\n

kubelet-client-certificate\u53c2\u6570\uff1a\u5ba2\u6237\u7aef\u8ba4\u8bc1\u6587\u4ef6\u8def\u5f84<\/p>\n

kubelet-client-key\u53c2\u6570\uff1a\u5ba2\u6237\u7aef\u5bc6\u94a5\u6587\u4ef6\u8def\u5f84<\/p>\n

\u8fd8\u786e\u4fdd\u5ba2\u6237\u7aef\u88ab\u6388\u6743\u53ef\u4ee5\u8bbf\u95ee\u4e0b\u9762\u5c5e\u6027\uff1a<\/p>\n

\r\nverb=*, resource=nodes,subresource=proxy\r\n\r\nverb=*, resource=nodes, subresource=stats\r\n\r\nverb=*, resource=nodes,subresource=log\r\n\r\nverb=*, resource=nodes,subresource=spec\r\n\r\nverb=*, resource=nodes,subresource=metrics\r\n<\/pre>\n
\u603b\u7ed3<\/strong><\/span><\/div>\n

Kubernetes1.5\u4e2d\u589e\u52a0\u4e86kubele API\u7684\u8ba4\u8bc1\u548c\u6388\u6743\u529f\u80fd\uff0c\u4ece\u4e2d\u53ef\u4ee5\u53d1\u73b0\u793e\u533a\u5bf9K8S\u5728\u751f\u4ea7\u73af\u8282\u4e2d\u5b89\u5168\u6027\u7684\u8bbe\u8ba1\u65e5\u8d8b\u5b8c\u5584\uff0c\u4e5f\u8bf4\u660e\u6709\u8d8a\u6765\u8d8a\u591a\u7684\u5ba2\u6237\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u4f7f\u7528K8S\u4e86\u3002\u7ecf\u5e38\u8bbf\u95eeK8S\u793e\u533a\u5c31\u4f1a\u53d1\u73b0\uff0c\u5728\u57fa\u7840\u529f\u80fd\u65e5\u8d8b\u5b8c\u5584\u7684\u60c5\u51b5\u4e0b\uff0cK8S\u793e\u533a\u73b0\u5728\u5bf9\u4e8e\u8de8\u4e91\uff08Federation\uff09\u548c\u5b89\u5168\u8ba4\u8bc1\uff08Security\/Auth\uff09\u8fd9\u4e24\u65b9\u9762\u6709\u4e86\u957f\u8db3\u7684\u8fdb\u6b65\uff0c\u5c06\u6765\u7684K8S\u4f1a\u9002\u5408\u66f4\u591a\u7684\u751f\u4ea7\u73af\u5883\uff0c\u4f1a\u6210\u4e3a\u4e00\u6b3e\u7279\u522b\u53d7\u6b22\u8fce\u7684\u5bb9\u5668\u7f16\u6392\u5f00\u6e90\u8f6f\u4ef6\u4ea7\u54c1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5728Kubernetes1.5\u4e2d\uff0c\u5bf9\u4e8ekubelet\u65b0\u589e\u52a0\u4e86\u51e0\u4e2a\u540c\u8ba4\u8bc1\/\u6388\u6743\u76f8\u5173\u7684\u51e0\u4e2a\u542f\u52a8\u53c2\u6570\uff0c\u5206\u522b\u662f\uff1a \u8ba4\u8bc1\u76f8 […]<\/p>\n","protected":false},"author":668,"featured_media":142190,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-142187","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/142187","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/668"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=142187"}],"version-history":[{"count":4,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/142187\/revisions"}],"predecessor-version":[{"id":142270,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/142187\/revisions\/142270"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/142190"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=142187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=142187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=142187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}