Issue installing kubernetes on lxc - No such file or directory: '/lib/modules/5.15.39-2-pve/modules.builtin

ilia987

Well-Known Member
Sep 9, 2019
281
14
58
37
i am trying to play around with kubernetes based on the following tutorial

https://towardsdatascience.com/deploy-a-production-ready-on-premise-kubernetes-cluster-36a5d62a2109

i received the following error as part of the installation

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: FileNotFoundError: [Errno 2] No such file or directory: '/lib/modules/5.15.39-2-pve/modules.builtin'
fatal: [node11]: FAILED! => {"changed": false, "msg": "[Errno 2] No such file or directory: '/lib/modules/5.15.39-2-pve/modules.builtin'", "name": "dummy", "params": "numdummies=0", "state": "present"}

Code:
- name: Check dummy module
  modprobe:
    name: dummy
    state: present
    params: 'numdummies=0'
  when: enable_nodelocaldns



lxc is clean ubuntu 22.04.
proxmox host is 7.2
 
Last edited: