摘要: 代码示例 from openpyxl import Workbook # 创建一个新的 Excel 文件 workbook = Workbook() sheet = workbook.active # 添加一些示例数据到 Excel data = [ ["Name", "Age"], ["Alice 阅读全文
posted @ 2024-06-20 11:06 小吉猫 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 架构支持 AMD64 AArch64 内核版本 Linux kernel >= 4.19.57 Linux 发行版兼容性和注意事项 发行版 最低版本 Amazon Linux 2 all Bottlerocket OS all CentOS >= 8.0 Container-Optimized OS 阅读全文
posted @ 2024-06-03 15:51 小吉猫 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 准备工作 创建数据目录 # mkdir -pv files hosts [ubuntu] 172.168.174.106 ansible_ssh_port=22 ansible_ssh_user=root hostname=k8s-master-01 下载软件包 wget https://githu 阅读全文
posted @ 2024-05-31 18:41 小吉猫 阅读(13) 评论(0) 推荐(0) 编辑
摘要: Introduction Cluster Mesh 主要处理集群间的通信、网络策略以及路由等问题。它能够处理跨多个 Kubernetes 集群的 Pod IP 路由,通过隧道或直接路由实现无需网关或代理的跨集群通信,从而提高微服务架构的效率。 Cilium Cluster Mesh 可以连接多个集群 阅读全文
posted @ 2024-05-30 09:04 小吉猫 阅读(10) 评论(0) 推荐(0) 编辑
摘要: Kubernetes Networking kube proxy Networking plugin: 网络设备 IPAM(IP Address Management) 同一节点上的pod间通信 跨节点的pod间通信 kube proxy: Services iptables or ipvs Ser 阅读全文
posted @ 2024-05-29 09:13 小吉猫 阅读(59) 评论(0) 推荐(0) 编辑
摘要: Encapsulation(隧道封装) 当未提供配置时,Cilium会自动以这种模式运行,因为这种模式对底层网络基础设施的要求最少。 在这种模式下,所有集群节点使用基于UDP的封装协议VXLAN或Geneve形成隧道网格。所有Cilium节点之间的流量都被封装。 对网络的要求 封装依赖于正常的节点之 阅读全文
posted @ 2024-05-28 10:09 小吉猫 阅读(30) 评论(0) 推荐(0) 编辑
摘要: cilium 概述 Cilium 是a56爆大奖在线娱乐网络、可观察性和安全解决方案,具有基于 eBPF 的数据平面。它提供了一个简单的扁平第 3 层网络,能够以本机路由或覆盖模式跨越多个集群。它具有 L7 协议感知能力,可以使用与网络寻址分离的基于身份的安全模型在 L3-L7 上实施网络策略。 Cilium 为 阅读全文
posted @ 2024-05-27 15:15 小吉猫 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 代码功能 对execl 的主机生成唯一不重复的密码。 代码示例 import secrets import string from datetime import datetime from openpyxl import load_workbook from openpyxl.utils impo 阅读全文
posted @ 2024-05-24 10:39 小吉猫 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 按列读取数据 from openpyxl import Workbook # 创建一个新的Excel工作簿 wb = Workbook() # 获取第一个工作表 worksheet = wb.active # 多行数据 data = [ ['Bob', 25, 'Male'], ['Charlie' 阅读全文
posted @ 2024-05-23 11:13 小吉猫 阅读(15) 评论(0) 推荐(0) 编辑
摘要: utils 模块说明 openpyxl.utils 模块提供了一些有用的工具来处理 Excel 表格中的行号和列号的转换。 column_index_from_string() column_index_from_string(): 用于将 Excel 列字母转换为列索引。 column_index 阅读全文
posted @ 2024-05-22 09:00 小吉猫 阅读(16) 评论(0) 推荐(0) 编辑