{"height":"190","description":"kubectl port-forward allows using resource name, such as a pod name, to select a matching pod to port forward to. \u5225\u89e3\u306f\u78ba\u304b\u306b\u9069\u5f53\u306apod\u3092\u7acb\u3061\u4e0a\u3052\u3066\u304b\u3089\u306ecurl kubectl run test-pod --image nginx -- /bin/sh -c 'curl <target_pod's_ip_address>' kubernetes.io udomomo.hatenablog.com role\u7684\u306b\u306fget list create\u304cpods/portforward\u306b\u5fc5\u2026","url":"https://www.shigemk2.com/entry/2025/08/06/203439","provider_url":"https://hatena.blog","image_url":null,"blog_title":"by shigemk2","published":"2025-08-06 20:34:39","blog_url":"https://www.shigemk2.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F2025%2F08%2F06%2F203439\" title=\"kubectl port-forward - by shigemk2\" 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/shigemk2/","width":"100%","categories":["kubernetes"],"version":"1.0","type":"rich","author_name":"shigemk2","title":"kubectl port-forward","provider_name":"Hatena Blog"}