26

Kubernetes的Service以及Ingress配置实战-zjdevops的博客

 3 years ago
source link: https://blog.51cto.com/3388803/2537795
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Kubernetes中自带的Service负载均衡,提供了两种负载分发策略:RoundRobin:轮询模式轮询将请求转发到后端的各个Pod上SessionAffinity基于客户端IP地址进行会话保持的模式,即第一次将某个客户端发起的请求转发到后端的某个Pod上,之后从相同的客户端发起的请求都被转发到后端相同的Pod上。#Service设置多个端口号spec:ports:- port: 8080t

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK