Kubernetes Controlled Sidecar Shutdown

Sidecar concept in Kubernetes is very useful ability to run multiple docker images in same pod (Kubernetes unit of execution). One common way to load sidecar is to attach additional container to pod whose only purpose is read stdout/stderror pipes... Read more

Renewing Kubernetes Certificates on Master

Backup config Renew certificates Copy kubectl config Related Articles Read more

Simulate events in Android Emulator

I had to do some testing with application which expected certain boot events to occur to start properly. Since it was an emulator, boot event was never received and so I was not able to start all background services related... Read more

Gstreamer pipeline examples

Following 2 tests were done on OrangePI 5 Creating MP4 H264 video decoder to fakesink Render video to display Listing available plugins To list all available system plugins do: To inspect individual plugin arguments Using capsfilter Enabling debug logs https://gstreamer.freedesktop.org/documentation/coretracers/log.html?gi-language=c Read more

Removing all unused files from Docker image

I had a situation where I had to build an app from SDCard image (block device) and containerize it. Since image was over 7 GiB I had to somehow remove all unused files from it to keep it as slim... Read more

Debian Package tips&tricks

List Trusted Keys Preparing Debian for minimal docker image Read more

Creating an Docker image from image file

I had to create a base Docker image from OrangePI 5 OS so that some applications which are dependant on system libraries (libmali and platform gstreamer hw accelerator libs) could be built and ran on OS. First we need to... Read more

Calling Conventions

ARM64 For this architecture functions arguments are passed via registers x0-x7. x0 is also a return value register. Read more

GDB tips&tricks

Common commands Remote Debug On machine serving port To attach Read more

Rotate Linux FB terminal

Read more