0

I am trying to troubleshoot some features in my RKE2/K3S cluster and I suspect that the /etc/rancher/rke2/config.yaml

kube-apiserver-extra-mount:
  - "/opt/path:/opt/path"

did not update / apply but I don't know how to verify that. A kubectl describe on the pod or a cat /proc/mounts did not yield any good results (i.e. I didn't see the mount).

Am I doing something wrong or is the reason it does not show that it does not work?

I have restarted both the rke2 service and the api-server itself.

I have not tried mounting it in the api-server manifest.

Zanndorin
  • 360
  • 3
  • 15
  • As per the below github link comment, can you verify if the source and destination are updated correctly. [https://github.com/rancher/rke2/issues/1793\#issuecomment-1533236725](https://github.com/rancher/rke2/issues/1793#issuecomment-1533236725) .Also update the output(any error message if possible) for "kubectl describe pod" and "cat /proc/mounts" – Kiran Kotturi Aug 31 '23 at 11:37
  • I don't understand where in the link it would show me any way of verifying the src/dst are updated correctly. I don't get any error message if that is what you are asking. No error messages in describe pod or when running cat /proc/mounts. the expected path just isn't there. (Is it supposed to be there?) – Zanndorin Aug 31 '23 at 12:16
  • I am mounting directories if that was the question – Zanndorin Aug 31 '23 at 12:22

0 Answers0