API to fetch the container operating system in a pod

Asking for help? Comment out what you need so we can get more information to help you!

API to fetch the container operating system in a pod

Kubernetes version:1.13
Cloud being used: (put bare-metal if not on a public cloud)
Installation method:NA
Host OS: NA
CNI and version:NA
CRI and version: NA

There isn’t one - containers don’t have to have an “OS”. Many are wrappers around a single binary.

It’s better to think of containers not as a complete OS or a virtual machine, but a package that contains the requirements and dependencies to run your application.