kubernates网络模型、网络策略

kubernates网络模型、网络策略

ip-per-pod模型

enter description here
enter description here

enter description here
enter description here
enter description here

网络划分层次

enter description here
enter description here

容器和容器之间的访问

在同一个 Pod 中的容器共享相同的网络命名空间,容器之间通过 localhost 访问端口。
enter description here
表示的是在一个 Node 上运行着一个 Pod 实例,在 Pod 中运行着容器 1 和容器 2。容器 1 和容器 2 共享相同的网络命名空间,打开的端口不会产生冲突。

pause容器

enter description here
enter description here

enter description here

相同的node上的pod通信和不同node上的pod通信

enter description here
enter description here

enter description here
enter description here
enter description here
enter description here
enter description here

这种连接规范只是定义标准化CNI 网络模型

网络策略

enter description here
enter description here

猜你喜欢

转载自www.cnblogs.com/miaozhijuan/p/12662011.html
今日推荐