matthewdresden
Cadet
- Joined
- Feb 6, 2024
- Messages
- 2
This solution is not working.I had the same problem. Originally, I thought this was because of the two IP addresses on the br0 interface, as I posted here: https://www.truenas.com/community/threads/kubernetes-service-is-not-running.107377/post-797886
Since the problem according to this post is due to k3s service starting before the bridge interface is up, I created an override for the k3s service: /etc/systemd/system/k3s.service.d/override.conf:
Code:[Unit] After=network-online.target
This was not sufficient and I actually had to specify the bridge interface (br0) in my case
Code:[Unit] After=network.target Requires=br0.device
I still had to do the Toggle GPU thing, because the interface does not reflect the actual status of the k3s service.
After the reboot, the k3s is running without issues.
Added the directory `/etc/systemd/system/k3s.service.d` which did not exist prior
Created the file `/etc/systemd/system/k3s.service.d/override.conf` with the content
```
[Unit]
After=network.target
Requires=br0.device
```
ran the following commands
```
systemctl daemon-reload
systemctl restart k3s
```
Rebooted and the still the same result