{"description":"\u305f\u307e\u30fc\u306b\u3084\u308a\u305f\u3044\u3068\u304d\u304c\u3042\u308b\u3051\u3069\u6bce\u56de\u5fd8\u308c\u308b\u306e\u3067\u30e1\u30e2 \u3084\u308a\u305f\u3044\u3053\u3068 \u4eca\u56de\u306f Kubernetes Pod \u5185\u306e\u8d77\u52d5\u4e2d\u306e Container \u3067 iptables \u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002 \u5bfe\u8c61\u306e\u30b3\u30f3\u30c6\u30ca\u304c iptables \u30b3\u30de\u30f3\u30c9\u3092\u3082\u3063\u3066\u3044\u3066 securityContext. capabilities \u306b NET_ADMIN \u304c\u3042\u308c\u3070 kubectl exec [pod name] -- iptables \u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002iptables \u30b3\u30de\u30f3\u30c9\u304c\u5165\u3063\u3066\u308b\u3053\u3068\u306f\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c NET_ADMIN \u306f\u4f55\u304b\u7406\u7531\u304c\u306a\u3044\u3068\u4ed8\u4e0e\u3057\u306a\u3044\u3068\u601d\u3046\u306e\u3067\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306b\u306f manifest \u306e\u66f4\u65b0\u304c\u5fc5\u8981\u306b\u306a\u308b\u305f\u3081 Po\u2026","categories":[],"published":"2024-03-29 09:00:00","blog_title":"hatappi.blog","url":"https://hatappi.blog/entry/2024/03/29/090000","width":"100%","type":"rich","height":"190","author_name":"hatappi1225","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhatappi.blog%2Fentry%2F2024%2F03%2F29%2F090000\" title=\"Kubernetes Pod \u5185\u306e\u8d77\u52d5\u4e2d\u306e Container \u3067 iptables \u3092\u78ba\u8a8d\u3057\u305f\u3044 - hatappi.blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","author_url":"https://blog.hatena.ne.jp/hatappi1225/","provider_name":"Hatena Blog","title":"Kubernetes Pod \u5185\u306e\u8d77\u52d5\u4e2d\u306e Container \u3067 iptables \u3092\u78ba\u8a8d\u3057\u305f\u3044","image_url":null,"provider_url":"https://hatena.blog","blog_url":"https://hatappi.blog/"}