Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on Kubernetes

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Tutorials

https://www.youtube.com/watch?v=ZpbXSdzp_vo

Some Kubernetes Distributions

Microk8s seems like a good option.

  • k3s - a light-weight Kubernetes distribution ideal for edge and development - compatible with Raspberry Pi …

Tips on Minikube

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Microk8s is a more lightweight solution than Minikube (even thought Microk8s is only for Linux.)

Installation

  1. Install kubectl

  2. Install Minikube

  3. Start minikube.

    minikube start --vm-driver=hyperkit
    
  4. Check status of minikube.

    minikube …

Fix the CrashLoopBackOff Issue of Pod in Kubernetes

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Define command as ["/busybox/sh", "-c", "tail -f /dev/null"] instead of ["/busybox/sh", "-c", "tail", "-f", "/dev/null"]

Tips on Git Submodule

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

git submodule init
git submodule add git@github.com:dclong/docker_image_builder.git
git submodule update --recursive --remote

To remove a Git submodule.

git rm submodule

Module Already Exists in Index.

in …

Query and Monitor OS Information using osquery

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. List all tables.

    .\osqueryi .tables

  2. Check the schema of a table (e.g., "process").

    .\osqueryi ".schema processes"

Querying System Information

.\osqueryi.exe "select * from system_info"

Querying Docker

Please refer to Manage …

Tips on MuMu App Player

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. Neither MuMu App Player nor MuMu Game Assistant supports Hyper-V currently. As a matter of fact, all popular Android emulators does not support Hyper-v at this time (as of Aug 22 …