{"id":168,"date":"2019-05-28T17:32:59","date_gmt":"2019-05-28T09:32:59","guid":{"rendered":"http:\/\/www.luyouli.com\/?p=168"},"modified":"2019-05-30T17:21:04","modified_gmt":"2019-05-30T09:21:04","slug":"%e5%88%a9%e7%94%a8%e9%98%bf%e9%87%8c%e4%ba%91%e8%8e%b7%e5%8f%96gcr-io%e7%9a%84kubernetes%e9%95%9c%e5%83%8f","status":"publish","type":"post","link":"https:\/\/www.luyouli.com\/?p=168","title":{"rendered":"\u5229\u7528\u963f\u91cc\u4e91\u83b7\u53d6gcr.io\u7684kubernetes\u955c\u50cf"},"content":{"rendered":"\n<p>\u56e0\u4e3a\u4f17\u6240\u5468\u77e5\u7684\u539f\u56e0\u5c31\u4e0d\u63d0\u539f\u56e0\u4e86\uff0c\u8fd9\u91cc\u53ea\u5199\u662f\u600e\u4e48\u64cd\u4f5c\u8fc7\u7a0b<\/p>\n\n\n\n<p>Kubernetes\u4e3b\u8981\u7531\u4ee5\u4e0b\u51e0\u4e2a\u6838\u5fc3\u7ec4\u4ef6\u7ec4\u6210\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>etcd\u4fdd\u5b58\u4e86\u6574\u4e2a\u96c6\u7fa4\u7684\u72b6\u6001\uff1b<\/li><li>apiserver\u63d0\u4f9b\u4e86\u8d44\u6e90\u64cd\u4f5c\u7684\u552f\u4e00\u5165\u53e3\uff0c\u5e76\u63d0\u4f9b\u8ba4\u8bc1\u3001\u6388\u6743\u3001\u8bbf\u95ee\u63a7\u5236\u3001API\u6ce8\u518c\u548c\u53d1\u73b0\u7b49\u673a\u5236\uff1b<\/li><li>controller manager\u8d1f\u8d23\u7ef4\u62a4\u96c6\u7fa4\u7684\u72b6\u6001\uff0c\u6bd4\u5982\u6545\u969c\u68c0\u6d4b\u3001\u81ea\u52a8\u6269\u5c55\u3001\u6eda\u52a8\u66f4\u65b0\u7b49\uff1b<p><!--more--><\/p><\/li><li>scheduler\u8d1f\u8d23\u8d44\u6e90\u7684\u8c03\u5ea6\uff0c\u6309\u7167\u9884\u5b9a\u7684\u8c03\u5ea6\u7b56\u7565\u5c06Pod\u8c03\u5ea6\u5230\u76f8\u5e94\u7684\u673a\u5668\u4e0a\uff1b<\/li><li>kubelet\u8d1f\u8d23\u7ef4\u62a4\u5bb9\u5668\u7684\u751f\u547d\u5468\u671f\uff0c\u540c\u65f6\u4e5f\u8d1f\u8d23Volume\uff08CVI\uff09\u548c\u7f51\u7edc\uff08CNI\uff09\u7684\u7ba1\u7406\uff1b<\/li><li>Container runtime\u8d1f\u8d23\u955c\u50cf\u7ba1\u7406\u4ee5\u53caPod\u548c\u5bb9\u5668\u7684\u771f\u6b63\u8fd0\u884c\uff08CRI\uff09\uff1b<\/li><li>kube-proxy\u8d1f\u8d23\u4e3aService\u63d0\u4f9bcluster\u5185\u90e8\u7684\u670d\u52a1\u53d1\u73b0\u548c\u8d1f\u8f7d\u5747\u8861\uff1b<\/li><\/ul>\n\n\n\n<p>\u9664\u4e86\u6838\u5fc3\u7ec4\u4ef6\uff0c\u8fd8\u6709\u4e00\u4e9b\u63a8\u8350\u7684Add-ons\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>kube-dns\u8d1f\u8d23\u4e3a\u6574\u4e2a\u96c6\u7fa4\u63d0\u4f9bDNS\u670d\u52a1<\/li><li>Ingress Controller\u4e3a\u670d\u52a1\u63d0\u4f9b\u5916\u7f51\u5165\u53e3<\/li><li>Heapster\u63d0\u4f9b\u8d44\u6e90\u76d1\u63a7<\/li><li>Dashboard\u63d0\u4f9bGUI<\/li><li>Federation\u63d0\u4f9b\u8de8\u53ef\u7528\u533a\u7684\u96c6\u7fa4<\/li><\/ul>\n\n\n\n<p>\u9664\u4e86\u6838\u5fc3\u7ec4\u4ef6\uff0c\u8fd8\u6709\u4e00\u4e9b\u63a8\u8350\u7684Add-ons\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>kube-dns \u8d1f\u8d23\u4e3a\u6574\u4e2a\u96c6\u7fa4\u63d0\u4f9bDNS\u670d\u52a1<\/li><li>Ingress Controller \u4e3a\u670d\u52a1\u63d0\u4f9b\u5916\u7f51\u5165\u53e3<\/li><li>Heapster \u63d0\u4f9b\u8d44\u6e90\u76d1\u63a7<\/li><li>Dashboard \u63d0\u4f9bGUI<\/li><li>Federation \u63d0\u4f9b\u8de8\u53ef\u7528\u533a\u7684\u96c6\u7fa4<\/li><li>Fluentd-elasticsearch \u63d0\u4f9b\u96c6\u7fa4\u65e5\u5fd7\u91c7\u96c6\u3001\u5b58\u50a8\u4e0e\u67e5\u8be2<\/li><\/ul>\n\n\n\n<p>\u51c6\u5907\u64cd\u4f5c\uff1a\u963f\u91cc\u4e91\u8d26\u6237\uff0cgithub\u8d26\u6237<\/p>\n\n\n\n<p>1\u3001\u53bbgcr.io\u4e0a\u770b\u770b\u7684\u5177\u4f53\u7684\u5730\u5740\u548c\u7248\u672c\u53f7\uff0c\u67e5\u770bkubernetes\u7248\u672c\u53f7\uff0c\u5177\u4f53\u5730\u5740\u5982\u4e0b\uff1a<\/p>\n\n\n\n<p><a href=\"https:\/\/console.cloud.google.com\/gcr\/images\/google-containers\/GLOBAL\">https:\/\/console.cloud.google.com\/gcr\/images\/google-containers\/GLOBAL<\/a><\/p>\n\n\n\n<p>Kubernetes v1.14.2<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/luyouli\/kubernetes-images\/tree\/master\/coredns\">coredns<\/a> v1.5.0<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/luyouli\/kubernetes-images\/tree\/master\/etcd-amd64\">etcd-amd64<\/a> v3.3.10<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/luyouli\/kubernetes-images\/tree\/master\/kube-apiserver-amd64\">kube-apiserver-amd64<\/a> v1.14.2<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/luyouli\/kubernetes-images\/tree\/master\/kube-controller-manager-amd64\">kube-controller-manager-amd64<\/a> v1.14.2<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/luyouli\/kubernetes-images\/tree\/master\/kube-proxy-amd64\">kube-proxy-amd64<\/a> v1.14.2<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/luyouli\/kubernetes-images\/tree\/master\/kube-scheduler-amd64\">kube-scheduler-amd64<\/a> v1.14.2<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/luyouli\/kubernetes-images\/tree\/master\/kubernetes-dashboard-amd64\">kubernetes-dashboard-amd64<\/a> v1.10.1<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/luyouli\/kubernetes-images\/tree\/master\/pause-amd64\">pause-amd64<\/a> 3.1<\/p>\n\n\n\n<p>2\u3001\u5728Github\u4e0a\u521b\u5efa\u76f8\u5e94\u7684Dockerfile<\/p>\n\n\n\n<p>\u56fe\u7701\u4e8b\u513f\u5c31\u76f4\u63a5\u4e0b\u8f7d\u6211\u7684\u5c31\u884c\uff0c\u6b22\u8fceFork\uff0c\u5730\u5740\u5982\u4e0b\uff1a<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/luyouli\/kubernetes-images\">https:\/\/github.com\/luyouli\/kubernetes-images<\/a><\/p>\n\n\n\n<p>3\u3001\u5728\u963f\u91cc\u4e91\u4e0a\u9762\u64cd\u4f5c<\/p>\n\n\n\n<p>\u6253\u5f00\u963f\u91cc\u4e91\u955c\u50cf\u670d\u52a1\uff0c\u5730\u5740\u5982\u4e0b\uff1a<\/p>\n\n\n\n<p><a href=\"https:\/\/cr.console.aliyun.com\/?spm=5176.166170.863063.btn1cr3.5bb8217f9bKZ7S#\/imageList\">https:\/\/cr.console.aliyun.com\/<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"946\" height=\"317\" src=\"https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-6.png\" alt=\"\" class=\"wp-image-172\" srcset=\"https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-6.png 946w, https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-6-300x101.png 300w, https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-6-768x257.png 768w\" sizes=\"auto, (max-width: 946px) 100vw, 946px\" \/><\/figure>\n\n\n\n<p>\u9996\u5148\u521b\u5efa\u4e00\u4e2a\u547d\u540d\u7a7a\u95f4\uff0c\u7136\u540e\u9009\u62e9\u533a\u57df&#8211;&gt;\u955c\u50cf\u4ed3\u5e93&#8211;&gt;\u521b\u5efa\u955c\u50cf\u4ed3\u5e93<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"947\" height=\"770\" src=\"https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-7.png\" alt=\"\" class=\"wp-image-173\" srcset=\"https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-7.png 947w, https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-7-300x244.png 300w, https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-7-768x624.png 768w\" sizes=\"auto, (max-width: 947px) 100vw, 947px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"931\" height=\"619\" src=\"https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-8.png\" alt=\"\" class=\"wp-image-174\" srcset=\"https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-8.png 931w, https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-8-300x199.png 300w, https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-8-768x511.png 768w\" sizes=\"auto, (max-width: 931px) 100vw, 931px\" \/><\/figure>\n\n\n\n<p>\u9009\u62e9GitHub\uff0c\u9009\u62e9\u521b\u5efa\u7684\u547d\u540d\u7a7a\u95f4\u548c\u4e4b\u524d\u5728github\u4e0a\u521b\u5efa\u7684\u9879\u76ee\u8def\u5f84\uff0c\u52fe\u9009\u4e0a\u201c\u6d77\u5916\u673a\u5668\u6784\u5efa\u201d\uff0c \u52fe\u9009\u4e0a\u201c\u6d77\u5916\u673a\u5668\u6784\u5efa\u201d \uff0c \u52fe\u9009\u4e0a\u201c\u6d77\u5916\u673a\u5668\u6784\u5efa\u201d \uff0c\u91cd\u8981\u7684\u4e8b\u60c5\u8bf4\u4e09\u904d<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"770\" height=\"388\" src=\"https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-9.png\" alt=\"\" class=\"wp-image-175\" srcset=\"https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-9.png 770w, https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-9-300x151.png 300w, https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-9-768x387.png 768w\" sizes=\"auto, (max-width: 770px) 100vw, 770px\" \/><\/figure>\n\n\n\n<p>\u521b\u5efa\u5b8c\u6210\u4e4b\u540e\uff0c\u9009\u62e9\u65b0\u5efa\u7684\u4ed3\u5e93\uff0c\u9009\u62e9\u6784\u5efa &#8211;&gt; \u6dfb\u52a0\u89c4\u5219<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"712\" height=\"550\" src=\"https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-10.png\" alt=\"\" class=\"wp-image-176\" srcset=\"https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-10.png 712w, https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-10-300x232.png 300w\" sizes=\"auto, (max-width: 712px) 100vw, 712px\" \/><\/figure>\n\n\n\n<p>\u7c7b\u578b\u548cBranch\/Tag\u9009\u62e9\u5373\u53ef\uff0c\u76ee\u5f55\u548c\u955c\u50cf\u7248\u672c\u9700\u8981\u586b\u5199\uff0c\u76ee\u5f55\u4e00\u5b9a\u8981\u8ddfgithub\u4e0a\u4e00\u4e00\u5bf9\u5e94\uff0c\u586b\u5199\u5b8c\u6210\u70b9\u786e\u8ba4\uff0c\u7136\u540e\u70b9\u51fb\uff1a\u7acb\u5373\u6784\u5efa\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u6784\u5efa\u6ca1\u6709\u95ee\u9898\u7684\u8bdd\uff0c\u4f1a\u663e\u793a\u6210\u529f<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"165\" src=\"https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-11-1024x165.png\" alt=\"\" class=\"wp-image-177\" srcset=\"https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-11-1024x165.png 1024w, https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-11-300x48.png 300w, https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-11-768x124.png 768w, https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-11.png 1647w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u8fd9\u4e2a\u955c\u50cf\u7248\u672c\u5c31\u662f\u4e0a\u9762\u81ea\u5df1\u586b\u5199\u7684\u955c\u50cf\u7248\u672c\uff0c\u8ddfgithub\u4e0a\u7684\u955c\u50cf\u7248\u672c\u6ca1\u6709\u5173\u7cfb<\/p>\n\n\n\n<p>\u5728\u5de6\u4fa7\u7684 \u955c\u50cf\u7248\u672c \u4e2d\u53ef\u4ee5\u770b\u5230\u5df2\u7ecf\u521b\u5efa\u7684\u955c\u50cf<\/p>\n\n\n\n<p>4\u3001\u914d\u7f6e\u955c\u50cf\u52a0\u901f\u5668<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"233\" height=\"653\" src=\"https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-12.png\" alt=\"\" class=\"wp-image-178\" srcset=\"https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-12.png 233w, https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-12-107x300.png 107w\" sizes=\"auto, (max-width: 233px) 100vw, 233px\" \/><figcaption>\u9009\u62e9\u955c\u50cf\u52a0\u901f\u5668<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"535\" height=\"551\" src=\"https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-13.png\" alt=\"\" class=\"wp-image-179\" srcset=\"https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-13.png 535w, https:\/\/www.luyouli.com\/wp-content\/uploads\/2019\/05\/image-13-291x300.png 291w\" sizes=\"auto, (max-width: 535px) 100vw, 535px\" \/><figcaption>\u770b\u963f\u91cc\u4e91\u7684\u64cd\u4f5c\u6587\u6863\u5373\u53ef<\/figcaption><\/figure>\n\n\n\n<p>5\u3001pull\/push\u955c\u50cf<\/p>\n\n\n\n<p>\u9009\u62e9\u4e00\u4e2a\u955c\u50cf\u4ed3\u5e93\uff0c\u5728\u57fa\u672c\u4fe1\u606f\u4e2d\u5c31\u6709\u63a8\u9001\u548c\u62c9\u53d6\u955c\u50cf\u7684\u5177\u4f53\u6559\u7a0b\uff0c\u975e\u5e38\u8be6\u7ec6<\/p>\n\n\n\n<p>6\u3001\u4e0b\u8f7d\u955c\u50cf\u53ca\u4fee\u6539TAG\u7684\u811a\u672c<\/p>\n\n\n\n<p>SHELL\u7248\uff1a<\/p>\n\n\n<p>[root@local ~] # vim kubernetes_images_pull.sh <br>#!\/bin\/bash<br># set -x<\/p>\n<p>KUBE_VERSION=v1.14.2<br>KUBE_PAUSE_VERSION=3.1<br>ETCD_VERSION=3.3.10<br>COREDNS_VERSION=1.5.0<\/p>\n<p>GCR_URL=gcr.io\/google_containers<br>ALIYUN_URL=registry.cn-beijing.aliyuncs.com\/luyouli<\/p>\n<p>Images=(<br>kube-proxy-amd64:${KUBE_VERSION}<br>kube-scheduler-amd64:${KUBE_VERSION}<br>kube-controller-manager-amd64:${KUBE_VERSION}<br>kube-apiserver-amd64:${KUBE_VERSION}<br>pause-amd64:${KUBE_PAUSE_VERSION}<br>etcd-amd64:${ETCD_VERSION}<br>coredns:${COREDNS_VERSION}<br>)<\/p>\n<p>for IMAGENAME in ${Images[@]}<br>do<br># \u4e0b\u8f7d\u963f\u91cc\u4e91\u4e0a\u7684\u5bb9\u5668\u955c\u50cf<br>docker pull $ALIYUN_URL\/$IMAGENAME<br># \u628a\u963f\u91cc\u4e91\u7684tag\u6539\u4e3agcr.io\u7684\uff0c\u7701\u7740\u6539kubernetes\u4e86<br>docker tag $ALIYUN_URL\/${IMAGENAME} $GCR_URL\/${IMAGENAME}<br># \u5220\u9664tag\u4e3a\u963f\u91cc\u4e91\u7684\u955c\u50cf\uff0c\u7701\u7a7a\u95f4<br>docker rmi $ALIYUN_URL\/$IMAGENAME<br>done<\/p>\n<p><\/p>\n\n\n<p>Python 3.6\u7248\uff1a<\/p>\n\n\n<p>[root@localhost ~]# vim kubernetes_images_pull.py<\/p>\n<p>#!\/usr\/bin\/python3<br \/>import os<\/p>\n<p>KUBE_VERSION = &#8216;v1.14.2&#8217;<br \/>KUBE_PAUSE_VERSION = &#8216;3.1&#8217;<br \/>ETCD_VERSION = &#8216;3.3.10&#8217;<br \/>COREDNS_VERSION = &#8216;1.5.0&#8217;<\/p>\n<p>GCR_URL = &#8216;gcr.io\/google_containers&#8217;<br \/>ALIYUN_URL = &#8216;registry.cn-beijing.aliyuncs.com\/luyouli&#8217;<\/p>\n<p>Images = [ &#8220;kube-proxy-amd64:%s&#8221; % (KUBE_VERSION),<br \/>&#8220;kube-scheduler-amd64:%s&#8221; % (KUBE_VERSION),<br \/>&#8220;kube-controller-manager-amd64:%s&#8221; % (KUBE_VERSION),<br \/>&#8220;kube-apiserver-amd64:%s&#8221; % (KUBE_VERSION),<br \/>&#8220;pause-amd64:%s&#8221; % (KUBE_PAUSE_VERSION),<br \/>&#8220;etcd-amd64:%s&#8221; % (ETCD_VERSION),<br \/>&#8220;coredns:%s&#8221; % (COREDNS_VERSION),<br \/>]<\/p>\n<p>for line in Images:<br \/>os.system(&#8220;\/usr\/bin\/docker pull %s\/%s&#8221; % (ALIYUN_URL, line))<br \/>os.system(&#8220;\/usr\/bin\/docker tag %s\/%s %s\/%s&#8221; % (ALIYUN_URL, line, GCR_URL, line))<br \/>os.system(&#8220;\/usr\/bin\/docker rmi %s\/%s&#8221; % (ALIYUN_URL, line))<\/p>\n\n\n<p>\u672c\u60f3\u7528docker\u6a21\u5757\u6765\u5904\u7406\uff0c\u8c03\u8bd5\u4e86\u4e24\u4e2a\u5c0f\u65f6\u59cb\u7ec8\u8c03\u8bd5\u4e0d\u901a\uff0c\u5c31\u653e\u5f03\u6539\u7528os\u6a21\u5757\u4e86<\/p>\n\n\n\n<p>\u65f6\u95f4\u592a\u7d27\u5199\u7684\u6bd4\u8f83\u8349\uff0c\u56de\u5934\u6709\u7a7a\u4e86\u518d\u597d\u597d\u7684\u6574\u7406\u4e00\u4e0b<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u56e0\u4e3a\u4f17\u6240\u5468\u77e5\u7684\u539f\u56e0\u5c31\u4e0d\u63d0\u539f\u56e0\u4e86\uff0c\u8fd9\u91cc\u53ea\u5199\u662f\u600e\u4e48\u64cd\u4f5c\u8fc7\u7a0b Kubernetes\u4e3b\u8981\u7531\u4ee5\u4e0b\u51e0\u4e2a\u6838\u5fc3\u7ec4\u4ef6\u7ec4\u6210\uff1a et [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-168","post","type-post","status-publish","format-standard","hentry","category-google"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"views":886,"_links":{"self":[{"href":"https:\/\/www.luyouli.com\/index.php?rest_route=\/wp\/v2\/posts\/168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.luyouli.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.luyouli.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.luyouli.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.luyouli.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=168"}],"version-history":[{"count":14,"href":"https:\/\/www.luyouli.com\/index.php?rest_route=\/wp\/v2\/posts\/168\/revisions"}],"predecessor-version":[{"id":192,"href":"https:\/\/www.luyouli.com\/index.php?rest_route=\/wp\/v2\/posts\/168\/revisions\/192"}],"wp:attachment":[{"href":"https:\/\/www.luyouli.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.luyouli.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.luyouli.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}