{"provider_name":"Hatena Blog","published":"2022-07-20 00:33:56","categories":["kubernetes"],"type":"rich","height":"190","blog_url":"https://blog.turai.work/","title":"kubectx\u3067\u697d\u306b\u30cd\u30fc\u30e0\u30b9\u30da\u30fc\u30b9\u3092\u5207\u308a\u66ff\u3048\u3059\u308b","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.turai.work%2Fentry%2F20220720%2F1658244836\" title=\"kubectx\u3067\u697d\u306b\u30cd\u30fc\u30e0\u30b9\u30da\u30fc\u30b9\u3092\u5207\u308a\u66ff\u3048\u3059\u308b - \u52d5\u304b\u3056\u308b\u3053\u3068\u30d0\u30b0\u306e\u5982\u3057\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/thr3a/","author_name":"thr3a","version":"1.0","provider_url":"https://hatena.blog","width":"100%","image_url":null,"description":"Kubernetes\u306enamespace\u3046\u3064\u306e\u9762\u5012\u304f\u3055\u3044\u554f\u984c kubectl get pods -n hogehoge \u3044\u3061\u3044\u3061\u6253\u3063\u3066\u3089\u308c\u308b\u304b\u3088 \u3063\u3066\u3053\u3068\u3067\u30a2\u30d7\u30ea\u3067\u89e3\u6c7a kubectl\u306econtext\u3068namespace\u5468\u308a\u306e\u64cd\u4f5c\u3092kubectx\u3068kubens\u3067\u3061\u3087\u3063\u3068\u697d\u3059\u308b | DevelopersIO\u306e\u8a18\u4e8b\u898b\u3066\u305f\u3089kubectx\u3068kubens\u3063\u3066\u30b3\u30de\u30f3\u30c9\u304c\u4fbf\u5229\u3068\u306e\u3053\u3068\u3060\u3063\u305f\u306e\u3067\u65e9\u901f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb brew install kubectx \u4f7f\u3044\u65b9 kubens \u3067\u30cd\u30fc\u30e0\u30b9\u30da\u30fc\u30b9\u4e00\u89a7\u8868\u793a kubens <\u540d\u524d> \u3067\u30cd\u30fc\u30e0\u30b9\u30da\u30fc\u30b9\u5207\u308a\u66ff\u3048 \u276f kubens test Context \"kubern\u2026","url":"https://blog.turai.work/entry/20220720/1658244836","blog_title":"\u52d5\u304b\u3056\u308b\u3053\u3068\u30d0\u30b0\u306e\u5982\u3057"}