{"id":729,"date":"2021-03-25T16:02:16","date_gmt":"2021-03-25T15:02:16","guid":{"rendered":"https:\/\/www.ume.li\/blog\/?p=729"},"modified":"2021-03-25T16:02:16","modified_gmt":"2021-03-25T15:02:16","slug":"connections-component-pack-quick-check","status":"publish","type":"post","link":"https:\/\/www.ume.li\/blog\/2021\/03\/25\/connections-component-pack-quick-check\/","title":{"rendered":"Connections Component Pack Quick check"},"content":{"rendered":"<p>I had some issues with my componet pack pods and dns resolution.<br \/>\nThe following command runs a ping to my internal ihs host (interservice url) on every pod.<\/p>\n<p><code><br \/>\nkubectl get pods -n connections -o name | xargs -I{} kubectl -n connections exec {} -- sh -c \"echo {} &&  ping ihs.interservice.url -c 1\" | tee ping.log<br \/>\n<\/code><\/p>\n<p>Most of the connections pods display the ip. Some do actually ping, but on most pods, ping itself is prohibited.<br \/>\nAnother  option is to use nslookup<\/p>\n<p><code><br \/>\nkubectl get pods -n connections -o name | xargs -I{} kubectl -n connections exec {} -- sh -c \"echo {} &&  nslookup ihs.interservice.url \" | tee nslookup.log<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had some issues with my componet pack pods and dns resolution. The following command runs a ping to my<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[54,23],"tags":[],"class_list":["post-729","post","type-post","status-publish","format-standard","hentry","category-component-pack","category-connections"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts\/729","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/comments?post=729"}],"version-history":[{"count":1,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts\/729\/revisions"}],"predecessor-version":[{"id":730,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts\/729\/revisions\/730"}],"wp:attachment":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/media?parent=729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/categories?post=729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/tags?post=729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}