Troubleshooting: None-standard Kubelet directory
Applicable versions
All Longhorn versions.
All Longhorn versions.
All Longhorn versions.
Recurring job does not create new jobs when the volume is attached after being detached for a long time.
According to Kubernetes CronJob limitations:
For every CronJob, the CronJob Controller checks how many schedules it missed in the duration from its last scheduled time until now. If there are more than 100 missed schedules, then it does not start the job and logs the error
Cannot determine if job needs to be started. Too many missed start time (> 100). Set or decrease .spec.startingDeadlineSeconds or check clock skew.
That means the duration of the attach/detach operation that the recurring job can tolerate is depending on the scheduled interval.
For example, if the recurring backup job is set to run every minute, then the toleration would be 100 minutes.
All Longhorn versions with Traefik 2.x as ingress controller.
Note that, the CORS problem would not happen with Traefik 1.x as ingress controller.
The Longhorn GUI frontend API requests sometimes failed to reach longhorn-manager backend.
The API requests would change the protocol between HTTPS/WSS, and the change would lead to a CORS problem.
All Longhorn versions.
Not able to create the support bundle with a web browser.
NodePort
, you can also export via load balancer if one is set up.
ip-172-30-0-21:~ # kubectl -n longhorn-system patch svc longhorn-backend -p '{"spec": {"type":"NodePort"}}'
service/longhorn-backend patched
ip-172-30-0-21:~ # kubectl -n longhorn-system get svc/longhorn-backend
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
longhorn-backend NodePort 10.43.136.157 <none> 9500:32595/TCP 156m