2.2.1通过Golang+eBPF实现无侵入应用可观测
From:https://zhuanlan.zhihu.com/p/507388164 微服务可观测的挑战 第三部分 微服务可观测的挑战 应用:微服务架构、多语言、多协议 挑战1:微服务、多语言、多协议环境下,端到端观测 复杂度上升,埋点成本居高不下 Kubernetes 容器 网络、操作系统、硬件 基础设施层复杂度日益增加 如何关联? 挑战3:数据散落,工具多, 缺少上下文,排查效率低下 业务应用 求,内存申请,文件操 作,CGroup… 内核异常:进程调度, 内存管理,文件管理, 夯机宕机,资源异 常… 应用组件异常:线程池满,数据库连接无法获取, OOM,文件读取错误… 无法自顶向下端到端 串联导致棘手问题频 发。 Kubernetes下的可观测 Golang + eBPF实现数据采 集 第四部分 eBPF在可观测领域的优势 无侵入 多语言/多协议/多框架 全栈覆盖 无侵入性 前运行的网络关系,帮助 用户感知架构,通过对比期望架构,发现问题,通常在新应用上线,新地区开服,整 体链路梳理等场景使用。 异常发现 节点 属性 关系 规则 异常发现,通过节点和关系颜色表达,能够快速地发现特点的节点和关系异常,进一步提升问题发 现和定位的效率,通常在应用运行时整体链路梳理和特定问题节点上下游分析等场景使用。 关联分析 上游 自身 下游 节点 上游1 上游20 码力 | 29 页 | 3.83 MB | 1 年前3Cilium v1.10 Documentation
your account. export NAME="$(whoami)-$RANDOM" cat <eks-config.yaml apiVersion: eksctl.io/v1alpha5 kind: ClusterConfig metadata: name: ${NAME} region: eu-west-1 managedNodeGroups: - name: ng-1 and-managing-clusters/#using-config-files] file to create the cluster: apiVersion: eksctl.io/v1alpha5 kind: ClusterConfig ... managedNodeGroups: - name: ng-1 ... # taint nodes so that application and-managing-clusters/#using-config-files] file to create the cluster: apiVersion: eksctl.io/v1alpha5 kind: ClusterConfig ... managedNodeGroups: - name: ng-1 ... # taint nodes so that application 0 码力 | 1307 页 | 19.26 MB | 1 年前3Cilium v1.11 Documentation
your account. export NAME="$(whoami)-$RANDOM" cat <eks-config.yaml apiVersion: eksctl.io/v1alpha5 kind: ClusterConfig metadata: name: ${NAME} region: eu-west-1 managedNodeGroups: - name: ng-1 and-managing-clusters/#using-config-files] file to create the cluster: apiVersion: eksctl.io/v1alpha5 kind: ClusterConfig ... managedNodeGroups: - name: ng-1 ... # taint nodes so that application and-managing-clusters/#using-config-files] file to create the cluster: apiVersion: eksctl.io/v1alpha5 kind: ClusterConfig ... managedNodeGroups: - name: ng-1 ... # taint nodes so that application 0 码力 | 1373 页 | 19.37 MB | 1 年前3Cilium v1.6 Documentation
centos-7 READY coreos-alpha-2121-0-0-v20190423 coreos-cloud coreos-alpha READY cos-69-10895-211-0 io/docs/concepts/containers/runtime-class/] is a Kubernetes feature first introduced in Kubernetes 1.12 as alpha. It is the feature for selecting the container runtime configuration to use to run a pod’s containers Istio route rules to route 100% of the reviews traffic to v1: apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: reviews spec: hosts: - reviews http: - route: - destination:0 码力 | 734 页 | 11.45 MB | 1 年前3Cilium v1.8 Documentation
cluster with 3 worker nodes and 1 control-plane node. kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane - role: worker - role: worker - role: worker networking: disableDefaultCNI: service-cidr to not overlap. Example kind-cluster1.yaml: kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane - role: worker - role: worker - role: worker networking: disableDefaultCNI: serviceSubnet: "10.1.0.0/16" Example kind-cluster2.yaml: kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane - role: worker - role: worker - role: worker networking: disableDefaultCNI:0 码力 | 1124 页 | 21.33 MB | 1 年前3Cilium v1.9 Documentation
cluster with 3 worker nodes and 1 control-plane node. kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane - role: worker - role: worker - role: worker networking: disableDefaultCNI: service-cidr to not overlap. Example kind-cluster1.yaml: kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane - role: worker - role: worker - role: worker networking: disableDefaultCNI: serviceSubnet: "10.1.0.0/16" Example kind-cluster2.yaml: kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane - role: worker - role: worker - role: worker networking: disableDefaultCNI:0 码力 | 1263 页 | 18.62 MB | 1 年前3Cilium v1.7 Documentation
of kubernetes from when the kind release was created. kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane - role: worker - role: worker - role: worker networking: disableDefaultCNI: service-cidr to not overlap. Example kind-cluster1.yaml: kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane - role: worker - role: worker - role: worker networking: disableDefaultCNI: serviceSubnet: 10.1.0.0/16 Example kind-cluster2.yaml: kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane - role: worker - role: worker - role: worker networking: disableDefaultCNI:0 码力 | 885 页 | 12.41 MB | 1 年前3Cilium v1.5 Documentation
Is�o route rules to route 100% of the reviews traffic to v1 : apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: reviews spec: hosts: - reviews http: - route: host: reviews subset: v1 weight: 100 --- apiVersion: networking.istio.io/v1alpha3 kind: DestinationRule metadata: name: reviews spec: host: reviews trafficPolicy: tls: route rule to send 50% of reviews traffic to v1 and 50% to v2 : apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: reviews spec: hosts: - reviews http: - route:0 码力 | 740 页 | 12.52 MB | 1 年前3
共 8 条
- 1