LoginSignup
2
3

More than 5 years have passed since last update.

Kubernetesで同一Pod内で通信するときのアドレス指定

Posted at

And that makes sense, because in many respects, a Pod aces like a single server. For example, each container can access the other containers in the pod as different ports on localhost.

単純に同一Pod内であれば、localhostを指定すれば通信できる。

PodA内コンテナα => PodA内β(port:8080)通信の場合、
PodA内コンテナαからhttp://localhost:8080指定でβに通信できる。

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3