You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Kubernetes and cgroups Resource Management/Static cpuManagerPolicy/Memory and Resource Isolation & Scheduling
Overview
The goal of this document to cover all aspects of Kubernetes management, including how resources are expressed, constrained and accounted for. This started a way to ensure that alternate container runtime implementation like Kata containers will behave from a resource accounting and consumption point of view in the same manner as runc.
If you do not understand cgroups please refer to a quick primer at the bottom of this document. This will help you understand how the resource enforcement actually works.
Guide for Cross-compilation of rust binaries (for eg. s390x)
The following steps describe the setup required to cross-compile a rust binary on a amd64 platform.
These steps setup the cross-compile toolchain on the host itself.
After going through these steps manually, I came accross a tool cross that makes the
process way easier. It uses docker for the build and does not require any changes to the host.
Jump to the section directly if you dont want to make any changes to the host.
kcli is a handy tool for creating disposable VMs. You can also creata Kubernetes and OpenShift clusters with it.
Refer to https://kcli.readthedocs.io/en/latest/ for more details.
This gist describes the steps needed to setup kcli on an Ubuntu machine.
backdoor-image can be used to easily add user with passwordless
sudo access to a image or a root filesystem.
Operating on an image requires the 'mount-image-callback' tool from
cloud-utils. That can be installed on ubuntu via apt-get install -qy cloud-image-utils.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters