kmachine | Docker machine variant to create a single node Kubernetes
kandi X-RAY | kmachine Summary
kandi X-RAY | kmachine Summary
kmachine lets you create Docker hosts on your computer, on cloud providers, and inside your own data center. It creates servers, installs Docker on them, then configures the Docker client to talk to them just like docker-machine. kmachine differs from Docker machine by also setting up a Kubernetes standalone system. Each component of Kubernetes are started as Docker containers. kmachine returns the configuration information necessary for kubectl to communicate to this remote k8s endpoint. The functionalities of docker-machine are preserved.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of kmachine
kmachine Key Features
kmachine Examples and Code Snippets
Community Discussions
Trending Discussions on kmachine
QUESTION
I'm trying to find the correct value for the KMACHINE
setting, defined as "The machine as known by the kernel."
When I manually configure the kernel (outside of Yocto) I do not enter a machine type. I do set ARCH=arm
, choose a "system type" config option like CONFIG_ARCH_LPC32XX=y
, or load a defconfig like lpc32xx_defconfig
but I don't know if any of those is what KMACHINE
is supposed to be.
As an example, the Yocto documentation gives intel-core2-32
which does not appear anywhere the Linux 5.15 sources.
ANSWER
Answered 2022-Jan-18 at 07:53KMACHINE
is used to select Yocto-specific metadata for building the kernel, and is not passed to the kernel build system. By default, it is set to ${MACHINE}
in kernel-yocto.bbclass
, and can be overridden if a machine does not need its own metadata selection, and can instead use an existing metadata.
There's a better description under LINUX_KERNEL_TYPE
in the manual (paraphrased):
The KMACHINE and LINUX_KERNEL_TYPE variables define the search arguments used by Yocto's kernel tools to find the appropriate description within Yocto's kernel metadata with which to build out the kernel sources and configuration.
This kernel metadata is maintained by the Yocto Project, in the yocto-kernel-cache
repository. It is optional, and is only used if the selected kernel recipe is a "linux-yocto" style recipe (i.e. it inherits linux-yocto.inc
).
If you're using an out-of-kernel-tree defconfig
to configure your kernel, it's unlikely you'll need Yocto's kernel metadata, and therefore don't need to override KMACHINE
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install kmachine
The build mechanism is identical to docker-machine, you need a Docker host and then:. or specify your OS and ARCH.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page