MicroService
对Microservice相关的一些技术整理
小小的CODER
辛劳的小码农!欢迎讨论
展开
-
如何在pod中的container 里面生成coredump 文件 并拷贝出来使用GDB debug
1. Update helm chart . a. Add a volume and initContainers in the deployment .yaml volumes: - name: dumps emptyDir: {} initContainers: - name: {{ .Values.ini...原创 2019-07-30 09:35:04 · 1555 阅读 · 0 评论 -
how to install Docker CE in the Ubuntu 18.04
Follow this section at the Docker CE offcial docs :https://docs.docker.com/install/linux/docker-ce/ubuntu/Notes:1. when using following command to install docker ce .will be appear docker-ce-cl...原创 2019-07-04 21:26:23 · 188 阅读 · 0 评论 -
Profiling C++ with Perf in the linux Env
1.Installation perf:sudo apt-get install linux-tools-commonsudo apt-get install linux-tools-4.15.0-47-generic linux-cloud-tools-4.15.0-47-generic (use 'uname -r' to check version )2.Special ...原创 2019-07-03 16:38:32 · 158 阅读 · 0 评论 -
how to profiling go code .
1.Write code (add following code in httpserver NewServer function .)Import "net/http/pprof"func NewServer(port string, srv service.Service) *http.Server {handler := handler{&...原创 2019-07-03 16:32:55 · 115 阅读 · 0 评论 -
Build an image for grabing between containers' tcpdump of a pod
1.Build an imagedocker run -it --name=alpine alpine:3.9.2apk add tcpdumpdocker commit alpine aaa:tag2. Grab tcpdump"docker ps | grep your service" to get all of the container"docker run -...原创 2019-07-03 16:30:44 · 169 阅读 · 0 评论