RKE2 Cilium 配置 Cluster Mesh 实现跨集群通信
通过 Cilium 的能力实现 Kubernetes 集群连接在一起来构建一个网状集群,在所有集群之间启用 pod-to-pod 连接,定义全局服务来平衡集群之间的负载,并执行安全策略来限制访问。
官方文档:https://docs.cilium.io/en/stable/network/clustermesh/clustermesh/#enable-clustermesh
RKE2 Cilium 配置 Cluster Mesh 实现跨集群通信
通过 Cilium 的能力实现 Kubernetes 集群连接在一起来构建一个网状集群,在所有集群之间启用 pod-to-pod 连接,定义全局服务来平衡集群之间的负载,并执行安全策略来限制访问。
官方文档:https://docs.cilium.io/en/stable/network/clustermesh/clustermesh/#enable-clustermesh
Rancher Monitoring V2 Prometheus PVC 扩容
根据 Prometheus Operator 官方文档 描述,即使 StorageClass 支持调整大小,Kubernetes(目前)也不支持通过 StatefulSets 扩展卷。这意味着在更新 Prometheus 等自定义资源的 spec.storage 字段中的存储请求时,Operator 必须删除/创建底层的 StatefulSet,而相关的 PVC 不会扩展。
Rancher Pod Metrics 部分 Panel No data 问题排查
Rancher Pod Metrics 有部分 Panel 显示 No data,只有 Memory Utilization 显示正常:
NeuVector 有一个名为 nvprotect 的内部保护机制,用于限制用户对 NeuVector pod 的访问权限。
例如 sh、ls 等命令是无法使用的:
如果需要关闭,可以通过接口进行关闭,此处提供脚本,支持关闭 Controller、Scanner、Enforcer 的 nvprotect。
部署 ECK Operator:
1 | kubectl create -f https://download.elastic.co/downloads/eck/2.16.1/crds.yaml |