Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

k8s failed start. #205

Open
178884875 opened this issue Sep 12, 2022 · 4 comments
Open

k8s failed start. #205

178884875 opened this issue Sep 12, 2022 · 4 comments

Comments

@178884875
Copy link

No description provided.

@178884875
Copy link
Author

WIN10家庭版 一直提示k8s failed start. 镜像和容器都下载下来了。而且容器也在运行中。

@ghost
Copy link

ghost commented Oct 29, 2022

而且根本没有查看日志的地方,离谱。

@pangh-space
Copy link

pangh-space commented Oct 25, 2023 via email

@cjbgithub
Copy link

cjbgithub commented Oct 25, 2023

desktop4.24.2 Kubernetes: v1.27.2 通过配置 C:\Users\xxx\.wslconfig 后正常启动,配置内容如下:

# 需要wsl2版本
[wsl2]
# 设置内存,总内存的一半
memory=8GB
# 设置处理器,总线程为8线程
processors=4
# 设置交换空间,总内存的四分之一
swap=4GB

文件需要保存为 ANSI 格式,需要运行 wsl --shutdown 来关闭并重启,使得 wsl 配置生效

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants