摘要: Metallb 和 Ingress 是 Kubernetes 生态系统中不同层面上的组件,主要区别如下: 1. 作用层面 Metallb: 主要用于 L2/L3 网络层,给 Kubernetes 集群中的 Service (LoadBalancer 类型) 提供外部 IP 地址。 Ingress: 阅读全文
posted @ 2025-03-07 20:29 蒲公英PGY 阅读(150) 评论(0) 推荐(0)
摘要: 📌 MetalLB 介绍 MetalLB 是一个 Kubernetes 的 LoadBalancer 解决方案,专门用于裸机(Bare Metal)集群。由于 Kubernetes 本身在裸机环境中没有内置的负载均衡(不像云环境有 ELB、ALB),MetalLB 通过 BGP 或 ARP 提供 阅读全文
posted @ 2025-03-07 20:28 蒲公英PGY 阅读(422) 评论(0) 推荐(0)
摘要: Kubernetes (K8s) 提供了丰富的 kubectl 命令用于管理集群、Pod、服务等。以下是 K8s 常见命令大全: 📌 一、基本命令 kubectl version # 查看 kubectl 和集群的版本 kubectl cluster-info # 查看集群信息 kubectl g 阅读全文
posted @ 2025-03-07 19:57 蒲公英PGY 阅读(1653) 评论(0) 推荐(2)
摘要: crictl 和 ctr 都可以拉取容器镜像,但它们的存储方式和使用的命名空间不同,具体区别如下: 1. crictl pull vs ctr images pull 特性 crictl pull ctr images pull 接口 CRI(Container Runtime Interface) 阅读全文
posted @ 2025-03-07 19:48 蒲公英PGY 阅读(1234) 评论(0) 推荐(1)