{"id":11154,"date":"2020-10-09T17:58:30","date_gmt":"2020-10-09T08:58:30","guid":{"rendered":"https:\/\/itport.cloud\/?p=11154"},"modified":"2020-10-09T17:58:31","modified_gmt":"2020-10-09T08:58:31","slug":"post-11154","status":"publish","type":"post","link":"https:\/\/itport.cloud\/?p=11154","title":{"rendered":"(\u7b2c3\u56de)\u3010Oracle Cloud\u3011OKE + FSS\u306e\u30de\u30cd\u30fc\u30b8\u30c9\u306a\u74b0\u5883\u3067ASP.NET Core Web\u30a2\u30d7\u30ea\u3092\u7a3c\u50cd\u3059\u308b"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"e79baee6aca1-1\">\u76ee\u6b21<\/h2>\n\n\n\n<p><a href=\"#010\">\u524d\u56de\u306e\u632f\u308a\u8fd4\u308a<\/a><br><a href=\"#020\">FSS\u3092\u4f5c\u6210\u3059\u308b<\/a><br><a href=\"#030\">OKE\u3092\u8a2d\u5b9a\u3059\u308b<\/a><br><a href=\"#040\">kubectl\u3092\u8a2d\u5b9a\u3059\u308b<\/a><br><a href=\"#050\">Deployment\u30de\u30cb\u30e5\u30d5\u30a7\u30b9\u30c8\u3092\u4f5c\u6210\u3059\u308b<\/a><br><a href=\"#060\">Service\u30de\u30cb\u30e5\u30d5\u30a7\u30b9\u30c8\u3092\u4f5c\u6210\u3059\u308b<\/a><br><a href=\"#070\">FSS\u7528\u306e\u30de\u30cb\u30e5\u30d5\u30a7\u30b9\u30c8\u3092\u4f5c\u6210\u3059\u308b<\/a><br><a href=\"#080\">OKE\u30af\u30e9\u30b9\u30bf\u30fc\u306e\u7a3c\u50cd\u72b6\u6cc1\u3092\u78ba\u8a8d\u3059\u308b<\/a><br><a href=\"#090\">\u3055\u3044\u3054\u306b<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"010\">\u524d\u56de\u306e\u632f\u308a\u8fd4\u308a<\/h2>\n\n\n\n<figure class=\"wp-block-embed-wordpress wp-block-embed is-type-rich is-provider-it-port\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"GTfuBSpLQQ\"><a href=\"https:\/\/itport.cloud\/?p=11032\">(\u7b2c2\u56de)\u3010Oracle Cloud\u3011OKE + FSS\u306e\u30de\u30cd\u30fc\u30b8\u30c9\u306a\u74b0\u5883\u3067ASP.NET Core Web\u30a2\u30d7\u30ea\u3092\u7a3c\u50cd\u3059\u308b<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"https:\/\/itport.cloud\/?p=11032&#038;embed=true#?secret=GTfuBSpLQQ\" data-secret=\"GTfuBSpLQQ\" width=\"600\" height=\"338\" title=\"&#8220;(\u7b2c2\u56de)\u3010Oracle Cloud\u3011OKE + FSS\u306e\u30de\u30cd\u30fc\u30b8\u30c9\u306a\u74b0\u5883\u3067ASP.NET Core Web\u30a2\u30d7\u30ea\u3092\u7a3c\u50cd\u3059\u308b&#8221; &#8212; IT PORT\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u4eca\u56de\u304c\uff13\u56de\u76ee\u3068\u3044\u3046\u3053\u3068\u3067\u3001Oracle Cloud\u306eOKE\u3068FSS\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308bWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u3092\u3057\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u3064\u3044\u306b\u4eca\u56de\u3067\u5b8c\u6210\u3057\u307e\u3059\u3002 <br><br>\u524d\u56de\u307e\u3067\u306f<strong>ASP.NET Core MVC<\/strong>\u3067Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3057<strong>docker build<\/strong>\u3067\u4f5c\u6210\u3057\u305f\u30a4\u30e1\u30fc\u30b8\u3092OCIR\u306bPush\u3057\u307e\u3057\u305f\u3002\u307e\u305f\u3001\u4f5c\u696d\u7528\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30c8\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b<strong>kubectl<\/strong>\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057OKE\u3092\u64cd\u4f5c\u3067\u304d\u308b\u3088\u3046\u306b\u6e96\u5099\u3001OKE\u7528\u306b\u30a2\u30a4\u30c7\u30f3\u30c6\u30a3\u30c6\u30a3\uff08\u30dd\u30ea\u30b7\u30fc\uff0f\u30e6\u30fc\u30b6\u30fc\uff09\u306e\u8a2d\u5b9a\u3092\u3057\u307e\u3057\u305f\u3002<br>\u3044\u3088\u3044\u3088\u5927\u8a70\u3081\u3067\u3059\u306d\u3002<br><br>\u4eca\u56de\u306e\u4e3b\u306a\u5185\u5bb9\u306fOKE\u306e\u30de\u30cb\u30e5\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br>OKE\u306bFSS\u3092\u30de\u30a6\u30f3\u30c8\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3067\u3059\u304c\u3001Oralce\u306e<a rel=\"noreferrer noopener\" aria-label=\"\u516c\u5f0f\u30d6\u30ed\u30b0\u306e\u8a18\u4e8b (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"https:\/\/orablogs-jp.blogspot.com\/2019\/02\/cloudokefile-storageusing-file-storage.html\" target=\"_blank\">\u516c\u5f0f\u30d6\u30ed\u30b0\u306e\u8a18\u4e8b<\/a>\u3092\u53c2\u8003\u306b\u3057\u3066\u8a2d\u5b9a\u3092\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u958b\u767a\u3059\u308b\uff08\u5b8c\u4e86\uff09<\/li><li>\u30a2\u30a4\u30c7\u30f3\u30c6\u30a3\u30c6\u30a3\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3057\u30dd\u30ea\u30b7\u30fc\u3092\u8a2d\u5b9a\u3059\u308b \uff08\u5b8c\u4e86\uff09<\/li><li>OCI\u30ec\u30b8\u30b9\u30c8\u30ea\u306bDocker\u30a4\u30e1\u30fc\u30b8\u3092\u767b\u9332\u3059\u308b \uff08\u5b8c\u4e86\uff09<\/li><li><u class=\"remove-format\">File Storage Service\u3092\u8a2d\u5b9a\u3059\u308b<\/u>\u3000<strong>\u2190\u4eca\u56de<\/strong><\/li><li><u class=\"remove-format\">OKE\u3092\u8a2d\u5b9a\u3059\u308b<\/u>\u3000<strong>\u2190\u4eca\u56de<\/strong><\/li><li><u class=\"remove-format\">\u7a3c\u50cd\uff01\u5b8c\u6210\uff01<\/u>\u3000<strong>\u2190\u4eca\u56de\uff01\uff01<\/strong><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"020\">FSS\u3092\u4f5c\u6210\u3059\u308b<\/h2>\n\n\n\n<p>\u5404\u30b3\u30f3\u30c6\u30ca\u304c\u30c7\u30fc\u30bf\u3092\u683c\u7d0d\u3059\u308b\u5834\u6240\u3092\u7528\u610f\u3057\u307e\u3059\u3002OCI\u30b3\u30f3\u30bd\u30fc\u30eb\u3088\u308a\u30d5\u30a1\u30a4\u30eb\u30fb\u30b9\u30c8\u30ec\u30fc\u30b8\u30fb\u30b5\u30fc\u30d3\u30b9\u3067\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3068\u30de\u30a6\u30f3\u30c8\u30bf\u30fc\u30b2\u30c3\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_20h44_43.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"604\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_20h44_43-1024x604.png\" alt=\"\" class=\"wp-image-11214\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_20h44_43-1024x604.png 1024w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_20h44_43-300x177.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_20h44_43-768x453.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_20h44_43-450x265.png 450w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_20h44_43-900x531.png 900w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_20h44_43.png 1447w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u30fb\u30de\u30a6\u30f3\u30c8\u30bf\u30fc\u30b2\u30c3\u30c8\u306e\u4f5c\u6210<\/figcaption><\/figure><\/div>\n\n\n\n<p>\u4f5c\u6210\u5f8c\u306f\u30de\u30a6\u30f3\u30c8\u30bf\u30fc\u30b2\u30c3\u30c8\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u78ba\u8a8d\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br>\u30de\u30a6\u30f3\u30c8\u30bf\u30fc\u30b2\u30c3\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u9069\u5b9c\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30ea\u30b9\u30c8\u3001\u3082\u3057\u304f\u306f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b0\u30eb\u30fc\u30d7\u3067\u901a\u4fe1\u3092\u8a31\u53ef\u3092\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_22h36_27.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"594\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_22h36_27-1024x594.png\" alt=\"\" class=\"wp-image-11217\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_22h36_27-1024x594.png 1024w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_22h36_27-300x174.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_22h36_27-768x445.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_22h36_27-450x261.png 450w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_22h36_27-900x522.png 900w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_22h36_27.png 1474w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>\u30d5\u30a1\u30a4\u30eb\u30b9\u30c8\u30ec\u30fc\u30b8\u306e\u30de\u30a6\u30f3\u30c8\u30bf\u30fc\u30b2\u30c3\u30c8<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"030\">OKE\u3092\u8a2d\u5b9a\u3059\u308b<\/h2>\n\n\n\n<p>OKE\u30af\u30e9\u30b9\u30bf\u30fc\u3092\u4f5c\u6210\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u307e\u305a\u306fOCI\u30b3\u30f3\u30bd\u30fc\u30eb\u3067\u30af\u30e9\u30b9\u30bf\u30fc\u3092\u4f5c\u6210\u3059\u308b\u3068\u3053\u308d\u304b\u3089\u3067\u3059\u3002<br>OCI\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089\u30b5\u30af\u30b5\u30af\u4f5c\u3063\u3066\u3044\u304d\u307e\u3059\u304c\u3001<strong>\u6ce8\u610f\u70b9\u304c3\u3064\u3042\u308a\u307e\u3059<\/strong>\u3002<br><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u30ea\u30bd\u30fc\u30b9\u5236\u9650\u72b6\u6cc1\u3092\u4e8b\u524d\u306b\u78ba\u8a8d\u3057\u3066\u304a\u304f\uff08\u5236\u9650\u3055\u308c\u305f\u6570\u4ee5\u4e0a\u306enode\u306f\u4f5c\u308c\u306a\u3044\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\uff09<\/li><li>\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30b5\u30d6\u30cd\u30c3\u30c8\u306b\u306fOCI\u306e\u30b5\u30fc\u30d3\u30b9\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u3092\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u3053\u3068<\/li><li>\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30b5\u30d6\u30cd\u30c3\u30c8\u306b\u306fNAT\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u3092\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u3053\u3068<\/li><\/ul>\n\n\n\n<p>\u3053\u306e\uff13\u3064\u3067\u5b9f\u969b\u306b\u3059\u3054\u304f\u30cf\u30de\u308a\u307e\u3057\u305f\u3002\u4f55\u5ea6\u3084\u3063\u3066\u3082\u30ce\u30fc\u30c9\u30d7\u30fc\u30eb\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u9014\u4e2d\u3067\u30b3\u30b1\u3066\u3057\u307e\u3044\u3001\u3069\u3046\u3057\u3088\u3046\u304b\u3068\u9014\u65b9\u306b\u66ae\u308c\u305d\u3046\u3067\u3057\u305f\u3002OKE\u30af\u30e9\u30b9\u30bf\u30fc\u306bssh\u3092\u3057\u3066\u30b7\u30b9\u30ed\u30b0\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30b9\u30c8\u30ec\u30fc\u30b8\u306b\u30a2\u30af\u30bb\u30b9\u304c\u51fa\u6765\u306a\u3044\u3068\u3044\u3063\u305f\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3044\u308b\u3053\u3068\u306b\u6c17\u3065\u304d\u307e\u3057\u305f\u3002<br>\n\u307e\u305f\u3001NAT\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u306b\u95a2\u3057\u3066\u306f\u3001OCIR\u4ee5\u5916\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u30a4\u30e1\u30fc\u30b8\u3092\u53d6\u5f97\u3059\u308b\u969b\u306b\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4e0a\u8a18\u70b9\u3092\u4e8b\u524d\u306b\u8a2d\u5b9a\u3057\u305f\u4e0a\u3067\u30af\u30e9\u30b9\u30bf\u30fc\u306e\u4f5c\u6210\u3092\u3057\u307e\u3059\u3002\u300c\u30ab\u30b9\u30bf\u30e0\u4f5c\u6210\u300d\u3067\u9032\u3081\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-06_13h05_09.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"314\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-06_13h05_09-1024x314.png\" alt=\"\" class=\"wp-image-11157\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-06_13h05_09-1024x314.png 1024w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-06_13h05_09-300x92.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-06_13h05_09-768x235.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-06_13h05_09-450x138.png 450w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-06_13h05_09-900x276.png 900w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-06_13h05_09.png 1909w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>OKE\u306e\u4f5c\u6210\uff11\uff08\u30ab\u30b9\u30bf\u30e0\u4f5c\u6210\u3092\u9078\u629e\uff09<\/figcaption><\/figure><\/div>\n\n\n\n<p>\u540d\u524d\u3084\u30b3\u30f3\u30d1\u30fc\u30c8\u30e1\u30f3\u30c8\u306f\u9069\u5b9c\u8a2d\u5b9a\u3092\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-06_13h05_32.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"314\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-06_13h05_32-1024x314.png\" alt=\"\" class=\"wp-image-11158\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-06_13h05_32-1024x314.png 1024w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-06_13h05_32-300x92.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-06_13h05_32-768x236.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-06_13h05_32-450x138.png 450w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-06_13h05_32-900x276.png 900w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-06_13h05_32.png 1909w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>OKE\u306e\u4f5c\u6210\uff12\uff08\u30ab\u30b9\u30bf\u30e0\u4f5c\u6210\u306e\u30af\u30e9\u30b9\u30bf\u8a2d\u5b9a\uff09<\/figcaption><\/figure><\/div>\n\n\n\n<p>\u30ce\u30fc\u30c9\u30d7\u30fc\u30eb\u306e\u30ce\u30fc\u30c9\u306e\u6570\u306f\u5b9f\u969b\u306bCompute\u3067\u4f5c\u6210\u3055\u308c\u308b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u6570\u306b\u306a\u308a\u307e\u3059\u3002<br>\u691c\u8a3c\u306a\u306e\u3067\u3001\uff11\u3064\u3060\u3051\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-06_13h10_16.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"517\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-06_13h10_16-1024x517.png\" alt=\"\" class=\"wp-image-11160\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-06_13h10_16-1024x517.png 1024w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-06_13h10_16-300x151.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-06_13h10_16-768x388.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-06_13h10_16-450x227.png 450w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-06_13h10_16-900x454.png 900w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-06_13h10_16.png 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>OKE\u306e\u4f5c\u6210\uff13\uff08\u30ce\u30fc\u30c9\u30d7\u30fc\u30eb\u306e\u8a2d\u5b9a\uff09<\/figcaption><\/figure><\/div>\n\n\n\n<p>OKE\u30af\u30e9\u30b9\u30bf\u30fc\u304c\u4f5c\u6210\u3067\u304d\u307e\u3057\u305f\u3002<br>\u3042\u3068\u306fOKE\u306e\u30ce\u30fc\u30c9\u304c\u3057\u3063\u304b\u308a\u300cReady\u300d\u306b\u306a\u3063\u3066\u3044\u308c\u3070\u3001\u30af\u30e9\u30b9\u30bf\u30fc\u306e\u4f5c\u6210\u81ea\u4f53\u306f\u6210\u529f\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/09\/2020-04-07_22h53_28-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"239\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/09\/2020-04-07_22h53_28-2-1024x239.png\" alt=\"\" class=\"wp-image-12310\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/09\/2020-04-07_22h53_28-2-1024x239.png 1024w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/09\/2020-04-07_22h53_28-2-300x70.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/09\/2020-04-07_22h53_28-2-768x179.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/09\/2020-04-07_22h53_28-2-450x105.png 450w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/09\/2020-04-07_22h53_28-2-900x210.png 900w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/09\/2020-04-07_22h53_28-2.png 1159w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>OKE\u30ce\u30fc\u30c9<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"040\">Kubectl\u3092\u8a2d\u5b9a\u3059\u308b<\/h2>\n\n\n\n<p>\u4f5c\u6210\u3057\u305fOKE\u30af\u30e9\u30b9\u30bf\u30fc\u3092\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306b\u3001\u300ckubectl\u300d\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002OCI\u30b3\u30f3\u30bd\u30fc\u30eb\u4e0a\u306b\u300cAccess Cluster\u300d\u3068\u3044\u3046\u30dc\u30bf\u30f3\u304b\u3089\u3001\u30b3\u30de\u30f3\u30c9\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u306e\u3067\u3001\u4f5c\u696d\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br>\u305f\u3060\u3057\u3001OCI CLI\u3092\u4e8b\u524d\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_12h21_44.png\"><img loading=\"lazy\" decoding=\"async\" width=\"774\" height=\"715\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_12h21_44.png\" alt=\"\" class=\"wp-image-11185\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_12h21_44.png 774w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_12h21_44-300x277.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_12h21_44-768x709.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_12h21_44-346x320.png 346w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_12h21_44-693x640.png 693w\" sizes=\"auto, (max-width: 774px) 100vw, 774px\" \/><\/a><figcaption>Access Cluster<\/figcaption><\/figure><\/div>\n\n\n\n<p>\u8a2d\u5b9a\u304c\u5b8c\u4e86\u3057\u305f\u3089 <strong>kubectl<\/strong>\u304c\u5229\u7528\u53ef\u80fd\u306a\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002<br>\u6b21\u306bDocker Registry Secret \u3092\u767b\u9332\u3057\u307e\u3059\u3002\u3053\u308c\u3067OKE\u304cOCIR\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<br><strong>&lt;docker-registry-secret&gt;<\/strong>\u306b\u306f\u3001\u4efb\u610f\u306e\u540d\u524d\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; gutter: false; title: ; notranslate\" title=\"\">\nkubectl create secret docker-registry &lt;docker-registry-secret> \\\n  --docker-server=nrt.ocir.io \\\n  --docker-username='&lt;tenancy-namespace>\/&lt;username>' \\\n  --docker-password='&lt;auth-token>' \\\n  --docker-email=&lt;Email>'\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"050\">Deployment\u30de\u30cb\u30e5\u30d5\u30a7\u30b9\u30c8\u3092\u4f5c\u6210\u3059\u308b<\/h2>\n\n\n\n<p>\u4eca\u56de\u306f1\u3064\u306ePod\u306bWeb\u30a2\u30d7\u30ea\u30b3\u30f3\u30c6\u30ca\u3068Nginx\u30b3\u30f3\u30c6\u30ca\u304c\u7a3c\u50cd\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br>Nginx\u306f\u300c<strong>ConfigMap<\/strong>\u300d\u3067\u8a2d\u5b9a\u3092\u8a18\u8ff0\u3057\u3066\u3044\u307e\u3059\u3002<br><br>\u307e\u305f\u300c<strong>\/UploadFiles<\/strong>\u300d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u5bfe\u3057\u3066FSS\u3092\u30de\u30a6\u30f3\u30c8\u3059\u308b\u3088\u3046\u306b\u30de\u30cb\u30e5\u30d5\u30a7\u30b9\u30c8\u306b\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u300c<strong>persistentVolumeClaim<\/strong>\u300d\u306f\u5f8c\u8ff0\u306eFSS\u7528\u306e\u30de\u30cb\u30e5\u30d5\u30a7\u30b9\u30c8\u3067\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"051\">deployment.yaml<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; title: ; notranslate\" title=\"\">\napiVersion: apps\/v1\nkind: Deployment\nmetadata:\n  name: fileupload-app\nspec:\n  selector:\n    matchLabels:\n      app: fileupload-app\n  replicas: 1\n  template:\n    metadata:\n      labels:\n        app: fileupload-app\n    spec:\n      containers:\n      - name: fileupload-app\n        image: nrt.ocir.io\/&lt;tenancy-namespace>\/file_upload_web_app:v03\n        imagePullPolicy: Always\n        ports:\n        - containerPort: 5000\n        volumeMounts:\n        - mountPath: \/UploadFiles\n          name: nfs\n      - name: nginx\n        image: nginx:latest\n        ports:\n        - containerPort: 8080\n        volumeMounts:\n        - mountPath: \/etc\/nginx\n          readOnly: true\n          name: nginx-conf\n        - mountPath: \/var\/log\/nginx\n          name: log\n      volumes:\n      - name: nfs\n        persistentVolumeClaim:\n          claimName: oke-fsspvc\n          readOnly: false\n      - name: nginx-conf\n        configMap:\n          name: nginx-conf\n          items:\n            - key: nginx.conf\n              path: nginx.conf\n            - key: virtualhost.conf\n              path: virtualhost\/virtualhost.conf\n      - name: log\n        emptyDir: {}\n      imagePullSecrets:\n      - name: &lt;docker-registry-secret>\n---\napiVersion: v1\nkind: ConfigMap\nmetadata:\n  name: nginx-conf\ndata:\n  nginx.conf: |\n    user nginx;\n    worker_processes  3;\n    error_log  \/dev\/stderr warn;\n    events {\n      worker_connections  10240;\n    }\n    http {\n      log_format  main\n              'remote_addr:$remote_addr\\t'\n              'time_local:$time_local\\t'\n              'method:$request_method\\t'\n              'uri:$request_uri\\t'\n              'host:$host\\t'\n              'status:$status\\t'\n              'bytes_sent:$body_bytes_sent\\t'\n              'referer:$http_referer\\t'\n              'useragent:$http_user_agent\\t'\n              'forwardedfor:$http_x_forwarded_for\\t'\n              'request_time:$request_time';\n\n      access_log    \/dev\/stdout  main;\n      include \/etc\/nginx\/virtualhost\/virtualhost.conf;\n    }\n  virtualhost.conf: |\n    upstream app {\n      server localhost;\n      keepalive 1024;\n    }\n\n    server {\n      listen 8080 default_server;\n      server_name _;\n      root \/usr\/local\/app;\n\n      access_log \/dev\/stdout  main;\n      error_log  \/dev\/stderr  warn;\n\n      location \/ {\n        proxy_pass http:\/\/app;\n        proxy_http_version 1.1;\n      }\n    }\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; gutter: false; title: ; notranslate\" title=\"\">\nkubectl apply -f deployment.yaml\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"060\">Service\u30de\u30cb\u30e5\u30d5\u30a7\u30b9\u30c8\u3092\u4f5c\u6210\u3059\u308b<\/h2>\n\n\n\n<p>OKE\u306eService\u3067\u306fOracle Cloud \u306e\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b5\u304c\u5229\u7528\u3067\u304d\u307e\u3059\u3002<br>yaml\u3092\u4f5c\u6210\u3057\u3066\u3053\u3061\u3089\u3082apply\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"061\">service.yaml<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; title: ; notranslate\" title=\"\">\napiVersion: v1\nkind: Service\nmetadata:\n  name: loadbalancer\nspec:\n  type: LoadBalancer\n  selector:\n    app: fileupload-app\n  ports:\n  - name: http\n    port: 80\n    targetPort: 8080\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; gutter: false; title: ; notranslate\" title=\"\">\nkubectl apply -f service.yaml\n<\/pre><\/div>\n\n\n<p>\u3053\u308c\u3067Oracle Cloud\u306e\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b5\u304c\u4f5c\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002OCI\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089\u3082\u78ba\u8a8d\u304c\u51fa\u6765\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/09\/2020-04-07_23h31_15.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"363\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/09\/2020-04-07_23h31_15-1024x363.png\" alt=\"\" class=\"wp-image-12312\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/09\/2020-04-07_23h31_15-1024x363.png 1024w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/09\/2020-04-07_23h31_15-300x106.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/09\/2020-04-07_23h31_15-768x272.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/09\/2020-04-07_23h31_15-450x159.png 450w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/09\/2020-04-07_23h31_15-900x319.png 900w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/09\/2020-04-07_23h31_15.png 1318w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>Oracle Cloud \u30ed\u30fc\u30c9\u30fb\u30d0\u30e9\u30f3\u30b5<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"070\">FSS\u7528\u306e\u30de\u30cb\u30e5\u30d5\u30a7\u30b9\u30c8\u3092\u4f5c\u6210\u3059\u308b<\/h2>\n\n\n\n<p>\u3053\u308c\u3067\u6700\u5f8c\u306e\u30de\u30cb\u30e5\u30d5\u30a7\u30b9\u30c8\u3067\u3059\u3002<br>\u300c<strong>mntTargetId<\/strong>\u300d\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u30fb\u30b9\u30c8\u30ec\u30fc\u30b8\u30fb\u30b5\u30fc\u30d3\u30b9\u306e\u30de\u30a6\u30f3\u30c8\u30bf\u30fc\u30b2\u30c3\u30c8OCID\u3092\u5165\u529b\u3057\u307e\u3059\u3002\u300c<strong>nfs<\/strong>\u300d\u306e\u300c<strong>server<\/strong>\u300d\u306b\u8a18\u8f09\u3059\u308bIP\u30a2\u30c9\u30ec\u30b9\u306f\u30de\u30a6\u30f3\u30c8\u30bf\u30fc\u30b2\u30c3\u30c8\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u5165\u529b\u3057\u307e\u3059\u3002OCI\u30b3\u30f3\u30bd\u30fc\u30eb\u3088\u308a\u78ba\u8a8d\u3057\u5165\u529b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"071\">storage.yaml<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; title: ; notranslate\" title=\"\">\napiVersion: storage.k8s.io\/v1beta1\nkind: StorageClass\nmetadata:\n  name: oci-fss\nprovisioner: oracle.com\/oci-fss\nparameters:\n  mntTargetId: ocid1.mounttarget.oc1.ap_tokyo_1.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\n---\napiVersion: v1\nkind: PersistentVolume\nmetadata:\n  name: oke-fsspv\nspec:\n  storageClassName: oci-fss\n  capacity:\n    storage: 10Gi\n  accessModes:\n    - ReadWriteMany\n  mountOptions:\n    - nosuid\n  nfs:\n    server: 10.0.1.12\n    path: \/UploadFiles\n    readOnly: false\n---\napiVersion: v1\nkind: PersistentVolumeClaim\nmetadata:\n  name: oke-fsspvc\nspec:\n  storageClassName: oci-fss\n  accessModes:\n    - ReadWriteMany\n  resources:\n    requests:\n      storage: 10Gi\n  volumeName: oke-fsspv\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; gutter: false; title: ; notranslate\" title=\"\">\nkubectl apply -f storage.yaml\n<\/pre><\/div>\n\n\n<p>\uff13\u3064yaml\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u304c\u3001\u30a4\u30f3\u30c7\u30f3\u30c8\u3092\u3057\u3063\u304b\u308a\u3057\u3066\u306a\u3044\u3068\u6012\u3089\u308c\u307e\u3059\u3002\u30a4\u30f3\u30c7\u30f3\u30c8\u306e\u4ed8\u3051\u65b9\u306fkubernetes\u306e<a rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"https:\/\/kubernetes.io\/docs\/tasks\/configure-pod-container\/configure-persistent-volume-storage\/\" target=\"_blank\">\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3067\u66f8\u304d\u65b9\u3092\u78ba\u8a8d\u3057\u3066\u304a\u304f\u306e\u304c\u826f\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"080\">OKE\u30af\u30e9\u30b9\u30bf\u30fc\u306e\u7a3c\u50cd\u72b6\u6cc1\u3092\u78ba\u8a8d\u3059\u308b<\/h2>\n\n\n\n<p>\u3053\u308c\u3067\u3001pod\u304c\u65e2\u306b\u7a3c\u50cd\u3057\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u306e\u3067\u3001\u4e0a\u624b\u304f\u7a3c\u50cd\u304c\u3067\u304d\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3092\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br>pod\u306e\u72b6\u614b\u304c\u300cReady\u300d\u3068\u306a\u3063\u3066\u3044\u308c\u3070\u6210\u529f\u3067\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; gutter: false; title: ; notranslate\" title=\"\">\nkubectl get all\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; gutter: false; highlight: [2]; title: ; notranslate\" title=\"\">\nNAME                                  READY   STATUS    RESTARTS   AGE\npod\/fileupload-app-7b8786bd5b-2rg58   2\/2     Running   0          34m\n\nNAME                   TYPE           CLUSTER-IP      EXTERNAL-IP      PORT(S)        AGE\nservice\/kubernetes     ClusterIP      10.96.0.1       &lt;none>           443\/TCP        33h\nservice\/loadbalancer   LoadBalancer   10.96.236.164   x.x.x.x          80:30957\/TCP   6h41m\n\nNAME                             READY   UP-TO-DATE   AVAILABLE   AGE\ndeployment.apps\/fileupload-app   1\/1     1            1           3h57m\n\nNAME                                        DESIRED   CURRENT   READY   AGE\nreplicaset.apps\/fileupload-app-6df694d58d   0         0         0       3h57m\nreplicaset.apps\/fileupload-app-78fbbd9544   0         0         0       3h47m\nreplicaset.apps\/fileupload-app-7b8786bd5b   1         1         1       34m\n<\/pre><\/div>\n\n\n<p>Ready\u306b\u306a\u3063\u3066\u307e\u3059\u306d\uff01\u305f\u3060\u3001\u5b9f\u969b\u306b\u306f\u4e0a\u624b\u304f\u3044\u304b\u306a\u304f\u3066\u4f55\u56de\u3082\u30c8\u30e9\u30a4\uff06\u30a8\u30e9\u30fc\u3067\u3057\u305f\u3002&#8230;\u7b11<br>pod\u304c\u4e0a\u624b\u304f\u52d5\u4f5c\u3057\u306a\u3044\u5834\u5408\u3084\u8a73\u7d30\u3092\u78ba\u8a8d\u3059\u308b\u969b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30d9\u30f3\u30c8\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; gutter: false; title: ; notranslate\" title=\"\">\n# Pod\u306e\u60c5\u5831\u3084\u30a4\u30d9\u30f3\u30c8\u3092\u78ba\u8a8d\u3059\u308b\nkubectl describe pods &lt;pod\u540d>\n(\u4f8b\uff1a kubectl describe pods fileupload-app-78fbbd9544-snjmt )\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; gutter: false; title: ; notranslate\" title=\"\">\n# \u30ed\u30b0\u3092\u78ba\u8a8d\u3059\u308b\nkubectl logs &lt;pod\u540d> &lt;\u30b3\u30f3\u30c6\u30ca\u540d>\n(\u4f8b\uff1a kubectl logs fileupload-app-78fbbd9544-snjmt nginx )\n<\/pre><\/div>\n\n\n<p class=\"has-text-color has-vivid-red-color\">\u203b 1\u3064\u306ePod\u306b\u8907\u6570\u306e\u30b3\u30f3\u30c6\u30ca\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u540d\u306e\u6307\u5b9a\u304c\u5fc5\u9808\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3068\u3044\u3046\u3053\u3068\u3067k8s\u3067Web\u30a2\u30d7\u30ea\u304c\u7a3c\u50cd\u3057\u3066\u3044\u308b\u72b6\u614b\u306b\u306a\u308a\u307e\u3057\u305f\u306e\u3067\u3001\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u3082\u78ba\u8a8d\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_23h13_01.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"363\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_23h13_01-1024x363.png\" alt=\"\" class=\"wp-image-11236\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_23h13_01-1024x363.png 1024w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_23h13_01-300x106.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_23h13_01-768x272.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_23h13_01-450x159.png 450w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_23h13_01-900x319.png 900w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/04\/2020-04-07_23h13_01.png 1318w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30d6\u30e9\u30a6\u30b6\u4e0a\u306e\u753b\u9762<\/figcaption><\/figure><\/div>\n\n\n\n<p>\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u304c\u5b9f\u969b\u306b\u30d5\u30a1\u30a4\u30eb\u30b9\u30c8\u30ec\u30fc\u30b8\u30b5\u30fc\u30d3\u30b9\u306b\u3082\u5165\u3063\u3066\u3044\u308b\u304b\u4f5c\u696d\u7528\u30b3\u30f3\u30d4\u30e5\u30fc\u30c8\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u540c\u3058FSS\u3092\u30de\u30a6\u30f3\u30c8\u3057\u3066\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; gutter: false; title: ; notranslate\" title=\"\">\n&#x5B;opc@itport-work ~]$ ls -l \/UploadFiles\/\ntotal 64\n-rw-r--r--. 1 root root 41089 Apr  7 14:12 itport.png\n<\/pre><\/div>\n\n\n<p>\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u304c\u30b9\u30c8\u30ec\u30fc\u30b8\u306b\u5165\u3063\u3066\u307e\u3059\u3002OK\u3067\u3059\u306d\uff01\u3053\u308c\u3067\u4eca\u56de\u306e\u76ee\u6a19\u306f\u5168\u3066\u9054\u6210\u3057\u307e\u3057\u305f\uff01<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"090\">\u3055\u3044\u3054\u306b<\/h2>\n\n\n\n<p>\u3053\u308c\u3067\u4eca\u56de\u306e\u691c\u8a3c\u306f\u3059\u3079\u3066\u7d42\u308f\u308a\u3068\u306a\u308a\u307e\u3059\u3002\u3044\u304b\u304c\u3067\u3057\u305f\u3067\u3057\u3087\u3046\u304b\u3002<br>\u9577\u3044\u9053\u306e\u308a\u306b\u611f\u3058\u307e\u3057\u305f\u304c\u3001k8s\u306f\u4e00\u5ea6\u30de\u30cb\u30e5\u30d5\u30a7\u30b9\u30c8\u3092\u4f5c\u308c\u3070\u3001\u4f3c\u305f\u69cb\u6210\u306e\u5834\u5408\u306f\u3001\u6b21\u56de\u304b\u3089\u53c2\u8003\u306b\u3067\u304d\u308b\u306e\u3067\u4fbf\u5229\u3060\u3068\u601d\u3044\u307e\u3057\u305f\u3002<br><br>\u4eca\u307e\u3067\u306f\u30b3\u30f3\u30d4\u30e5\u30fc\u30c8\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u7acb\u3066\u3066\u3001Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u4e8b\u304c\u591a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001OCI\u306e\u30de\u30cd\u30fc\u30b8\u30c9\u30b5\u30fc\u30d3\u30b9\u3060\u3051\u3067Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u304c\u51fa\u6765\u305f\u3053\u3068\u306f\u975e\u5e38\u306b\u826f\u3044\u52c9\u5f37\u3068\u306a\u308a\u307e\u3057\u305f\u3002<br><br>\u4eca\u56de\u3001Nginx\u3092\u3042\u3048\u3066\u5229\u7528\u3057\u305f\u306e\u306f\u3001\u30a2\u30af\u30bb\u30b9\u30ed\u30b0\u306a\u3069\u306f\u904b\u7528\u4e0a\u5fc5\u8981\u3060\u308d\u3046\u3068\u601d\u3044\u5229\u7528\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u307e\u3060\u307e\u3060k8s\u306e\u3053\u3068\u306f\u672a\u719f\u3067\u3059\u306e\u3067\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5bfe\u7b56\u3084\u30ed\u30ae\u30f3\u30b0\u306a\u3069\u306b\u3064\u3044\u3066\u306f\u52c9\u5f37\u304c\u5fc5\u8981\u3067\u3059\u3002<br><br>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30a8\u30f3\u30b8\u30f3\u3092\u5229\u7528\u3059\u308b\u5834\u5408\u3067\u3082\u3001Autonomous Transaction Processing \u3092\u9078\u629e\u3059\u308c\u3070\u3001OKE\u3068ATP\u3067\u30de\u30cd\u30fc\u30b8\u30c9\u30b5\u30fc\u30d3\u30b9\u3060\u3051\u306e\u74b0\u5883\u304c\u6574\u3044\u307e\u3059\u306d\uff01<br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"100\">\u8b1d\u8f9e<\/h3>\n\n\n\n<p>Nginx\u306eConfigMap\u3092\u4f5c\u6210\u3059\u308b\u969b\u306b Qiita \u3088\u308a <a rel=\"noreferrer noopener\" aria-label=\"@petiviolet (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"https:\/\/qiita.com\/petitviolet\/items\/ee4b1bdba2670a1d6a12\" target=\"_blank\">@petiviolet<\/a> \u3055\u3093\u306e\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002<br>\u3053\u306e\u5834\u3092\u501f\u308a\u3066\u8b1d\u8f9e\u3092\u7533\u3057\u4e0a\u3052\u307e\u3059\u3002<\/p>\n\n\n<ul class=\"lcp_catlist\" id=\"lcp_instance_0\"><li><a href=\"https:\/\/itport.cloud\/?p=10969\">(\u7b2c1\u56de)\u3010Oracle Cloud\u3011OKE + FSS\u306e\u30de\u30cd\u30fc\u30b8\u30c9\u306a\u74b0\u5883\u3067ASP.NET Core Web\u30a2\u30d7\u30ea\u3092\u7a3c\u50cd\u3059\u308b<\/a><\/li><li><a href=\"https:\/\/itport.cloud\/?p=11032\">(\u7b2c2\u56de)\u3010Oracle Cloud\u3011OKE + FSS\u306e\u30de\u30cd\u30fc\u30b8\u30c9\u306a\u74b0\u5883\u3067ASP.NET Core Web\u30a2\u30d7\u30ea\u3092\u7a3c\u50cd\u3059\u308b<\/a><\/li><li class=\"current\"><a href=\"https:\/\/itport.cloud\/?p=11154\">(\u7b2c3\u56de)\u3010Oracle Cloud\u3011OKE + FSS\u306e\u30de\u30cd\u30fc\u30b8\u30c9\u306a\u74b0\u5883\u3067ASP.NET Core Web\u30a2\u30d7\u30ea\u3092\u7a3c\u50cd\u3059\u308b<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"\u76ee\u6b21 \u524d\u56de\u306e\u632f\u308a\u8fd4\u308aFSS\u3092\u4f5c\u6210\u3059\u308bOKE\u3092\u8a2d\u5b9a\u3059\u308bkubectl\u3092\u8a2d\u5b9a\u3059\u308bDeployment\u30de\u30cb\u30e5\u30d5\u30a7\u30b9\u30c8\u3092\u4f5c\u6210\u3059\u308bService\u30de\u30cb\u30e5\u30d5\u30a7\u30b9\u30c8\u3092\u4f5c\u6210\u3059\u308bFSS\u7528\u306e\u30de\u30cb\u30e5\u30d5\u30a7\u30b9\u30c8\u3092\u4f5c\u6210\u3059\u308bOKE\u30af\u30e9\u30b9\u30bf\u30fc\u306e\u7a3c\u50cd\u72b6\u6cc1\u3092\u78ba\u8a8d\u3059\u308b\u3055\u3044\u3054\u306b \u524d\u56de\u306e\u632f\u308a\u8fd4\u308a https:\/\/itport.cloud\/?p=11032 \u4eca\u56de\u304c\uff13\u56de\u76ee\u3068\u3044\u3046\u3053\u3068\u3067\u3001Oracle Cloud\u306eOKE\u3068FSS\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308bWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u3092\u3057\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u3064\u3044\u306b\u4eca\u56de\u3067\u5b8c\u6210\u3057\u307e\u3059\u3002 \u524d\u56de\u307e\u3067\u306fASP.NET Core MVC\u3067Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3057docker build\u3067\u4f5c\u6210\u3057\u305f\u30a4\u30e1\u30fc\u30b8\u3092OCIR\u306bPush\u3057\u307e\u3057\u305f\u3002\u307e\u305f\u3001\u4f5c\u696d\u7528\u306e&hellip;","protected":false},"author":3,"featured_media":11169,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[72],"class_list":{"0":"post-11154","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-oraclecloud","8":"tag-season24"},"_links":{"self":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts\/11154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11154"}],"version-history":[{"count":95,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts\/11154\/revisions"}],"predecessor-version":[{"id":12334,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts\/11154\/revisions\/12334"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/media\/11169"}],"wp:attachment":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}