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

ilia987

Active Member
Sep 9, 2019
275
13
38
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:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!