{"id":2382,"date":"2020-11-28T09:21:50","date_gmt":"2020-11-28T00:21:50","guid":{"rendered":"http:\/\/blue-bear.jp\/kb\/?p=2382"},"modified":"2020-11-28T09:21:50","modified_gmt":"2020-11-28T00:21:50","slug":"gke-pod%e3%82%92%e6%96%b0%e8%a6%8f%e4%bd%9c%e6%88%90%e3%81%97%e3%81%9f%e9%9a%9b%e3%80%81%e5%88%9d%e6%9c%9f%e5%8c%96%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%82%92%e5%ae%9f%e8%a1%8c%e3%81%95%e3%81%9b","status":"publish","type":"post","link":"https:\/\/blue-bear.jp\/kb\/gke-pod%e3%82%92%e6%96%b0%e8%a6%8f%e4%bd%9c%e6%88%90%e3%81%97%e3%81%9f%e9%9a%9b%e3%80%81%e5%88%9d%e6%9c%9f%e5%8c%96%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%82%92%e5%ae%9f%e8%a1%8c%e3%81%95%e3%81%9b\/","title":{"rendered":"[GKE] pod\u3092\u65b0\u898f\u4f5c\u6210\u3057\u305f\u969b\u3001\u521d\u671f\u5316\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3055\u305b\u305f\u3044\u5834\u5408"},"content":{"rendered":"<p>\u65b0\u305f\u3057\u3044\u30c7\u30d7\u30ed\u30a4\u3092\u8d77\u52d5\u3057Pod\u304c\u7acb\u3061\u4e0a\u304c\u3063\u305f\u969b\u3001\u30b5\u30a4\u30c8\u540d\u306a\u3069\u306e\u521d\u671f\u8a2d\u5b9a\u3092\u81ea\u52d5\u3067\u884c\u3044\u305f\u3044\u306e\u3067\u3001\u3044\u308d\u3044\u308d\u8a66\u3057\u305f\u7d50\u679c\u306e\u30e1\u30e2<\/p>\n<h2>\u7d50\u8ad6<\/h2>\n<p>\u5fc5\u305a\u81ea\u52d5\u8d77\u52d5\u3055\u308c\u308brc.local (\u4eca\u56de\u306frc.entry\u3068\u3044\u3046\u30b9\u30af\u30ea\u30d7\u30c8)\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u5185\u306b\u5b9f\u884c\u3057\u3066\u307b\u3057\u3044Shell\u3092\u30cd\u30b9\u30c8\u3057\u3066\u8d77\u52d5\u3055\u305b\u305f<\/p>\n<p>https:\/\/qiita.com\/hnishi\/items\/6a5b8b67d807f8dfe44e<\/p>\n<p>&nbsp;<\/p>\n<h2>\u30c8\u30e9\u30a4\u3057\u3066\u3060\u3081\u3060\u3063\u305f\u3053\u3068<\/h2>\n<p>\u30c7\u30d7\u30ed\u30a4\u3092\u4f5c\u6210\u3057\u305f\u969b\u306byaml\u306bcommand\u3092\u8a18\u8f09\u3057\u3066\u304a\u3051\u3070\u3001pod\u8d77\u52d5\u6642\u306b\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u308b<\/p>\n<p>https:\/\/qiita.com\/petitviolet\/items\/41aa9abe106a29ba4667<\/p>\n<p>&nbsp;<\/p>\n<h3>\u306a\u305c\u3060\u3081\u3060\u3063\u305f\u304b<\/h3>\n<p>\u521d\u671f\u8a2d\u5b9a\u3092\u884c\u3046\u30b9\u30af\u30ea\u30d7\u30c8\u3092Shell\u3067\u66f8\u3044\u3066\u304a\u308a\u3001yaml\u5185\u306ecommand\u3067Shell\u3092\u6307\u5b9a\u3001\u78ba\u304bPOD\u8d77\u52d5\u6642\u306b\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5b9f\u884c\u3055\u308c\u3066\u3044\u305f\u304c\u3001CrashLoopBackOff\u304c\u767a\u751f\u3057\u304d\u3061\u3093\u3068\u8d77\u52d5\u3059\u308b\u3053\u3068\u304c\u306a\u304b\u3063\u305f<\/p>\n<p>&nbsp;<\/p>\n<h3>\u539f\u56e0<\/h3>\n<p>Kubernetes\u306fPod\u306e\u30d7\u30ed\u30bb\u30b9\u304c\u843d\u3061\u308b\u3068\u3001\u81ea\u52d5\u7684\u306b\u305d\u308c\u3092\u691c\u77e5\u3057\u3001Pod \u306e\u72b6\u614b\u304c\u7570\u5e38\u3067\u3042\u308b\u3068\u307f\u306a\u3057\u3066 Pod \u3092\u518d\u8d77\u52d5\u3057\u3066\u3057\u307e\u3046\u4ed5\u69d8\u306b\u306a\u3063\u3066\u3044\u308b\u3002<\/p>\n<p>https:\/\/neos21.hatenablog.com\/entry\/2019\/04\/23\/080000<\/p>\n<p>\u306a\u306e\u3067\u3001\u3053\u3061\u3089\u304c\u4f5c\u6210\u3057\u305f\u81ea\u52d5\u8a2d\u5b9a\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u51e6\u7406\u304c\u7d42\u4e86\u3057\u30d7\u30ed\u30bb\u30b9\u304c\u843d\u3061\u305f\u6bb5\u968e\u3067Pod\u304c\u518d\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u305f\u305f\u3081<\/p>\n<p>&nbsp;<\/p>\n<h3>\u3068\u308a\u3042\u3048\u305a\u30d7\u30ed\u30bb\u30b9\u304c\u843d\u3061\u306a\u3044\u3088\u3046\u306b\u5bfe\u51e6\u3057\u3066\u307f\u305f\u3051\u3069<\/h3>\n<p>\u30d7\u30ed\u30bb\u30b9\u3092\u6c38\u7d9a\u5316\uff08\u305a\u3063\u3068\u8d77\u52d5\u3057\u3064\u3065\u3051\u308b\uff09\u3055\u305b\u308b\u306b\u306f\u3001\u30b7\u30a7\u30eb\u306e\u6700\u5f8c\u306b<\/p>\n<pre class=\"lang:default decode:true \">tail -f \/dev\/null<\/pre>\n<p>\u3092\u5b9f\u884c\u3057\u3066\u3001\u3072\u305f\u3059\u3089tail\u3055\u305b\u308b\u3053\u3068\u304c\u30e1\u30b8\u30e3\u30fc\u306a\u69d8\u5b50\u3002<\/p>\n<p>\u81ea\u52d5\u8a2d\u5b9a\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u6700\u5f8c\u306b\u300ctail -f \/dev\/null \u300d\u3092\u3064\u3051\u3066\u307f\u3066\u3001\u518d\u5ea6yaml\u5185\u306ecommand\u3067\u5b9f\u884c\u3055\u305b\u3066\u307f\u305f<\/p>\n<p>\u7d50\u679c\u3001\u81ea\u52d5\u8a2d\u5b9a\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u7d42\u308f\u3089\u305a\u6b21\u306erc.local\u304c\u8d77\u52d5\u3057\u306a\u304b\u3063\u305f\u305f\u3081\u3001\u8d77\u52d5\u3057\u3066\u307b\u3057\u3044\u30b5\u30fc\u30d3\u30b9\u304c\u8d77\u52d5\u3057\u306a\u3044\u3053\u3068\u306b\u3001\u3001\u3053\u308c\u3063\u3066\u9806\u756a\u306b\u8d77\u52d5\u3059\u308b\u3093\u3060\u3063\u3051<\/p>\n<p>&nbsp;<\/p>\n<h3>yaml\u5185\u306ecommand\u306f\u3042\u304d\u3089\u3081\u305f<\/h3>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u3044\u308d\u3044\u308d\u3084\u3063\u3066\u307f\u305f\u304cyaml\u5185\u306ecommand\u3067\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u81ea\u52d5\u8d77\u52d5\u306f\u8ae6\u3081\u3001\u305d\u3082\u305d\u3082\u81ea\u52d5\u8d77\u52d5\u3057\u3066\u3044\u305frc.local\u3067\u81ea\u4f5c\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u8d77\u52d5\u3057\u3066\u3082\u3089\u3046\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u65b0\u305f\u3057\u3044\u30c7\u30d7\u30ed\u30a4\u3092\u8d77\u52d5\u3057Pod\u304c\u7acb\u3061\u4e0a\u304c<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[206,210],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blue-bear.jp\/kb\/wp-json\/wp\/v2\/posts\/2382"}],"collection":[{"href":"https:\/\/blue-bear.jp\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blue-bear.jp\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blue-bear.jp\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blue-bear.jp\/kb\/wp-json\/wp\/v2\/comments?post=2382"}],"version-history":[{"count":1,"href":"https:\/\/blue-bear.jp\/kb\/wp-json\/wp\/v2\/posts\/2382\/revisions"}],"predecessor-version":[{"id":2384,"href":"https:\/\/blue-bear.jp\/kb\/wp-json\/wp\/v2\/posts\/2382\/revisions\/2384"}],"wp:attachment":[{"href":"https:\/\/blue-bear.jp\/kb\/wp-json\/wp\/v2\/media?parent=2382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blue-bear.jp\/kb\/wp-json\/wp\/v2\/categories?post=2382"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blue-bear.jp\/kb\/wp-json\/wp\/v2\/tags?post=2382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}