Debugging Go in
production using eBPFeBPF Summit October 28, 2020 Debugging Go in production using eBPF ABOUT ME ? i’m Zain @zainasgar Co-Founder/CEO Pixie (@pixie_run) & Adjunct Professor of CS @ Stanford DEVELOPER PROBLEM You’re ing/trace_example DEMO: Go Argument Tracer ● Utilizing tracepoints for dynamic logging allows for easy instrumentation of production binaries ● The complexities of the Go ABI make it difficult to do0 码力 | 14 页 | 746.99 KB | 1 年前3
 How to ship BPF with your Go projectHow to ship BPF with your Go project Lorenz Bauer October 28, 2020 Goal ● Count the number of packets on lo ● Print the count to the console ● From a single Go binary Use the source, Luke github github.com/lmb/ship-bpf-with-go github.com/cilium/ebpf0 码力 | 3 页 | 174.11 KB | 1 年前3
 Cilium v1.10 DocumentationKubernetes Without kube-proxy, AWS ENI, and dedicated etcd cluster for Cilium. This guide will just go through a basic setup. Prerequisites aws cli [https://aws.amazon.com/cli/] kubectl [https://kubernetes information on the configuration options kops offers. See the kops cluster spec documentation [https://pkg.go.dev/k8s.io/kops/pkg/apis/kops? tab=doc#CiliumNetworkingSpec] for a comprehensive list of all the options a Kubernetes cluster and install Cilium. If in doubt, pick the minikube route, you will be good to go in less than 5 minutes. Deploy the Demo Application Now that we have Cilium deployed and kube-dns0 码力 | 1307 页 | 19.26 MB | 1 年前3
 Cilium v1.11 DocumentationKubernetes Without kube-proxy, AWS ENI, and dedicated etcd cluster for Cilium. This guide will just go through a basic setup. Prerequisites aws cli [https://aws.amazon.com/cli/] kubectl [https://kubernetes information on the configuration options kops offers. See the kops cluster spec documentation [https://pkg.go.dev/k8s.io/kops/pkg/apis/kops? tab=doc#CiliumNetworkingSpec] for a comprehensive list of all the options a Kubernetes cluster and install Cilium. If in doubt, pick the minikube route, you will be good to go in less than 5 minutes. Deploy the Demo Application Now that we have Cilium deployed and kube-dns0 码力 | 1373 页 | 19.37 MB | 1 年前3
 Cilium v1.9 DocumentationKubernetes Without kube-proxy, AWS ENI, and dedicated etcd cluster for Cilium. This guide will just go through a basic setup. Prerequisites aws cli [https://aws.amazon.com/cli/] kubectl [https://kubernetes information on the configuration options kops offers. See the kops cluster spec documentation [https://pkg.go.dev/k8s.io/kops/pkg/apis/kops? tab=doc#CiliumNetworkingSpec] for a comprehensive list of all the options background. Running kubectl get pods,svc will inform you about the progress of the operation. Each pod will go through several states until it reaches Running at which point the pod is ready. $ kubectl get pods0 码力 | 1263 页 | 18.62 MB | 1 年前3
 Cilium v1.8 DocumentationKubernetes without kube-proxy, AWS ENI, and dedicated etcd cluster for Cilium. This guide will just go through a basic setup. Prerequisites aws cli [https://aws.amazon.com/cli/] kubectl [https://kubernetes information on the configuration options kops offers. See the kops cluster spec documentation [https://pkg.go.dev/k8s.io/kops/pkg/apis/kops? tab=doc#CiliumNetworkingSpec] for a comprehensive list of all the options background. Running kubectl get pods,svc will inform you about the progress of the operation. Each pod will go through several states until it reaches Running at which point the pod is ready. $ kubectl get pods0 码力 | 1124 页 | 21.33 MB | 1 年前3
 Cilium v1.6 DocumentationUsing Istio Docker Cilium with Docker & libnetwork Mesos Cilium with Mesos/Marathon Envoy Envoy Go Extensions Administration System Requirements Summary Linux Distribution Compatibility Matrix Linux background. Running kubectl get pods,svc will inform you about the progress of the operation. Each pod will go through several states until it reaches Running at which point the pod is ready. $ kubectl get pods /code/src/github.com/empire/deathstar/ temp/main.go:9 +0x64 main.main() /code/src/github.com/empire/deathstar/ temp/main.go:5 +0x85 While this is an illustrative example, unauthorized0 码力 | 734 页 | 11.45 MB | 1 年前3
 Cilium v1.7 DocumentationUsing Istio Docker Cilium with Docker & libnetwork Mesos Cilium with Mesos/Marathon Envoy Envoy Go Extensions Administration System Requirements Summary Linux Distribution Compatibility Matrix Linux Kubernetes without kube-proxy, AWS ENI, and dedicated etcd cluster for Cilium. This guide will just go through a basic setup. Prerequisites aws cli [https://aws.amazon.com/cli/] kubectl [https://kubernetes information on the configuration options kops offers. See the kops cluster spec documentation [https://pkg.go.dev/k8s.io/kops/pkg/apis/kops? tab=doc#CiliumNetworkingSpec] for a comprehensive list of all the options0 码力 | 885 页 | 12.41 MB | 1 年前3
 Cilium v1.5 DocumentationStarted Using Is�o Docker Cilium with Docker & libnetwork Mesos Cilium with Mesos/Marathon Envoy Envoy Go Extensions Administra�on System Requirements Summary Linux Distribu�on Compa�bility Matrix Linux Kernel background. Running kubectl get pods,svc will inform you about the progress of the opera�on. Each pod will go through several states un�l it reaches Running at which point the pod is ready. $ kubectl get pods /code/src/github.com/empire/deathstar/ temp/main.go:9 +0x64 main.main() /code/src/github.com/empire/deathstar/ temp/main.go:5 +0x85 While this is an illustra�ve example, unauthorized0 码力 | 740 页 | 12.52 MB | 1 年前3
 2.2.1通过Golang+eBPF实现无侵入应用可观测Error()) } links = append(links, pl) return nil } bpf2go 01. 副标题 //go:generate go run github.com/cilium/ebpf/cmd/bpf2go -cc clang -cflags $BPF_CFLAGS -type insp_pl_event_t - type insp_pl_metric_t /bpf/packetloss.c -- -I../../../../bpf/headers -D__TARGET_ARCH_x86 1、安装环境 2、写好bpf.c和bpf.h,放到指定目录 3、go generate 获取转换后的go文件 构建完整的应用可观测系统 第五部分 架构感知 JMeter testdemo1 testdemo2 Mysql Redis Kafka hcmine 节点0 码力 | 29 页 | 3.83 MB | 1 年前3
共 14 条
- 1
 - 2
 













