{"id":97,"date":"2020-12-16T18:31:50","date_gmt":"2020-12-16T09:31:50","guid":{"rendered":"https:\/\/blog.chatagiriii.com\/?p=97"},"modified":"2021-12-22T13:35:47","modified_gmt":"2021-12-22T04:35:47","slug":"%e3%81%8a%e3%81%86%e3%81%a1kubernetes%e3%82%af%e3%83%a9%e3%82%b9%e3%82%bf%e3%82%92%e3%81%a4%e3%81%8f%e3%82%8b-%e6%a7%8b%e6%88%90","status":"publish","type":"post","link":"https:\/\/blog.chatagiriii.com\/?p=97","title":{"rendered":"\u304a\u3046\u3061Kubernetes\u30af\u30e9\u30b9\u30bf\u3092\u3064\u304f\u308b - \u69cb\u6210"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u3054\u5bb6\u5ead\u5411\u3051k8s\u30af\u30e9\u30b9\u30bf\u3092\uff1f<\/h2>\n\n\n\n<p>chatagiriii\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u5c31\u8077\u3057\u3066\u30a4\u30f3\u30d5\u30e9\u7cfb\u306e\u90e8\u7f72\u306b\u914d\u5c5e\u3055\u308c\u307e\u3057\u3066\u3002<br>\u30d9\u30a2\u30dc\u30fc\u30f3PC\u306eBeeBox\u3092\u4e2d\u53e4\u3067\u5b89\u304f\u8cb7\u3044\u3001\u81ea\u5b85\u9bd6\u3092\u52d5\u304b\u3057\u3066\u3044\u308d\u3044\u308d\u304a\u52c9\u5f37\u3059\u308b\u65e5\u304c\u7d9a\u3044\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<iframe style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"https:\/\/rcm-fe.amazon-adsystem.com\/e\/cm?ref=qf_sp_asin_til&amp;t=chatagiriii06-22&amp;m=amazon&amp;o=9&amp;p=8&amp;l=as1&amp;IS1=1&amp;detail=1&amp;asins=B081JX5SSR&amp;linkId=5ee303e8000d53509fe7fd92ff18cc27&amp;bc1=000000&amp;lt1=_blank&amp;fc1=333333&amp;lc1=0066c0&amp;bg1=ffffff&amp;f=ifr\">\n    <\/iframe>\n\n\n\n<p><br>\u30b3\u30ed\u30ca\u798d\u306b\u306a\u308a\u5bb6\u3067\u904e\u3054\u3059\u6642\u9593\u3082\u5897\u3048\u305f\u306e\u3067\u3001\u305b\u3063\u304b\u304f\u3060\u304b\u3089\u3068\u30b9\u30da\u30c3\u30af\u9ad8\u3081\u306ePC\u3092\u8cfc\u5165\u3057\u3066Kubernetes\u306e\u304a\u52c9\u5f37\u3092\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30db\u30b9\u30c8\u57fa\u76e4\u306f\u3069\u3046\u3057\u3088\u3046<\/h2>\n\n\n\n<p>\u304a\u3046\u3061Kubernetes\u3092\u4f5c\u308b\u305f\u3081\u306e\u30db\u30b9\u30c8\u57fa\u76e4\u69cb\u6210\u3092\u6319\u3052\u3066\u307f\u308b\u3068\u3001\u3088\u304f\u898b\u308b\u306e\u306f<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>3\u53f0\u4ee5\u4e0a\u306eRaspberry Pi \u3092\u7e4b\u3052\u3066\u30af\u30e9\u30b9\u30bf\u4f5c\u3063\u3066\u30011\u53f01Node\u3068\u3057\u3066\u5272\u308a\u5f53\u3066<\/li><li>3\u53f0\u4ee5\u4e0a\u306e\u7269\u7406\u30b5\u30fc\u30d0\u3092L2\u3067\u7e4b\u3052\u3066\u30011\u53f01Node\u3068\u3057\u3066\u5272\u308a\u5f53\u3066<\/li><li>1\u53f0\u306e\u9069\u5f53\u306a\u30b9\u30da\u30c3\u30af\u306ePC\u306bMinikube\u3092\u5165\u308c\u308b<\/li><li>1\u53f0\u306e\u9069\u5f53\u306a\u30b9\u30da\u30c3\u30af\u306ePC\u306bvm\u3092\u5efa\u3066\u3066\u30011vm1Node\u3068\u3057\u3066\u5272\u308a\u5f53\u3066<\/li><li>\u304a\u3046\u3061\u306f\u3042\u304d\u3089\u3081\u3066Cloud\u306a\u74b0\u5883\u3092\u4f7f\u3046(GKE,EKS \u3068\u304b)<\/li><\/ul>\n\n\n\n<p>\u81ea\u5206\u306f\u305b\u3063\u304b\u304fkvm\u5468\u308a\u306e\u77e5\u8b58\u3092\u304a\u52c9\u5f37\u3055\u305b\u3066\u3044\u305f\u3060\u3044\u305f\u306e\u3067\u3001<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>1\u53f0\u306e\u9069\u5f53\u306a\u30b9\u30da\u30c3\u30af\u306ePC\u306bvm\u3092\u5efa\u3066\u3066\u30011vm1Node\u3068\u3057\u3066\u5272\u308a\u5f53\u3066<\/strong><\/li><\/ul>\n\n\n\n<p>\u3067\u5b9f\u65bd\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">vm\u6bcd\u8266PC\u306e\u30b9\u30da\u30c3\u30af\u3092\u307f\u3064\u3082\u308d\u3046<\/h2>\n\n\n\n<p>Kubernetes\u30af\u30e9\u30b9\u30bf\u3092\u4f5c\u308b\u306b\u306f\u3001<strong>1\u53f0\u4ee5\u4e0a\u306eMaster Node \u3068\u30011\u53f0\u4ee5\u4e0a\u306eWorker Node <\/strong>\u304c\u3042\u308b\u3068\u826f\u3044\u3089\u3057\u3044\u3002<br>Master\u3092\u5897\u3084\u305b\u3070\u30de\u30eb\u30c1\u30de\u30b9\u30bf\u3067\u9ad8\u53ef\u7528\u6027\u306b\u3001Worker\u3092\u5897\u3084\u305b\u3070\u8ca0\u8377\u5206\u6563\u3001\u5efa\u3066\u3089\u308c\u308bPod\u6570\u306e\u4e0a\u9650\u304c\u5897\u3048\u308b\u30a4\u30e1\u30fc\u30b8\u3002<\/p>\n\n\n\n<p>\u6570\u53f0\u306evm\u3067\u5404Node\u3092\u4f5c\u308b\u65b9\u5f0f\u306b\u3059\u308b\u3068\u3057\u3066\u3001vm\u3092\u7acb\u3061\u4e0a\u3052\u308b\u30db\u30b9\u30c8\u3092\u65b0\u3057\u304f\u7d44\u3082\u3046\u3068\u601d\u3044\u3002<br>\u3069\u306e\u3050\u3089\u3044\u306e\u30b9\u30da\u30c3\u30af\u304c\u5fc5\u8981\u306a\u306e\u304b\u3092\u307e\u305a\u306f\u898b\u7a4d\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>k8s\u306e\u5404Node\u306e\u30cf\u30fc\u30c9\u9762\u306e\u63a8\u5968\u30b9\u30da\u30c3\u30af\u306f\u4ee5\u4e0b\u306a\u611f\u3058\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>&#8211; 2 GB or more of RAM per machine (any less will leave little room for your apps)<\/p><p>&#8211; 2 CPUs or more<\/p><cite>https:\/\/kubernetes.io\/docs\/setup\/production-environment\/tools\/kubeadm\/install-kubeadm\/#before-you-begin<\/cite><\/blockquote>\n\n\n\n<p>\u3067\u3001\u305d\u3053\u305d\u3053\u52d5\u304f\u30af\u30e9\u30b9\u30bf\u3092\u4f5c\u308a\u305f\u3044\u306e\u3067\u3001\u305d\u3053\u305d\u3053\u52d5\u304f\u3063\u3066\u3044\u3046\u6240\u3092\u52a0\u5473\u3057\u3066\u4f5c\u308b\u4e88\u5b9a\u306eKubernetes Node\u3092\u5217\u6319\u3057\u3066\u307f\u308b\u3002<\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td>vm \u30db\u30b9\u30c8\u540d<\/td><td>\u5f79\u5272<\/td><td>RAM<\/td><td>vCPU(core)<\/td><td>Disk<\/td><td>\u5099\u8003<\/td><\/tr><tr><td>c8s-master00<\/td><td>Master Node<\/td><td>8GB<\/td><td>4Core<\/td><td>200GB<\/td><td>etcd \u3068\u304bkube-apiserver\u3068\u304b\u3092\u52d5\u304b\u3059master node<\/td><\/tr><tr><td>c8s-router00<\/td><td>Router Node<\/td><td>4GB<\/td><td>2Core<\/td><td>100GB<\/td><td>network\u7cfb\u306ePod\u3092\u52d5\u304b\u3059 (nginx-ingress-controller \u3068\u304b)<\/td><\/tr><tr><td>c8s-worker00<\/td><td>Worker Node<\/td><td>8GB<\/td><td>2Core<\/td><td>200GB<\/td><td>\u30e6\u30fc\u30b6\u5229\u7528\u306ePod\u3092\u5efa\u3066\u308bnode<\/td><\/tr><tr><td>c8s-worker01<\/td><td>Worker Node<\/td><td>8GB<\/td><td>2Core<\/td><td>200GB<\/td><td>\u540c\u4e0a<\/td><\/tr><tr><td>c8s-worker02<\/td><td>Worker Node<\/td><td>8GB<\/td><td>2Core<\/td><td>200GB<\/td><td>\u540c\u4e0a<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u5fc5\u8981\u305d\u3046\u306aVM\u306f\u4ee5\u4e0a\u3002<br>\u8f09\u305b\u308b\u30c7\u30a3\u30b9\u30af\u5468\u308a\u3082\u8003\u3048\u3066\u307f\u308b\u3002\u3069\u3061\u3089\u3082lvm\u3067lv\u3092\u5207\u3063\u3066\u3001\u7ba1\u7406\u306f\u3042\u308b\u7a0b\u5ea6\u697d\u306b\u3057\u306a\u304c\u3089\u3082\u3001\u3067\u304d\u308b\u3060\u3051\u5b89\u304f\u6e08\u307e\u305b\u305f\u3044\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table aligncenter\"><table><tbody><tr><td>\u30c7\u30a3\u30b9\u30af\u306e\u5f79\u5272<\/td><td>\u5bb9\u91cf<\/td><td>\u5099\u8003<\/td><\/tr><tr><td>VM\u7528<\/td><td>1000GB<\/td><td>vm\u6bcd\u8266\u81ea\u4f53\u306bmount\u3059\u308b\u3002<br>VM\u306b\u4f7f\u3046\u9818\u57df\u3092LVM\u3067\u5207\u308b\u30b9\u30c8\u30ec\u30fc\u30b8\u3002<\/td><\/tr><tr><td>\u6bcd\u8266\u7528\u3001nfs\u7528<\/td><td>1000GB(\u3092\u6bcd\u8266\u7528\u3068nfs\u7528\u306b\u5206\u3051\u308b)<\/td><td>vm\u6bcd\u8266\u81ea\u4f53\u306bmount\u3059\u308b\u3002<br>\u6bcd\u8266\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u7528\u9818\u57df\u3068\u3001nfs\u7528\u306e\u9818\u57df\u3092LVM\u3067\u5207\u308b\u30b9\u30c8\u30ec\u30fc\u30b8\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u4e0a\u8a18\u306e\u8868\u304b\u3089\u307e\u3068\u3081\u308b\u3068\u3001vm\u6bcd\u8266PC\u306b\u5fc5\u8981\u305d\u3046\u306a\u30b9\u30da\u30c3\u30af\u306f\u4ee5\u4e0b\u306a\u611f\u3058\u306b\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>CPU: 12Thread\u4ee5\u4e0a(=8Core16Thread\u304b\u306a)<\/li><li>RAM: 36GB\u4ee5\u4e0a<\/li><li>Disk: \u5408\u8a082000GB\u4ee5\u4e0a<\/li><\/ul>\n\n\n\n<p>\u3053\u308c\u3092\u6e80\u305f\u3059PC\u3092\u7d44\u3080\u305e\u7d44\u3080\u305e\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Mini-ITX\u306aPC\u30d1\u30fc\u30c4\u9078\u5b9a<\/h2>\n\n\n\n<p>\u4f5c\u3063\u305fPC\u306e\u30b9\u30da\u30c3\u30af\u307e\u3068\u3081\u308b\u3068\u3053\u3093\u306a\u611f\u3058<\/p>\n\n\n\n<figure class=\"wp-block-table aligncenter is-style-regular\"><table><tbody><tr><td>\u90e8\u4f4d<\/td><td>\u30d1\u30fc\u30c4\u540d<\/td><td>\u8cb7\u3063\u305f\u3068\u304d\u306e\u4fa1\u683c<\/td><td>\u30ea\u30f3\u30af<\/td><td>\u5099\u8003<\/td><\/tr><tr><td>CPU<\/td><td>AMD Ryzen7 3700X<\/td><td>39,980<\/td><td><a href=\"https:\/\/amzn.to\/34hJ67W\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/amzn.to\/34hJ67W<\/a><\/td><td>8Core16Thread<\/td><\/tr><tr><td>\u30de\u30b6\u30dc<\/td><td>ASRock B550-itx<\/td><td>16,500<\/td><td><a href=\"https:\/\/amzn.to\/3ajcrTk\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/amzn.to\/3ajcrTk<\/a><\/td><td>\u3061\u3063\u3061\u3083\u3044\u306e\u304c\u3044\u3044\u306e\u3067mini-ITX<\/td><\/tr><tr><td>\u30b0\u30e9\u30dc<\/td><td>\u7384\u4eba\u5fd7\u5411 GF-GT710-E1GB\/HS<\/td><td>3,680<\/td><td><a href=\"https:\/\/amzn.to\/37o1kqh\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/amzn.to\/37o1kqh<\/a><\/td><td>GT710.  \u30b0\u30e9\u30d5\u30a3\u30ab\u30eb\u306a\u51e6\u7406\u306f\u3057\u306a\u3044\u306e\u3067\u3088\u308f\u3088\u308f\u3002<\/td><\/tr><tr><td>RAM<\/td><td>Crucial CMK32GX4M2A2666C16<\/td><td>30,500<\/td><td><a href=\"https:\/\/amzn.to\/2LAP11n\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/amzn.to\/2LAP11n<\/a><\/td><td>32GBx2 (\u3082\u3046\u58f2\u3063\u3066\u306a\u304b\u3063\u305f\u306e\u3067corsair\u306e\u30ea\u30f3\u30af)<\/td><\/tr><tr><td>SSD(1)<\/td><td>Crucial CT1000P1SSD8JP<\/td><td>11,981<\/td><td><a href=\"https:\/\/amzn.to\/2WgTQPC\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/amzn.to\/2WgTQPC<\/a><\/td><td>1TB. M.2\u306eSSD\u3002\u5b89\u3044\u3002\u6bcd\u8266+NFS\u7528<\/td><\/tr><tr><td>SSD(2)<\/td><td>Samsung 860 QVO 1TB<\/td><td>10,990<\/td><td><a href=\"https:\/\/amzn.to\/3anI7a2\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/amzn.to\/3anI7a2<\/a><\/td><td>1TB. SATA\u306eSSD\u3002VM\u7528\u3002<\/td><\/tr><tr><td>\u96fb\u6e90<\/td><td>Corsair SF450<\/td><td>14,311<\/td><td><a href=\"https:\/\/amzn.to\/3r43DGM\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/amzn.to\/3r43DGM<\/a><\/td><td>450W. \u3061\u3063\u3061\u3083\u3044\u306e\u304c\u3044\u3044\u306e\u3067SFX\u96fb\u6e90<\/td><\/tr><tr><td>CPU\u30af\u30fc\u30e9\u30fc<\/td><td>SCYTHE \u8d85\u5929<\/td><td>3,880<\/td><td><a href=\"https:\/\/amzn.to\/38nTahd\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/amzn.to\/38nTahd<\/a><\/td><td>\u610f\u5916\u3068\u5165\u308b<\/td><\/tr><tr><td>\u30b1\u30fc\u30b9\u30d5\u30a1\u30f3<\/td><td>SCYTHE KAZE FLEX 120<\/td><td>1,270 <\/td><td><a href=\"https:\/\/amzn.to\/3nqHiRx\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/amzn.to\/3nqHiRx<\/a><\/td><td>2\u679a\u8cb7\u3063\u305f\u3002\u660e\u3089\u304b\u306b\u9759\u304b\u3002<\/td><\/tr><tr><td>\u30b1\u30fc\u30b9<\/td><td>RAIJINTEK Metis plus<\/td><td>7,404<\/td><td><a href=\"https:\/\/amzn.to\/3r43SBG\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/amzn.to\/3r43SBG<\/a><\/td><td>mini-itx\u306a\u30b1\u30fc\u30b9\u3002\u9280\u8272\u3002\u54c1\u8584\u3067\u9ad8\u304f\u306a\u3063\u305f\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u3053\u3060\u308f\u308a\u7684\u306a\u3068\u3053\u308d\u306f\u4ee5\u4e0b<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u9759\u97f3\u6027\u91cd\u8996\u3002<\/li><li>\u6d88\u8cbb\u96fb\u529b\u3092\u3067\u304d\u308b\u3060\u3051\u4e0b\u3052\u308b\u3002\u4f46\u3057\u3001\u96fb\u6e90\u52b9\u7387\u306e\u3044\u3044\u96fb\u6e90\u3092\u3002<\/li><li>\u90aa\u9b54\u306b\u306a\u3063\u305f\u3089\u76f4\u3050\u907f\u3051\u3089\u308c\u308b\u3088\u3046\u306b\u3001Mini-ITX\u3067\u30b3\u30f3\u30d1\u30af\u30c8\u306a\u611f\u3058\u306b\u3002<\/li><\/ul>\n\n\n\n<p>\u3067\u5c4a\u3044\u305f\u306e\u3067\u4f5c\u308b\u3068\u3002<\/p>\n\n\n\n<p>METIS\u306e\u30b1\u30fc\u30b9\u3001\u975e\u5e38\u306b\u5c0f\u3055\u304f\u3066\u3044\u3044\u3093\u3067\u3059\u304c\u3001\u7d44\u307f\u8fbc\u3080\u3068\u304d\u306b\u6307\u304c\u5f15\u304d\u3061\u304e\u308c\u308b\u3050\u3089\u3044\u72ed\u3044\u306e\u3067\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"673\" src=\"https:\/\/blog.chatagiriii.com\/wp-content\/uploads\/2020\/12\/IMG_20201012_124835-1024x673.jpg\" alt=\"\" class=\"wp-image-105\" srcset=\"https:\/\/blog.chatagiriii.com\/wp-content\/uploads\/2020\/12\/IMG_20201012_124835-1024x673.jpg 1024w, https:\/\/blog.chatagiriii.com\/wp-content\/uploads\/2020\/12\/IMG_20201012_124835-300x197.jpg 300w, https:\/\/blog.chatagiriii.com\/wp-content\/uploads\/2020\/12\/IMG_20201012_124835-768x505.jpg 768w, https:\/\/blog.chatagiriii.com\/wp-content\/uploads\/2020\/12\/IMG_20201012_124835-1536x1009.jpg 1536w, https:\/\/blog.chatagiriii.com\/wp-content\/uploads\/2020\/12\/IMG_20201012_124835-2048x1346.jpg 2048w, https:\/\/blog.chatagiriii.com\/wp-content\/uploads\/2020\/12\/IMG_20201012_124835-scaled.jpg 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>\u30d1\u30fc\u30c4\u304c\u5c4a\u3044\u305f\u305e\uff01<\/figcaption><\/figure><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u30af\u30e9\u30b9\u30bf\u5468\u308a\u306e\u69cb\u6210<\/h2>\n\n\n\n<p>vm\u6bcd\u8266\u3068\u306a\u308bPC\u304c\u7d44\u3081\u305f\u306e\u3067\u3001\u5185\u5074\u306e\u69cb\u6210\u3092\u8003\u3048\u3066\u4f5c\u308b\u3002<br>\u56f3\u306b\u3059\u308b\u3068\u3053\u3093\u306a\u611f\u3058\u3002<\/p>\n\n\n\n<p>\u7269\u7406\u7684\u306aPC\u306f2\u53f0\u3002<br>\u4eca\u56de\u4f5c\u3063\u305fvm\u6bcd\u8266\u30db\u30b9\u30c8\u3068\u3001\u4eca\u307e\u3067\u4f7f\u3063\u3066\u305fBeebox\u304f\u3093\u306e2\u53f0\u4f53\u5236\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"411\" src=\"https:\/\/chatagiriii.com\/wp-content\/uploads\/2020\/12\/Untitled-Diagram-2-1024x411.png\" alt=\"\" class=\"wp-image-98\" srcset=\"https:\/\/blog.chatagiriii.com\/wp-content\/uploads\/2020\/12\/Untitled-Diagram-2-1024x411.png 1024w, https:\/\/blog.chatagiriii.com\/wp-content\/uploads\/2020\/12\/Untitled-Diagram-2-300x120.png 300w, https:\/\/blog.chatagiriii.com\/wp-content\/uploads\/2020\/12\/Untitled-Diagram-2-768x308.png 768w, https:\/\/blog.chatagiriii.com\/wp-content\/uploads\/2020\/12\/Untitled-Diagram-2.png 1198w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>2020\/12\/16\u73fe\u5728 \u306e\u304a\u3046\u3061kubernetes\u5468\u308a\u306e\u5185\u90e8\u69cb\u6210<\/figcaption><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>Node<ul><li>\u524d\u8ff0\u306e\u3068\u304a\u308a\u3001master, router, worker \u306e\u69cb\u6210\u3002<\/li><\/ul><\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>Cron<ul><li>PPPoE\u3067\u56de\u7dda\u7e4b\u3044\u3067\u308b\u306e\u3067\u3001PPPoE\u306e\u8a8d\u8a3c\u3057\u3066\u308b\u30eb\u30fc\u30bf\u304c\u843d\u3061\u308b\u3068chatagiriii.com\u306b\u7d10\u3065\u3044\u3066\u308bIP\u30a2\u30c9\u30ec\u30b9\u304c\u5909\u308f\u3063\u3061\u3083\u3046<\/li><li>chatagiriii.com\u4e0a\u306e\u30b5\u30fc\u30d3\u30b9\u5168\u65ad\u306b\u306a\u308b\u306e\u3067\u3001\u5b9a\u671f\u7684\u306b\u6a29\u5a01DNS\u306egoogle cloud dns\u3055\u3093\u306b\u3001\u5916\u304b\u3089\u307f\u305fIP\u30a2\u30c9\u30ec\u30b9\u3092\u901a\u77e5\u3059\u308bcron\u3092\u4ed5\u8fbc\u3093\u3060\u3002<\/li><\/ul><\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>NFS<ul><li>Worker Node\u306e\u7686\u3055\u3093\u304cPersistent Volume\u3092\u4f7f\u3046\u6642\u7528\u306eNFS volume<\/li><\/ul><ul><li>\u6bcd\u8266\u30db\u30b9\u30c8\u306b\u4e57\u3063\u3066\u3066\u3001&#8217;\/&#8217; \u3068\u304b &#8216;\/home&#8217; \u3092\u5c55\u958b\u3057\u3066\u308b1TB\u306eSSD\u3092\u3001LVM\u3067500GB\u3050\u3089\u3044\u8ffd\u52a0\u3067\u5207\u308b\u3002<\/li><li>\u5207\u3063\u305f\u9818\u57df\u306fnfs\u7528\u306b\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u4f5c\u3063\u3066\u3001Worker Node\u306e\u5f79\u5272\u3092\u679c\u305f\u3059\u5404vm\u306bmount\u3059\u308b\u3002<\/li><\/ul><\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>Mail\u5468\u308a<ul><li>smtp, pop\/imap \u306e\u901a\u4fe1\u306f\u6bcd\u8266\u3067\u76f4\u3067\u53d7\u3051\u308b\u3002<\/li><li>\u2191\u306e\u30d7\u30ed\u30c8\u30b3\u30eb\u306b\u4f7f\u3046\u8a8d\u8a3c\u306f\u3001\u7ba1\u7406\u304c\u9762\u5012\u304f\u3055\u3044\u306e\u3067\u6bcd\u8266\u306esasl\u3092\u305d\u306e\u307e\u307e\u4f7f\u3046\u3002<\/li><li>\u4f46\u3057\u3001Web\u30e1\u30fc\u30e9\u306fKubernetes\u4e0a\u306ePod\u306bRainloop\u3092\u4f5c\u3063\u3066\u5c55\u958b\u3057\u305f\u3044\u306e\u3067\u3001\u305d\u3053\u3060\u3051\u6bcd\u8266&lt;=&gt;Pod\u9593\u3067sasl\u3068\u304bpop\/imap\u3068\u304bsmtp\u3068\u304b\u3092\u6e21\u305b\u308b\u3088\u3046\u306b\u304c\u3093\u3070\u308b\u3002<\/li><\/ul><\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>\u76e3\u8996\u7cfb<ul><li>vm\u6bcd\u8266\u81ea\u4f53\u306e\u76e3\u8996\u306fprometheus+exporter+grafana\u3092\u4f7f\u3046\u3002<\/li><li>\u540c\u3058\u30db\u30b9\u30c8\u306b\u4e57\u3063\u3066\u3066\u3082\u610f\u5473\u306a\u3044\u306e\u3067\u3001\u76e3\u8996\u3059\u308b\u30db\u30b9\u30c8\u306b\u306f\u4eca\u307e\u3067\u4f7f\u3063\u3066\u305fBeebox\u541b\u3092\u4f7f\u3046\u3002<\/li><\/ul><\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>keepalived<ul><li>\u6bcd\u8266\u30db\u30b9\u30c8\u306eSSH\u30dd\u30fc\u30c8\u306e\u6b7b\u6d3b\u7c21\u6613\u3092\u3057\u3066\u3001\u843d\u3061\u3066\u305f\u3089\u5916\u304b\u3089\u306eSSH\u306e\u5411\u3051\u5148\u3092Beebox\u304f\u3093\u306b\u3059\u308b\u305f\u3081\u306e\u4ed5\u7d44\u307f\u3002<\/li><li>\u6bcd\u8266\u306b\u306a\u3093\u304b\u3042\u3063\u305f\u6642\u3067\u3082\u3068\u308a\u3042\u3048\u305a\u304a\u3046\u3061\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u5165\u308b\u70ba\u306b\u3064\u304b\u3046\u3002<\/li><\/ul><\/li><\/ul>\n\n\n\n<p>\u4eca\u304a\u5bb6\u3067\u52d5\u3044\u3066\u3044\u308b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u89e3\u8aac\u306f\u4ee5\u4e0a\u3067\u3059\u306d\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u304a\u3046\u3061k8s\u3044\u3044\u308f\u306d<\/h2>\n\n\n\n<p>\u304a\u3046\u3061\u30a4\u30f3\u30d5\u30e9\u306f\u4e0a\u306b\u66f8\u3044\u305f\u56f3\u306e\u901a\u308a\u52d5\u3044\u3066\u3044\u3066\u3001\u304a\u3046\u3061k8s\u4e0a\u3067\u306f49Pod\u304c\u5143\u6c17\u306b\u52d5\u3044\u3066\u3044\u308b\u3088\u3046\u3067\u3059(2020\/12\/16)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash line-numbers\">@\u6bcd\u8266\n$ kubectl get pods -A | wc -l\n49 <\/code><\/pre>\n\n\n\n<p>\u69cb\u7bc9\u624b\u9806\u306f\u307e\u3060\u307e\u3060\u307e\u3068\u3081\u3066\u308b\u6240\u306a\u306e\u3067\u3001\u6b21\u306f\u3069\u3093\u306aPod\u3092\u52d5\u304b\u3057\u3066\u3044\u308b\u304b\u7d39\u4ecb\u3059\u308b\u8a18\u4e8b\u3092\u30a2\u30c9\u30ab\u30ec\u306b\u5408\u308f\u305b\u3066\u66f8\u304d\u305f\u3044\u3068\u304a\u3082\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3054\u5bb6\u5ead\u5411\u3051k8s\u30af\u30e9\u30b9\u30bf\u3092\uff1f chatagiriii\u3067\u3059\u3002 \u5c31\u8077\u3057\u3066\u30a4\u30f3\u30d5\u30e9\u7cfb\u306e\u90e8\u7f72\u306b\u914d\u5c5e\u3055\u308c\u307e\u3057\u3066\u3002\u30d9\u30a2\u30dc\u30fc\u30f3PC\u306eBeeBox\u3092\u4e2d\u53e4\u3067\u5b89\u304f\u8cb7\u3044\u3001\u81ea\u5b85\u9bd6\u3092\u52d5\u304b\u3057\u3066\u3044\u308d\u3044\u308d\u304a\u52c9\u5f37\u3059\u308b\u65e5\u304c\u7d9a\u3044\u3066\u3044\u307e\u3057\u305f &#8230; <\/p>\n","protected":false},"author":1,"featured_media":99,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-97","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech"],"_links":{"self":[{"href":"https:\/\/blog.chatagiriii.com\/index.php?rest_route=\/wp\/v2\/posts\/97","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.chatagiriii.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.chatagiriii.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.chatagiriii.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.chatagiriii.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=97"}],"version-history":[{"count":0,"href":"https:\/\/blog.chatagiriii.com\/index.php?rest_route=\/wp\/v2\/posts\/97\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.chatagiriii.com\/index.php?rest_route=\/wp\/v2\/media\/99"}],"wp:attachment":[{"href":"https:\/\/blog.chatagiriii.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=97"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.chatagiriii.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=97"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.chatagiriii.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=97"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}