linux, devops, sre, cloud, virtualization, containers, performance tunning, golang…
How to get logs from selected container in a pod ?
I faced with the problem where I have to react on specific log entry from an third party application.
Ways of distributing pods across nodes
How can more evenly distribute pod across nodes ? After quick research I found that this example of deployment should be ok:
GKE Node Debugging
GKE is fully managed k8s cluster in Google Cloud Platform, one of its component is a node pool.
Kind - local k8s
Few words after using kind: works only with docker, there is also a podman provider (not tested) docker image node-image simulates a k8s node - all components in one image, started by systemd docker container is priviledged easy to start just use kind command, under the hood it download right node-image version and start it node-image is based on base-image you can run multiple node cluster you can customize kind configuration ie.
Custom node condition in Kubernetes
When you go through node object in k8s you can see that there is a field called Conditions:
ICMP Echo permissions
Network ping tool, one of the most widely used tool to debug network problem.
gRPCurl - curl for gRPC
In previous blog post How kubernetes is interacting with docker ?
CNI - the Container Network Interface
CNI is simple interface based on environment variables and JSON config.
Docker and Kubernetes at network layer
I wrote some posts about how kubernetes is interacting with docker at CRI level, but what about networking ?
dropwatch - discover where network packets are dropped
Let’s imagine situation where you experience network problem with dropping packets and you’ve no idea where the problem is located.