{"id":9076,"date":"2022-06-15T14:36:05","date_gmt":"2022-06-15T06:36:05","guid":{"rendered":"https:\/\/blog.ywdevops.cn\/?p=9076"},"modified":"2022-06-15T15:14:36","modified_gmt":"2022-06-15T07:14:36","slug":"serviceaccount","status":"publish","type":"post","link":"https:\/\/blog.ywdevops.cn\/index.php\/2022\/06\/15\/serviceaccount\/","title":{"rendered":"k8s\u4e4bServiceAccount"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">k8s\u6709\u4e24\u5957\u72ec\u7acb\u7684\u8d26\u53f7\u7cfb\u7edf\uff0c\u5206\u4e3aUser\u7528\u6237\u548cServiceAccount\u8d26\u6237\uff0c\u533a\u522b\u5982\u4e0b\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>User\u8d26\u53f7\u7ed9\u4eba\u4f7f\u7528\u7684\uff0cServiceAccount\u5219\u662f\u7ed9Pod\u91cc\u9762\u7684\u8fdb\u7a0b\u4f7f\u7528<\/li><li>User\u8d26\u53f7\u662f\u5168\u5c40\u6027\u7684\uff0cServiceAccount\u662f\u57fa\u4e8e\u5177\u4f53\u7684Namespace<\/li><li>User\u8d26\u53f7\u4e0e\u540e\u7aef\u6570\u636e\u5e93\u540c\u6b65\uff0c\u521b\u5efa\u6d41\u7a0b\u590d\u6742\uff0cServiceAccount\u521b\u5efa\u7b80\u5355<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ec0\u4e48\u662fServiceAccount\uff1f<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ServiceAccount\u662fKubernetes API\u4e0a\u7684\u4e00\u79cd\u8d44\u6e90\u7c7b\u578b\uff0c\u5b83\u5c5e\u4e8e\u540d\u79f0\u7a7a\u95f4\u7ea7\u522b\uff0c\u7528\u4e8e\u8ba9Pod\u5bf9\u8c61\u5185\u90e8\u7684\u5e94\u7528\u7a0b\u5e8f\u5728\u4e0eAPI Server\u901a\u4fe1\u65f6\u5b8c\u6210\u8eab\u4efd\u8ba4\u8bc1<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e09\u4e2a\u72ec\u7acb\u7ec4\u4ef6\u534f\u52a9\u5b8c\u6210ServiceAccount\u81ea\u52a8\u5316\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><code>ServiceAccount<\/code>&nbsp;\u51c6\u5165\u63a7\u5236\u5668<\/li><li>Token \u63a7\u5236\u5668<\/li><li><code>ServiceAccount<\/code>&nbsp;\u63a7\u5236\u5668<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u4e00\u3001\u542f\u7528ServiceAccount\u51c6\u5165\u63a7\u5236\u5668\u63d2\u4ef6\uff1a<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6b63\u5e38\u5b89\u88c5\u540e\uff0c\u5df2\u7ecf\u5f00\u542f\u4e86\u6b64\u63d2\u4ef6\uff0c\u672c\u4f8b\u4ee5\u4e8c\u8fdb\u5236\u5b89\u88c5\u4e3a\u4f8b\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"708\" height=\"223\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/2-7.png\" alt=\"\" class=\"wp-image-9083\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/2-7.png 708w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/2-7-300x94.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/2-7-600x189.png 600w\" sizes=\"auto, (max-width: 708px) 100vw, 708px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u4e8c\u3001ServiceAccount\u51c6\u5165\u63a7\u5236\u5668\u804c\u8d23\uff1a<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5bf9\u4e8ePod\u7684\u65b0\u589e\u6216\u8005\u4fee\u6539\uff0cServiceAccount\u51c6\u5165\u63a7\u5236\u5668\u4f1a\u9a8c\u8bc1Pod\u91cc\u7684ServiceAccount\u662f\u5426\u5408\u6cd5\uff0c\u5305\u62ec\u5982\u4e0b:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1\u3001\u5982\u679cspec.serviceAccount\u57df\u6ca1\u6709\u88ab\u8bbe\u7f6e\uff0c\u5219Kubernetes\u9ed8\u8ba4\u4e3a\u5176\u6307\u5b9a\u540d\u79f0\u4e3adefault\u7684Service&nbsp;Account\uff0c\u67e5\u770b\u9ed8\u8ba4\u547d\u540d\u7a7a\u95f4(default)\u4e0b\u7684serviceaccount\u5185\u5bb9\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"706\" height=\"157\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/3-7.png\" alt=\"\" class=\"wp-image-9086\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/3-7.png 706w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/3-7-300x67.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/3-7-600x133.png 600w\" sizes=\"auto, (max-width: 706px) 100vw, 706px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u67e5\u770b\u9ed8\u8ba4\u547d\u540d\u7a7a\u95f4(default)\u4e0b\u7684\u9ed8\u8ba4token\u4fe1\u606f\uff0c\u5305\u542bca.crt\u3001token\u3001namespace\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"706\" height=\"99\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/6-6.png\" alt=\"\" class=\"wp-image-9096\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/6-6.png 706w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/6-6-300x42.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/6-6-600x84.png 600w\" sizes=\"auto, (max-width: 706px) 100vw, 706px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"706\" height=\"280\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/7-6.png\" alt=\"\" class=\"wp-image-9098\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/7-6.png 706w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/7-6-300x119.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/7-6-600x238.png 600w\" sizes=\"auto, (max-width: 706px) 100vw, 706px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">2\u3001\u5982\u679c\u6307\u5b9a\u4e86spec.serviceAccountName\u5e76\u4e14\u4e0d\u662fdefault\uff0c\u5982\u679c\u6b64Service Account\u4e0d\u5b58\u5728\uff0c\u5219\u8be5Pod\u64cd\u4f5c\u5931\u8d25<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3\u3001\u5982\u679c\u5728Pod\u4e2d\u6ca1\u6709\u6307\u5b9aImagePullSecrets\uff0c\u90a3\u4e48\u8fd9\u4e2aspec.serviceAccount\u57df\u6307\u5b9a\u7684Service&nbsp;Account\u7684ImagePullSecrets\u4f1a\u81ea\u52a8\u52a0\u5165\u5230\u8be5Pod\u4e2d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4\u3001\u5982\u679c\u670d\u52a1\u8d26\u53f7\u7684&nbsp;<code>automountServiceAccountToken<\/code>&nbsp;\u6216 Pod \u7684&nbsp;<code>automountServiceAccountToken<\/code>&nbsp;\u90fd\u672a\u663e\u5f0f\u8bbe\u7f6e\u4e3a&nbsp;<code>false<\/code>\uff0c\u5219\u4e3a Pod \u521b\u5efa\u4e00\u4e2a&nbsp;<code>volume<\/code>\uff0c\u5728\u5176\u4e2d\u5305\u542b\u7528\u6765\u8bbf\u95ee API \u7684\u4ee4\u724c<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">5\u3001\u5982\u679c\u4e0a\u4e00\u6b65\u4e3aServiceAccount\u4ee4\u724c\u521b\u5efa\u4e86\u5377\uff0c\u5219\u4e3aPod\u5bf9\u8c61\u4e2d\u7684\u6bcf\u4e2a\u5bb9\u5668\u6dfb\u52a0\u4e00\u4e2avolumeMounts\uff0c\u5c06ServiceAccount\u7684\u5b58\u50a8\u5377\u6302\u8f7d\u81f3\/var\/run\/secrets\/kubernetes.io\/serviceaccount\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"706\" height=\"226\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/5-7.png\" alt=\"\" class=\"wp-image-9092\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/5-7.png 706w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/5-7-300x96.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/5-7-600x192.png 600w\" sizes=\"auto, (max-width: 706px) 100vw, 706px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fdb\u5165\u5bb9\u5668\u5185\u90e8\u53ef\u4ee5\u770b\u5230\u5b58\u5728\u4e09\u4e2a\u6587\u4ef6\uff0cca.crt\uff0cnamespace\uff0ctoken\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"706\" height=\"129\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/4-6.png\" alt=\"\" class=\"wp-image-9090\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/4-6.png 706w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/4-6-300x55.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/4-6-600x110.png 600w\" sizes=\"auto, (max-width: 706px) 100vw, 706px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u6b64token\u7684\u5185\u5bb9\u4e0e\u547d\u540d\u7a7a\u95f4\u4e2d\u751f\u6210\u7684\u9ed8\u8ba4token\u5185\u5bb9\u4e00\u6837<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u901a\u8fc7\u4e0a\u8ff0\u4e09\u4e2a\u6587\u4ef6\uff0cPod\u8bbf\u95eeAPI Server\u670d\u52a1\u6d41\u7a0b\u5982\u4e0b\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Pod\u5728\u8c03\u7528API Server\u65f6\uff0c\u5728Http Header\u4e2d\u4f20\u9012\u4e86\u4e00\u4e2aToken\u5b57\u7b26\u4e32\uff0c\u6b64Token\u5185\u5bb9\u6765\u81eaPod\u6307\u5b9a\u8def\u5f84\u4e0b\u7684\u4e00\u4e2a\u6587\u4ef6(\u6587\u4ef6\u540dtoken)\uff0c\u7531Kubernetes Controller\u8fdb\u7a0b\u7528API Server\u7684\u79c1\u94a5\uff08&#8211;service-account-private-zkey-file\u6307\u5b9a\u7684\u79c1\u94a5\uff09\u7b7e\u540d\u6307\u5b9a\u751f\u6210\u7684\u4e00\u4e2aJWT\u00a0Secret<\/li><li>\u901a\u8fc7HTTPS\u65b9\u5f0f\u4e0eAPI Server\u5efa\u7acb\u8fde\u63a5\u540e\uff0c\u4f1a\u7528Pod\u91cc\u6307\u5b9a\u8def\u5f84\u4e0b\u7684\u4e00\u4e2aCA\u8bc1\u4e66(ca.crt)\u9a8c\u8bc1API Server\u53d1\u6765\u7684\u8bc1\u4e66\uff0c\u9a8c\u8bc1\u662f\u5426\u4e3aCA\u8bc1\u4e66\u7b7e\u540d\u7684\u5408\u6cd5\u8bc1\u4e66<\/li><li>API Server\u6536\u5230Token\u540e\uff0c\u91c7\u7528\u81ea\u8eab\u79c1\u94a5\uff08service-account-key-file\u6307\u5b9a\uff0c\u5982\u679c\u6ca1\u6709\u6307\u5b9a\uff0c\u5219\u9ed8\u8ba4\u91c7\u7528tls-private-key-file\u6307\u5b9a\u7684\u53c2\u6570\uff09\u5bf9Token\u8fdb\u884c\u5408\u6cd5\u6027\u9a8c\u8bc1<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u6bcf\u4e2aNamespace\u4e0b\u90fd\u6709\u4e00\u4e2a\u540d\u4e3adefault\u7684\u9ed8\u8ba4Service Account\u5bf9\u8c61\uff0c\u5728\u8fd9\u4e2aServiceAccount\u91cc\u9762\u6709\u4e00\u4e2a\u540d\u4e3aTokens\u7684\u53ef\u4ee5\u5f53\u505aVolume\u88ab\u6302\u8f7d\u5230Pod\u91cc\u7684Secret\uff0c\u5f53Pod\u542f\u52a8\u65f6\uff0c\u8fd9\u4e2aSecret\u4f1a\u81ea\u52a8\u88ab\u6302\u8f7d\u5230Pod\u7684\u6307\u5b9a\u76ee\u5f55\u4e0b\uff0c\u7528\u6765\u534f\u52a9\u5b8c\u6210Pod\u4e2d\u7684\u8fdb\u7a0b\u8bbf\u95eeAPI Server\u65f6\u7684\u8eab\u4efd\u9274\u6743<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u4e09\u3001Token\u63a7\u5236\u5668\uff1a<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">kube-controller-manager\u521b\u5efa\u4e86Token Controller\u63a7\u5236\u5668\uff0c\u5176\u4e3b\u8981\u804c\u8d23\u5305\u62ec\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u76d1\u6d4b ServiceAccount \u7684\u521b\u5efa\u5e76\u521b\u5efa\u76f8\u5e94\u7684\u670d\u52a1\u8d26\u53f7\u4ee4\u724c Secret \u4ee5\u5141\u8bb8\u8bbf\u95ee API\uff0c\u521b\u5efa\u4e86ServiceAccount\u540e\u4f1a\u7acb\u5373\u81ea\u52a8\u521b\u5efa\u4e00\u4e2aSecret<\/li><li>\u76d1\u6d4b ServiceAccount \u7684\u5220\u9664\u5e76\u5220\u9664\u6240\u6709\u76f8\u5e94\u7684\u670d\u52a1\u8d26\u53f7\u4ee4\u724c Secret<\/li><li>\u76d1\u6d4bServiceAccount Token Secret \u7684\u6dfb\u52a0\uff0c\u4fdd\u8bc1\u76f8\u5e94\u7684 ServiceAccount \u5b58\u5728\uff0c\u5982\u6709\u9700\u8981\uff0c \u5411 Secret \u4e2d\u6dfb\u52a0Token<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u5fc5\u987b\u901a\u8fc7\u00a0<code>--service-account-private-key-file<\/code>\u00a0\u6807\u5fd7\u4e3a\u00a0<code>kube-controller-manager<\/code>\u00a0\u7684\u4ee4\u724c\u63a7\u5236\u5668\u4f20\u5165\u4e00\u4e2a\u670d\u52a1\u8d26\u53f7\u79c1\u94a5\u6587\u4ef6\u3002\u8be5\u79c1\u94a5\u7528\u4e8e\u4e3a\u6240\u751f\u6210\u7684\u670d\u52a1\u8d26\u53f7\u4ee4\u724c\u7b7e\u540d\u3002 \u540c\u6837\u5730\uff0c\u4f60\u9700\u8981\u901a\u8fc7\u00a0<code>--service-account-key-file<\/code>\u00a0\u6807\u5fd7\u5c06\u5bf9\u5e94\u7684\u516c\u94a5\u901a\u77e5\u7ed9 kube-apiserver\u3002\u516c\u94a5\u7528\u4e8e\u5728\u8eab\u4efd\u8ba4\u8bc1\u8fc7\u7a0b\u4e2d\u6821\u9a8c\u4ee4\u724c\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u56db\u3001ServiceAccout\u63a7\u5236\u5668\uff1a<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ServiceAccount\u63a7\u5236\u5668\u7ba1\u7406\u5404\u540d\u5b57\u7a7a\u95f4\u4e0b\u7684 ServiceAccount \u5bf9\u8c61\uff0c\u5e76\u4e14\u4fdd\u8bc1\u6bcf\u4e2a\u6d3b\u8dc3\u7684 \u540d\u5b57\u7a7a\u95f4\u4e0b\u5b58\u5728\u4e00\u4e2a\u540d\u4e3a &#8220;default&#8221; \u7684ServiceAccount<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Secret\u4ece\u5c5e\u4e8eService Account\u8d44\u6e90\u5bf9\u8c61\uff0c\u4e00\u4e2aService Account\u5bf9\u8c61\u91cc\u9762\u53ef\u4ee5\u5305\u62ec\u591a\u4e2a\u4e0d\u540c\u7684Secret\u5bf9\u8c61\uff0c\u5206\u522b\u7528\u4e8e\u4e0d\u540c\u76ee\u7684\u7684\u8ba4\u8bc1\u6d3b\u52a8<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f8b\u5982\uff1a\u4e0b\u9762\u4f8b\u5b50\u8868\u793a\u521b\u5efa\u4e00\u4e2a\u540d\u4e3amyserviceaccount\u7684ServiceAccount\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"706\" height=\"209\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/10-5.png\" alt=\"\" class=\"wp-image-9121\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/10-5.png 706w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/10-5-300x89.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/10-5-600x178.png 600w\" sizes=\"auto, (max-width: 706px) 100vw, 706px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u521b\u5efa\u4e00\u4e2asecret\uff0c\u5728\u5176\u4e2d\u6307\u5b9aserviceaccount\u4fe1\u606f\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"707\" height=\"149\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/11-5.png\" alt=\"\" class=\"wp-image-9123\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/11-5.png 707w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/11-5-300x63.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/11-5-600x126.png 600w\" sizes=\"auto, (max-width: 707px) 100vw, 707px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u518d\u6b21\u67e5\u770bmyserviceaccount\u7684\u5185\u5bb9\uff0c\u53ef\u4ee5\u770b\u5230\u591a\u4e86\u4e2aSecret\u5bf9\u8c61\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"706\" height=\"162\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/12-4.png\" alt=\"\" class=\"wp-image-9125\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/12-4.png 706w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/12-4-300x69.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/06\/12-4-600x138.png 600w\" sizes=\"auto, (max-width: 706px) 100vw, 706px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>k8s\u6709\u4e24\u5957\u72ec\u7acb\u7684\u8d26\u53f7\u7cfb\u7edf\uff0c\u5206\u4e3aUser\u7528\u6237\u548cServiceAccount\u8d26\u6237\uff0c\u533a\u522b\u5982\u4e0b\uff1a User\u8d26\u53f7\u7ed9\u4eba\u4f7f [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":9110,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[93,23],"tags":[],"class_list":["post-9076","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-kubernetes","category-rong"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":8}},"_links":{"self":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts\/9076","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/comments?post=9076"}],"version-history":[{"count":39,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts\/9076\/revisions"}],"predecessor-version":[{"id":9126,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts\/9076\/revisions\/9126"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/media\/9110"}],"wp:attachment":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/media?parent=9076"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/categories?post=9076"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/tags?post=9076"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}