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

ubuntu22安装报错:Could not find the requested service firewalld: host #86

Open
RelaxAndNotIndulge opened this issue Jun 27, 2023 · 3 comments

Comments

@RelaxAndNotIndulge
Copy link

image

@mayou33
Copy link

mayou33 commented Jul 31, 2023

我遇到同样问题

@mayou33
Copy link

mayou33 commented Jul 31, 2023

ubuntu系统先安装apt-get install firewalld -y 然后在重新安装k8s集群。

@mayou33
Copy link

mayou33 commented Jul 31, 2023

或者修改 /data/resource/spray-v2.21.0c_k8s-v1.26.4_v4.4-amd64/content/3rd/kubespray/contrib/os-services/roles/prepare/tasks/main.yml
删除

  • name: Disable service firewalld
    systemd:
    name: firewalld
    state: stopped
    enabled: no
    when:
    "'firewalld.service' in services"

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

2 participants