Category Archives: Administration

Using tcpdump for k8s pods

You need wireshark to be installed on your local machine — download (more on this below). If you don’t have tcpdump installed inside the pod, you can install it with

Then, on your local machine:

If you want to see packets in grpc/http2, you can add a rule in Wireshark. For this, click …

Read more

Forward multiple kubernetes pods for local development

kubefwd is a great tool that can forward a lot of pods at once to your local machine. The only downside for me is that it touches your local /etc/hosts. That’s how I use it:

It does not have huge documentation, but it is written in golang, and you can check how the source …

Read more

Using DataDog on your CentOs Or, if you want a dockerized version of DataDog agent, and you want to listen to docker logs, you can do this:

More info here — Then you will see your logs here —

Add all lines from a .env file to environment



to output to stdout

prepend running a command (did not try it, but something similar):

How to update your k8s pod limits

Then search for memory (for instance) and update request/limit for it. When you quit, it will be saved automatically for you.

Load testing tools [Tool | Free] [Tool | Free] [Tool | Free] [Tool | Free/$] [Tool | Free/SaaS] [Tool | Free] [SaaS | Free/$] [Tool | Free/$] [Tool | Free]

Read logs from docker container

Interesting alternative to grpc_cli It has REPL mode and CLI mode for e2e tests I think, it could be a good alternative to grpc_cli.

How to install linux mint on hp

I’ve run into a problem — had a lot of error logging saying «PCIe Bus Error: severity=Corrected, type=Physical Layer», «AER Corrected error received», and similar. The problem is that it fills all the log space and the installation process cannot finish. You can run into it on HP laptops on monoblocks. What you can do.

Setup local Athens for proper go mod

There is a project called Athens for proxying all your go mod downloads. How to use it locally. 1. Create the following files and directories: a. /Users/d.bolgov/.ssh-athens/storage — empty directory to cache go modules b. /Users/d.bolgov/.ssh-athens/.netrc — if you prefer using .netrc

c. /Users/d.bolgov/.ssh-athens/gitconfig/.gitconfig — if you want to substitue some urls. I personally …

Read more