{"id":24515,"date":"2020-08-21T14:19:52","date_gmt":"2020-08-21T06:19:52","guid":{"rendered":"http:\/\/45.77.26.173\/?p=24515"},"modified":"2022-05-19T20:42:19","modified_gmt":"2022-05-19T12:42:19","slug":"%e3%80%90%e6%95%b8%e4%bd%8d3c%e3%80%91%e8%a7%a3%e6%b1%bagitlab-runner%e4%bd%bf%e7%94%a8cicd-pipeline%e8%a8%ad%e5%ae%9a%e6%8e%a8%e9%80%81dcoker%e5%bd%b1%e5%83%8f%e5%88%b0gcp%e7%9a%84%e9%8c%af%e8%aa%a4","status":"publish","type":"post","link":"https:\/\/mshw.info\/?p=24515","title":{"rendered":"\u3010\u6578\u4f4d3C\u3011\u89e3\u6c7aGitlab runner\u4f7f\u7528CICD pipeline\u8a2d\u5b9a\u63a8\u9001dcoker\u5f71\u50cf\u5230GCP\u7684\u932f\u8aa4\u554f\u984c"},"content":{"rendered":"<p>\u6700\u8fd1\u6709\u500b\u554f\u984c\u9700\u6c42\u662f<span lang=\"zh-TW\">\u4f7f\u7528<\/span><span lang=\"en-US\">gitlab runner<\/span><span lang=\"zh-TW\">\u63a8\u9001docker\u5f71\u50cf\u5230<\/span><span lang=\"en-US\">GCP<\/span><\/p>\n<p>\u4ee5\u4fbf\u65bcK8S\u7684\u670d\u52d9\u4f7f\u7528<\/p>\n<p>\u4f46\u4e00\u76f4\u767c\u751f\u986f\u793a\u6c92\u6709\u6b0a\u9650\u7684\u76f8\u95dc\u554f\u984c<\/p>\n<p>\u5f8c\u4f86\u767c\u73fe\u9019\u500b\u6b65\u9a5f\u9700\u8981\u4f7f\u7528&#8221;\u670d\u52d9\u5e33\u865f&#8221;\u800c&#8221;\u975e\u767b\u5165\u5e33\u865f&#8221;<\/p>\n<p>\u53ea\u662f\u5728\u904e\u7a0b\u4e2d\u9084\u662f\u767c\u751f\u932f\u8aa4&#8230;<\/p>\n<p><a href=\"http:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0100.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"24518\" data-permalink=\"https:\/\/mshw.info\/?attachment_id=24518\" data-orig-file=\"https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0100.png\" data-orig-size=\"1200,772\" data-comments-opened=\"1\" data-image-title=\"\u54ea\u88e1\u597d\u5403\u54ea\u88e1\u53bb:\u7f8e\u98df\u907f\u96f7\u7bb4 \u3010\u6578\u4f4d3C\u3011\u89e3\u6c7aGitlab runner\u4f7f\u7528CICD pipeline\u8a2d\u5b9a\u63a8\u9001dcoker\u5f71\u50cf\u5230GCP\u7684\u932f\u8aa4\u554f\u984c  \" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0100-720x463.png\" class=\"alignnone size-full wp-image-24518\" src=\"http:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0100.png\" alt=\"\u3010\u6578\u4f4d3C\u3011\u89e3\u6c7aGitlab runner\u4f7f\u7528CICD pipeline\u8a2d\u5b9a\u63a8\u9001dcoker\u5f71\u50cf\u5230GCP\u7684\u932f\u8aa4\u554f\u984c 3C\/\u8cc7\u8a0a\/\u901a\u8a0a\/\u7db2\u8def GCP-google cloud platform \u67b6\u7ad9 \u9748\u7570\u73fe\u8c61&amp;\u7591\u96e3\u96dc\u75c7 \" width=\"1200\" height=\"772\" title=\"\" srcset=\"https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0100.png 1200w, https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0100-300x193.png 300w, https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0100-720x463.png 720w, https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0100-863x555.png 863w, https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0100-168x108.png 168w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><\/p>\n<p style=\"margin: 0in;font-family: 'Microsoft JhengHei';font-size: 11.0pt\">\n<p>\u671f\u9593\u67e5\u904egcloud info\u7684\u8cc7\u8a0a\u770b\u8d77\u4f86\u8a2d\u5b9a\u4e0a\u597d\u50cf\u6c92\u751a\u9ebc\u554f\u984c<\/p>\n<p>\u4f46google\u7684\u6587\u4ef6\u771f\u7684\u662f\u6709\u770b\u537b\u6c92\u6709\u5f88\u61c2&#8230;\u5509<\/p>\n<p><a href=\"http:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0099.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"24517\" data-permalink=\"https:\/\/mshw.info\/?attachment_id=24517\" data-orig-file=\"https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0099.png\" data-orig-size=\"1200,626\" data-comments-opened=\"1\" data-image-title=\"\u54ea\u88e1\u597d\u5403\u54ea\u88e1\u53bb:\u7f8e\u98df\u907f\u96f7\u7bb4 \u3010\u6578\u4f4d3C\u3011\u89e3\u6c7aGitlab runner\u4f7f\u7528CICD pipeline\u8a2d\u5b9a\u63a8\u9001dcoker\u5f71\u50cf\u5230GCP\u7684\u932f\u8aa4\u554f\u984c  \" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0099-720x376.png\" class=\"alignnone size-full wp-image-24517\" src=\"http:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0099.png\" alt=\"\u3010\u6578\u4f4d3C\u3011\u89e3\u6c7aGitlab runner\u4f7f\u7528CICD pipeline\u8a2d\u5b9a\u63a8\u9001dcoker\u5f71\u50cf\u5230GCP\u7684\u932f\u8aa4\u554f\u984c 3C\/\u8cc7\u8a0a\/\u901a\u8a0a\/\u7db2\u8def GCP-google cloud platform \u67b6\u7ad9 \u9748\u7570\u73fe\u8c61&amp;\u7591\u96e3\u96dc\u75c7 \" width=\"1200\" height=\"626\" title=\"\" srcset=\"https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0099.png 1200w, https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0099-300x157.png 300w, https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0099-720x376.png 720w, https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0099-863x450.png 863w, https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0099-207x108.png 207w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>\u96d6\u7136\u77e5\u9053\u670d\u52d9\u5e33\u865f\u9700\u8981\u5148\u7522\u751f\u670d\u52d9\u5e33\u865f\u7684key\u8207\u555f\u7528<\/p>\n<p>\u4e0d\u904e\u4f7f\u7528\u4e0a\u4ecd\u7136\u5b58\u5728\u4e00\u4e9b\u72c0\u6cc1<\/p>\n<p>\u9019\u88e1\u6574\u7406\u4e00\u4e0b\u6b65\u9a5f\u8207\u904e\u7a0b<\/p>\n<p>\u5efa\u7acb\u670d\u52d9\u5e33\u865fkey<\/p>\n<p>gcloud iam service-accounts keys create ~\/key.json\u00a0\u00a0 &#8211;iam-account <span class=\"term-fg-l-green term-bold\">6xxxxxxxxxxxxx<\/span>-compute@developer.gserviceaccount.com<\/p>\n<p><a href=\"http:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0097.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"24519\" data-permalink=\"https:\/\/mshw.info\/?attachment_id=24519\" data-orig-file=\"https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0097.png\" data-orig-size=\"1024,34\" data-comments-opened=\"1\" data-image-title=\"\u54ea\u88e1\u597d\u5403\u54ea\u88e1\u53bb:\u7f8e\u98df\u907f\u96f7\u7bb4 \u3010\u6578\u4f4d3C\u3011\u89e3\u6c7aGitlab runner\u4f7f\u7528CICD pipeline\u8a2d\u5b9a\u63a8\u9001dcoker\u5f71\u50cf\u5230GCP\u7684\u932f\u8aa4\u554f\u984c  \" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0097-720x24.png\" class=\"alignnone size-full wp-image-24519\" src=\"http:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0097.png\" alt=\"\u3010\u6578\u4f4d3C\u3011\u89e3\u6c7aGitlab runner\u4f7f\u7528CICD pipeline\u8a2d\u5b9a\u63a8\u9001dcoker\u5f71\u50cf\u5230GCP\u7684\u932f\u8aa4\u554f\u984c 3C\/\u8cc7\u8a0a\/\u901a\u8a0a\/\u7db2\u8def GCP-google cloud platform \u67b6\u7ad9 \u9748\u7570\u73fe\u8c61&amp;\u7591\u96e3\u96dc\u75c7 \" width=\"1024\" height=\"34\" title=\"\" srcset=\"https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0097.png 1024w, https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0097-300x10.png 300w, https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0097-720x24.png 720w, https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0097-863x29.png 863w, https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0097-480x16.png 480w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>\u8a2d\u5b9a\u4f7f\u7528\u7684\u670d\u52d9\u5e33\u865f<\/p>\n<p><span class=\"term-fg-l-green term-bold\">$ gcloud config set account 6xxxxxxxxxxxxx-compute@developer.gserviceaccount.com<\/span><br \/>\nUpdated property [core\/account].<\/p>\n<p>&nbsp;<\/p>\n<p>\u8a2d\u5b9a\u555f\u7528\u670d\u52d9\u5e33\u865f<\/p>\n<p><span class=\"term-fg-l-green term-bold\">$ gcloud auth activate-service-account 6xxxxxxxxxxxxx-compute@developer.gserviceaccount.com &#8211;key-file=\/opt\/key.json<\/span><br \/>\nActivated service account credentials for: [6xxxxxxxxxxxxx-compute@developer.gserviceaccount.com]<\/p>\n<p>&nbsp;<\/p>\n<p><span lang=\"zh-TW\">\u6700\u5f8c\u8a2d\u5b9a<\/span><span lang=\"en-US\">docker<\/span><span lang=\"zh-TW\">\u518d\u63a8\u9001<\/span><\/p>\n<p><span class=\"term-fg-l-green term-bold\">$ gcloud auth configure-docker<\/span><\/p>\n<p><a href=\"http:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0104.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"24516\" data-permalink=\"https:\/\/mshw.info\/?attachment_id=24516\" data-orig-file=\"https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0104.png\" data-orig-size=\"1200,429\" data-comments-opened=\"1\" data-image-title=\"\u54ea\u88e1\u597d\u5403\u54ea\u88e1\u53bb:\u7f8e\u98df\u907f\u96f7\u7bb4 \u3010\u6578\u4f4d3C\u3011\u89e3\u6c7aGitlab runner\u4f7f\u7528CICD pipeline\u8a2d\u5b9a\u63a8\u9001dcoker\u5f71\u50cf\u5230GCP\u7684\u932f\u8aa4\u554f\u984c  \" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0104-720x257.png\" class=\"alignnone size-full wp-image-24516\" src=\"http:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0104.png\" alt=\"\u3010\u6578\u4f4d3C\u3011\u89e3\u6c7aGitlab runner\u4f7f\u7528CICD pipeline\u8a2d\u5b9a\u63a8\u9001dcoker\u5f71\u50cf\u5230GCP\u7684\u932f\u8aa4\u554f\u984c 3C\/\u8cc7\u8a0a\/\u901a\u8a0a\/\u7db2\u8def GCP-google cloud platform \u67b6\u7ad9 \u9748\u7570\u73fe\u8c61&amp;\u7591\u96e3\u96dc\u75c7 \" width=\"1200\" height=\"429\" title=\"\" srcset=\"https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0104.png 1200w, https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0104-300x107.png 300w, https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0104-720x257.png 720w, https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0104-863x309.png 863w, https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0104-302x108.png 302w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>\u9084\u6709\u8981\u6ce8\u610f\u7684\u662f<\/p>\n<p>\u7522\u751f\u670d\u52d9\u5e33\u865f\u7684key\u8981\u5b58\u653e\u5728\u5176\u4ed6\u5e33\u865f\u53ef\u4ee5\u4f7f\u7528\u7684\u4f4d\u7f6e<\/p>\n<p>\u4e0d\u7136\u6703\u767c\u751f\u627e\u4e0d\u5230key\u7b49\u7b49\u7684\u73fe\u8c61<\/p>\n<p>\u7a0b\u5f0f\u7684\u6d41\u7a0b\u81ea\u7136\u4e5f\u5c31\u7121\u6cd5\u7e7c\u7e8c\u8dd1\u4e86<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u6709\u500b\u554f\u984c\u9700\u6c42\u662f\u4f7f\u7528gitlab runner\u63a8\u9001docker\u5f71\u50cf\u5230GCP \u4ee5\u4fbf\u65bcK8S\u7684\u670d\u52d9\u4f7f\u7528 \u4f46\u4e00\u76f4\u767c\u751f\u986f\u793a\u6c92\u6709\u6b0a\u9650\u7684\u76f8\u95dc\u554f\u984c \u5f8c\u4f86\u767c\u73fe\u9019\u500b\u6b65\u9a5f\u9700\u8981\u4f7f\u7528&#8221;\u670d\u52d9\u5e33\u865f&#8221;\u800c&#8221;\u975e\u767b\u5165\u5e33\u865f&#8221; \u53ea\u662f\u5728\u904e\u7a0b\u4e2d\u9084\u662f\u767c\u751f\u932f\u8aa4&#8230; \u671f\u9593\u67e5\u904egcloud info\u7684\u8cc7\u8a0a\u770b\u8d77\u4f86\u8a2d\u5b9a\u4e0a\u597d\u50cf\u6c92\u751a\u9ebc\u554f\u984c \u4f46google\u7684\u6587\u4ef6\u771f\u7684\u662f\u6709\u770b\u537b\u6c92\u6709\u5f88\u61c2&#8230;\u5509 &nbsp; \u96d6\u7136\u77e5\u9053\u670d\u52d9\u5e33\u865f\u9700\u8981\u5148\u7522\u751f\u670d\u52d9\u5e33\u865f\u7684key\u8207\u555f\u7528 \u4e0d\u904e\u4f7f\u7528\u4e0a\u4ecd\u7136\u5b58\u5728\u4e00\u4e9b\u72c0\u6cc1 \u9019\u88e1\u6574\u7406\u4e00\u4e0b\u6b65\u9a5f\u8207\u904e\u7a0b \u5efa\u7acb\u670d\u52d9\u5e33\u865fkey gcloud iam service-accounts keys create ~\/key.json\u00a0\u00a0 &#8211;iam-account 6xxxxxxxxxxxxx-compute@developer.gserviceaccount.com &nbsp; \u8a2d\u5b9a\u4f7f\u7528\u7684\u670d\u52d9\u5e33\u865f $ gcloud config set account 6xxxxxxxxxxxxx-compute@developer.gserviceaccount.com Updated property [core\/account]. &nbsp; \u8a2d\u5b9a\u555f\u7528\u670d\u52d9\u5e33\u865f $ gcloud auth activate-service-account 6xxxxxxxxxxxxx-compute@developer.gserviceaccount.com &#8211;key-file=\/opt\/key.json Activated service account credentials for: [6xxxxxxxxxxxxx-compute@developer.gserviceaccount.com] &nbsp; \u6700\u5f8c\u8a2d\u5b9adocker\u518d\u63a8\u9001 $ gcloud auth configure-docker &nbsp; \u9084\u6709\u8981\u6ce8\u610f\u7684\u662f \u7522\u751f\u670d\u52d9\u5e33\u865f\u7684key\u8981\u5b58\u653e\u5728\u5176\u4ed6\u5e33\u865f\u53ef\u4ee5\u4f7f\u7528\u7684\u4f4d\u7f6e \u4e0d\u7136\u6703\u767c\u751f\u627e\u4e0d\u5230key\u7b49\u7b49\u7684\u73fe\u8c61 \u7a0b\u5f0f\u7684\u6d41\u7a0b\u81ea\u7136\u4e5f\u5c31\u7121\u6cd5\u7e7c\u7e8c\u8dd1\u4e86 &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":24516,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[7,13988,923,5470],"tags":[14236,14239,14234,14235,14240,13989,14237,14238],"class_list":["post-24515","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-3c","category-gcp-google-cloud-platform","category-923","category-5470","tag-cicd","tag-docker","tag-gitlab","tag-gitlan-runner","tag-image","tag-k8s","tag-pipeline","tag-14238"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p1kBuu-6np","jetpack-related-posts":[{"id":27639,"url":"https:\/\/mshw.info\/?p=27639","url_meta":{"origin":24515,"position":0},"title":"\u3010\u6578\u4f4d3C\u3011\u96f2\u4e3b\u6a5fWindows Server \u74b0\u5883\u4e0b\u5982\u4f55\u5b89\u88ddDocker, \u4ee5GCP\u53caVultr Windows Server 2016\u70ba\u4f8b","author":"\u795e\u79d8\u7684\u6c34\u539f\u8aa0","date":"2021-11-10","format":false,"excerpt":"\u6700\u8fd1\u8981\u5728Windows Server\u4e0a\u5b89\u88dddocker \u767c\u73fe\u554f\u984c\u6bd4Windows 10\/11\u4e0a\u8981\u8907\u96dc\u2026","rel":"","context":"\u5728\u300c3C\/\u8cc7\u8a0a\/\u901a\u8a0a\/\u7db2\u8def\u300d\u4e2d","block_context":{"text":"3C\/\u8cc7\u8a0a\/\u901a\u8a0a\/\u7db2\u8def","link":"https:\/\/mshw.info\/?cat=7"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mshw.info\/wp-content\/uploads\/2021\/11\/snap327.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mshw.info\/wp-content\/uploads\/2021\/11\/snap327.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/mshw.info\/wp-content\/uploads\/2021\/11\/snap327.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":26458,"url":"https:\/\/mshw.info\/?p=26458","url_meta":{"origin":24515,"position":1},"title":"\u3010\u6578\u4f4d3C\u3011Grafana\u7cfb\u7d71\u642d\u914dGCP Monitoring\u8cc7\u8a0a\u505a\u76e3\u63a7\u8207\u4f7f\u7528\u901a\u77e5\u544a\u8b66","author":"\u795e\u79d8\u7684\u6c34\u539f\u8aa0","date":"2021-01-26","format":false,"excerpt":"\u70ba\u4e86\u7cfb\u7d71\u7684\u7a69\u5b9a\u904b\u884c, \u6211\u5011\u901a\u5e38\u6703\u5c0d\u7cfb\u7d71\u6216\u662f\u670d\u52d9\u505a\u76e3\u63a7 \u653e\u5728GCP(Google Cloud Plat\u2026","rel":"","context":"\u5728\u300c3C\/\u8cc7\u8a0a\/\u901a\u8a0a\/\u7db2\u8def\u300d\u4e2d","block_context":{"text":"3C\/\u8cc7\u8a0a\/\u901a\u8a0a\/\u7db2\u8def","link":"https:\/\/mshw.info\/?cat=7"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mshw.info\/wp-content\/uploads\/2021\/01\/snap131.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mshw.info\/wp-content\/uploads\/2021\/01\/snap131.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/mshw.info\/wp-content\/uploads\/2021\/01\/snap131.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/mshw.info\/wp-content\/uploads\/2021\/01\/snap131.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":22463,"url":"https:\/\/mshw.info\/?p=22463","url_meta":{"origin":24515,"position":2},"title":"\u3010\u6578\u4f4d3C\u3011\u6dfa\u8ac7K8S\u5bb9\u5668\u90e8\u7f72\u6d41\u7a0b-\u4ee5GCP GKE(Google Kubernetes Engine)\u70ba\u4f8b","author":"\u795e\u79d8\u7684\u6c34\u539f\u8aa0","date":"2020-03-27","format":false,"excerpt":"\u6700\u8fd1\u7a0d\u5fae\u63a5\u89f8\u4e86\u4e00\u4e0b\u6240\u8b02\u7684K8s(Kubernetes) \u9019\u5957Google\u8a2d\u8a08\u7528\u4f86\u7ba1\u7406\u5bb9\u5668(conta\u2026","rel":"","context":"\u5728\u300c3C\/\u8cc7\u8a0a\/\u901a\u8a0a\/\u7db2\u8def\u300d\u4e2d","block_context":{"text":"3C\/\u8cc7\u8a0a\/\u901a\u8a0a\/\u7db2\u8def","link":"https:\/\/mshw.info\/?cat=7"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mshw.info\/wp-content\/uploads\/2020\/03\/snap509.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mshw.info\/wp-content\/uploads\/2020\/03\/snap509.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/mshw.info\/wp-content\/uploads\/2020\/03\/snap509.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":29929,"url":"https:\/\/mshw.info\/?p=29929","url_meta":{"origin":24515,"position":3},"title":"\u3010\u6578\u4f4d3C\u3011GCP\u96f2\u4e3b\u6a5f(VM)\u7121\u6cd5\u767b\u5165\u8981\u600e\u9ebc\u8fa6?\u6216\u8a31\u5e8f\u5217\u63a7\u5236\u53f0(Serial Console)\u80fd\u5920\u8b93\u4f60\u6709\u4e00\u7dda\u751f\u6a5f","author":"\u795e\u79d8\u7684\u6c34\u539f\u8aa0","date":"2022-05-21","format":false,"excerpt":"Google\u7684\u96f2\u4e3b\u6a5f\u670d\u52d9GCP\u96d6\u7136\u8aaa\u53ef\u80fd\u7b97\u662f\u5e02\u5834\u4e0a\u76f8\u5c0d\u4fbf\u5b9c\u53ef\u9760, \u4e14\u53f0\u7063\u6709\u6a5f\u623f\u7684\u9078\u64c7 \u4f46\u5b83\u5011\u6709\u7684\u529f\u80fd\u2026","rel":"","context":"\u5728\u300c3C\/\u8cc7\u8a0a\/\u901a\u8a0a\/\u7db2\u8def\u300d\u4e2d","block_context":{"text":"3C\/\u8cc7\u8a0a\/\u901a\u8a0a\/\u7db2\u8def","link":"https:\/\/mshw.info\/?cat=7"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mshw.info\/wp-content\/uploads\/2022\/05\/snap0046.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mshw.info\/wp-content\/uploads\/2022\/05\/snap0046.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/mshw.info\/wp-content\/uploads\/2022\/05\/snap0046.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/mshw.info\/wp-content\/uploads\/2022\/05\/snap0046.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/mshw.info\/wp-content\/uploads\/2022\/05\/snap0046.jpg?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":26417,"url":"https:\/\/mshw.info\/?p=26417","url_meta":{"origin":24515,"position":4},"title":"\u3010\u6578\u4f4d3C\u3011GCP K8S(GKE, Google Kubernetes Engine)\u5982\u4f55\u4f7f\u7528\u5167\u90e8IP\u958b\u653e\u670d\u52d9\u505a\u8ca0\u8f09\u5e73\u8861","author":"\u795e\u79d8\u7684\u6c34\u539f\u8aa0","date":"2021-01-21","format":false,"excerpt":"\u7576\u6211\u5011\u628a\u7cfb\u7d71\u90e8\u7f72\u5728K8S(Kubernates)\u7684\u74b0\u5883\u4e2d \u9700\u8981\u8a2d\u5b9a\u5c0d\u5916PORT\u8207IP\u624d\u80fd\u5c0d\u5916\u63d0\u4f9b\u670d\u52d9\u2026","rel":"","context":"\u5728\u300c3C\/\u8cc7\u8a0a\/\u901a\u8a0a\/\u7db2\u8def\u300d\u4e2d","block_context":{"text":"3C\/\u8cc7\u8a0a\/\u901a\u8a0a\/\u7db2\u8def","link":"https:\/\/mshw.info\/?cat=7"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mshw.info\/wp-content\/uploads\/2021\/01\/snap104.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mshw.info\/wp-content\/uploads\/2021\/01\/snap104.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/mshw.info\/wp-content\/uploads\/2021\/01\/snap104.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/mshw.info\/wp-content\/uploads\/2021\/01\/snap104.jpg?resize=700%2C400 2x"},"classes":[]},{"id":31869,"url":"https:\/\/mshw.info\/?p=31869","url_meta":{"origin":24515,"position":5},"title":"\u3010\u6578\u4f4d3C\u3011Google Cloud Platform-GCP\u5982\u4f55\u5efa\u7acb\u55ae\u4e00\u7528\u6236\u7fa4\u7bc0\u9ede","author":"\u795e\u79d8\u7684\u6c34\u539f\u8aa0","date":"2024-07-25","format":false,"excerpt":"\u5728GCP\u4e2d, \u5982\u679c\u4f7f\u7528\u81ea\u5b9a\u7fa9\u7684\u5f71\u50cf\u6a94\u5efa\u7acb\u6a5f\u5668\u53ef\u80fd\u6703\u63d0\u793a\u9700\u8981\u8a2d\u5b9a\u55ae\u4e00\u7528\u6236\u7fa4\u7bc0\u9ede \u4e0d\u904e\u9810\u8a2d\u9019\u500b\u662f\u6c92\u6709\u5f97\u9078\u2026","rel":"","context":"\u5728\u300c3C\/\u8cc7\u8a0a\/\u901a\u8a0a\/\u7db2\u8def\u300d\u4e2d","block_context":{"text":"3C\/\u8cc7\u8a0a\/\u901a\u8a0a\/\u7db2\u8def","link":"https:\/\/mshw.info\/?cat=7"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mshw.info\/wp-content\/uploads\/2024\/07\/snap835.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mshw.info\/wp-content\/uploads\/2024\/07\/snap835.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/mshw.info\/wp-content\/uploads\/2024\/07\/snap835.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"jetpack_likes_enabled":true,"jetpack_featured_media_url":"https:\/\/mshw.info\/wp-content\/uploads\/2020\/08\/snap0104.png","_links":{"self":[{"href":"https:\/\/mshw.info\/index.php?rest_route=\/wp\/v2\/posts\/24515","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mshw.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mshw.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mshw.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mshw.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=24515"}],"version-history":[{"count":1,"href":"https:\/\/mshw.info\/index.php?rest_route=\/wp\/v2\/posts\/24515\/revisions"}],"predecessor-version":[{"id":28255,"href":"https:\/\/mshw.info\/index.php?rest_route=\/wp\/v2\/posts\/24515\/revisions\/28255"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mshw.info\/index.php?rest_route=\/wp\/v2\/media\/24516"}],"wp:attachment":[{"href":"https:\/\/mshw.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=24515"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mshw.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24515"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mshw.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}