gpt4 book ai didi

kubernetes - Minikube无法启动-> pgrep kube-api

转载 作者:行者123 更新时间:2023-12-02 11:36:50 25 4
gpt4 key购买 nike

我正在与kubernetes和minukube一起在我的机器上本地运行集群,但是我遇到了这个错误:

W1118 20:54:48.711968 14383 kubeadm.go:502] pgrep apiserver: command failed: sudo pgrep kube-apiserver
stdout:
stderr: : exit status 1 cmd: sudo pgrep kube-apiserver
I1118 20:54:49.012735 14383 exec_runner.go:42] (ExecRunner) Run: sudo pgrep kube-apiserver
I1118 20:54:49.041602 14383 exec_runner.go:74] (ExecRunner) Non-zero exit: sudo pgrep kube-apiserver: exit status 1 (28.808764ms)
W1118 20:54:49.041655 14383 kubeadm.go:502] pgrep apiserver: command failed: sudo pgrep kube-apiserver
stdout:
stderr: : exit status 1 cmd: sudo pgrep kube-apiserver
I1118 20:54:49.332086 14383 exec_runner.go:42] (ExecRunner) Run: sudo pgrep kube-apiserver
I1118 20:54:49.354256 14383 exec_runner.go:74] (ExecRunner) Non-zero exit: sudo pgrep kube-apiserver: exit status 1 (22.079013ms)
W1118 20:54:49.354306 14383 kubeadm.go:502] pgrep apiserver: command failed: sudo pgrep kube-apiserver
stdout:
stderr: : exit status 1 cmd: sudo pgrep kube-apiserver
I1118 20:54:49.612700 14383 exec_runner.go:42] (ExecRunner) Run: sudo pgrep kube-apiserver
I1118 20:54:49.630745 14383 exec_runner.go:74] (ExecRunner) Non-zero exit: sudo pgrep kube-apiserver: exit status 1 (17.984732ms)
W1118 20:54:49.630837 14383 kubeadm.go:502] pgrep apiserver: command failed: sudo pgrep kube-apiserver

我正在对此进行调查,但没有发现任何相关信息。

最佳答案

使用您提供的信息,检查主机配置,因为它看起来需要权限,然后运行以下命令:

echo "1" >/proc/sys/net/bridge/bridge-nf-call-iptables
这修改了您的OS以启用桥接 call

关于kubernetes - Minikube无法启动-> pgrep kube-api,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59097686/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com