0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Kubernetes - Service と Ingress

0
Last updated at Posted at 2023-11-09

Service

ClusterIP

Cluster 内の Pod 同士が、内部 DNS で名前解決して通信するプライベート IP アドレス。

ClusterIP.drawio (3).png

NorePort

Node の IP アドレスに、公開ポート番号を公開して、Cluster 外部からのアクセスを受け付ける。
Service は、kube-proxy と連携して、各 Node にポートを開き、Node 横断で Pod にリクエストを送信。

NodePort.drawio.png

LoadBalancer

Cluster 外部の LoadBalancer と連携して外部からのアクセスを受け付ける。各クラウドプロバイダーで対応。

LoadBalancer.drawio.png

Ingress

Ingress は外部からの HTTP(S) トラフィックを内部 Service にルーティングし、L7 のロードバランシングを提供。

Ingressdrawio.png

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?