I see minikube using Debian rodete as the VM image. I would like to use different image like Container-Optimized OS is this possible?
Thanks in advance
In the Prerequisites part of the documentation on how to use minikube locally, you can see that Any Linux you like can be eligible for its use.
Hence, as the Container-Optimized OS (COS) is based on Chromium OS (which is a minimal Linux OS focused on security), per definition, is possible to use the mentioned image.
Related
When I watching the openstack launch a VM:
in the 5:12/7:06, you see there choose a image then launch a VM, it will install the OS.
I want to know the technologies of the auto deployment of OS.
How can OpenStack can auto install the OS into a VM?
EDIT-01
I mean how can OpenStack can deploy OS into a VM.
Such as the Windows can use Windows WDS to deploy the OS, the Linux can use kickstart to deploy the OS.
how about the OpenStack can deploy both the Windows and Linux?
There are lots of images type which you can use with Openstack Platform. Some of them are:
RAW, QCOW2, ISO, VHD, VMDK, DOCKER, PLOOP.
Out of which QCOW2 format is a live OS image which does not require OS installation, as you can use it directly without any installation. Same is for VHD, VMDK image format.
If you have used ISO as a format this will install an OS first & then you can use it just like normal OS installation. But it takes time to install an OS instead use Qcow2 images for faster deployments.
Upload an image to your Openstack Platform then while launching an instance select that uploaded image in Image section.
This service probably has a folder containing various OS images. These OS images were prepared ahead of time to work with OpenStack's VMM and network. The OS image is supplied to the VM, and when the VM launches, it initializes the OS.
As far as I understand Kubernetes kubelet talks to CRI (Container Runtime Interface) to run containers. So every Container runtime which is being used in Kubernetes should follow CRI implementation (https://www.ianlewis.org/en/container-runtimes-part-4-kubernetes-container-run). Docker Desktop version neither runs dockerd or containerd. It runs HyperKit for High-Level virtualization. Is it CRI compliant and could be used with Kubernetes?
Hyperkit is not CRI, it is hypervisor such as VirtualBox, which is used for Docker Desktop for Mac. From Official docker documentation
Docker Desktop for Mac uses HyperKit instead of Virtual Box. Hyperkit
is a lightweight macOS virtualization solution built on top of
Hypervisor.framework in macOS 10.10 Yosemite and higher.
If you check this blog, it explains very well relationships between hypervisors and CRI.
As you can see the above image, Docker Container Engine (or containerd) is in top of Linux kernel, so it has nothing to do with Hypervisors. This is basically the main difference between VMs and Containers. If you have Linux kernel, you can run your CRI there.
So, Docker Desktop with Hyperkit, will work with Kubernetes
Hope it helps!
Is it possible to build Kubernetes from source code on a windows machine?
As per development environment setup mentioned in https://github.com/kubernetes/community/blob/master/contributors/devel/development.md only supported OSs are Linux and MAC
Running build/run.sh shows below:
Unsupported host OS. Must be Linux or Mac OS X.
The simple answer is yes. Kubernetes source is in Go and there is Go compiler for Windows.
Another question would be, is it possible to be built easily? And that would be a 'no' (as of this writing) since you have already seen by running build/run.sh. So it's not supported by K8s officially.
Which Intel virtualizaton techniques are necessary for Docker?
On a Linux system running on a Intel cpu, what Virtualization Technologies by Intel are necessary to fullfill the execution of a Docker container? E.g. there are VT-X, ...
Or is there no need of using such a technology because Docker is somehow different to existing virtualization solutions like VirtualBox. In this case, why is there no need?
None. Docker uses a completely different system - it's not running a virtual machine so much as a super chroot. See the question below:
Can I run Docker directly on a non VT-X machine (no Virtual Machine used)?
The tutorials that tell you you'll need VT-x are usually based on running docker in Windows (on Hyper-V) or in VirtualBox.
I was in the process of creating redhat based lxc in redhat host machine but lxc-create doesn't have any template for redhat. I like to know if there is any feasibility to create redhat lxc in redhat host machine.I have also read about virsh and docker. Virsh is used for host based containers but will it be isolated similar to LXC and have anyone had experience about it. I'm confused whether i can configure separate filesystems and network interface for each container in virsh. Please help me with best solution. Thanks in advance.
The Docker Hub is full of images that can be used with LXC (including redhat images). You can use dlrootfs to download the redhat image directly from the Docker Hub and then use it with LXC.
Hope that helps