在用戶命名空間中運行 kubelet 的 kubernetes 檔案https://kubernetes.io/docs/tasks/administer-cluster/kubelet-in-userns/中,要求之一是:
At least, the following directories need to be writable in the namespace (not outside the namespace):
/etc
如何在用戶命名空間中實作這一點?
uj5u.com熱心網友回復:
您參考的上述檔案部分解釋說:
取消共享用戶命名空間后,您還必須取消共享其他命名空間,例如掛載命名空間。
您不需要在取消共享掛載命名空間后呼叫
chroot()或呼叫,但是,您必須在命名空間中的多個目錄上掛載可寫檔案系統。pivot_root()
轉載請註明出處,本文鏈接:https://www.uj5u.com/ruanti/483212.html
