Closed delucca closed 2 years ago
The log indicated that systemctl managed cache builder cannot find the right kubeconfig (which located at ~/.kube/config
).
cache_builder support setting kubeconfig by flag
So just set the absolute path to the kubeconfig file as param will be fine. Make sure that file's permission is correct and readable.
There's an example on how to use kubectl-fzf as a systemd service now https://github.com/bonnefoa/kubectl-fzf#install-kubectl-fzf-server-as-a-systemd-service kubectl-fzf now only relies on KUBECONFIG to look for the correct kubeconfig file.
Hi!
I'm trying to add
cache_builder
as a startup service on my computer, but I get the following error onsystemctl
status:Any idea on how to fix it? It apppears that it is trying to use a different user upon startup. Also, when I run this as a normal command after startup, it works as expected.