我尝试在 MacOS 12.1 M1 Silicon 上安装 hyperkit,但出现以下错误。
% brew install hyperkit
Error: hyperkit: no bottle available!
You can try to install from source with:
brew install --build-from-source hyperkit
Please note building from source is unsupported. You will encounter build
failures with some formulae. If you experience any issues please create pull
requests instead of asking for help on Homebrew's GitHub, Twitter or any other
official channels.
Run Code Online (Sandbox Code Playgroud)
经过一些研究,我发现与 M1 Silicon 处理器不兼容M1 兼容性问题。
有解决方法吗?
我想在 M1 Silicon 上设置 minishift,而 Hyperkit …
我在 macOS 上并使用minikube
驱动hyperkit
程序:minikube start --driver=hyperkit
一切似乎都很好......
和minikube status
:
minikube
type: Control Plane
host: Running
kubelet: Running
apiserver: Running
kubeconfig: Configured
Run Code Online (Sandbox Code Playgroud)
和minikube version
:
minikube version: v1.24.0
Run Code Online (Sandbox Code Playgroud)
和kubectl version
:
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.4", GitCommit:"b695d79d4f967c403a96986f1750a35eb75e75f1", GitTreeState:"clean", BuildDate:"2021-11-17T15:48:33Z", GoVersion:"go1.16.10", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.3", GitCommit:"c92036820499fedefec0f847e2054d824aea6cd1", GitTreeState:"clean", BuildDate:"2021-10-27T18:35:25Z", GoVersion:"go1.16.9", Compiler:"gc", Platform:"linux/amd64"}
Run Code Online (Sandbox Code Playgroud)
与kubectl get no
:
NAME STATUS ROLES AGE VERSION
minikube Ready control-plane,master 13m v1.22.3
Run Code Online (Sandbox Code Playgroud)
我的问题是当我部署任何东西时,它不会提取任何图像......
例如:
kubectl create deployment …
Run Code Online (Sandbox Code Playgroud) 如何列出从 hyperkit 启动的虚拟机?
hyperkit 帮助仅在下面:
hyperkit -h 11:25:45
Usage: hyperkit [-behuwxMACHPWY] [-c vcpus] [-F <pidfile>] [-g <gdb port>] [-l <lpc>]
[-m mem] [-p vcpu:hostcpu] [-s <pci>] [-U uuid] -f <fw>
-A: create ACPI tables
-c: # cpus (default 1)
-C: include guest memory in core file
-e: exit on unhandled I/O access
-f: firmware
-F: pidfile
-g: gdb port
-h: help
-H: vmexit from the guest on hlt
-l: LPC device configuration. Ex: -l com1,stdio -l com2,autopty -l com2,/dev/myownpty
-m: …
Run Code Online (Sandbox Code Playgroud)