对于下面的 tolerations,taints 该如何配置?这是在 k8s 集群 GPU 节点上部署 ollama 时遇到的一个问题
tolerations: - effect: NoSchedule key: nvidia.com/gpu operator: Exists
微信里点“发现”,扫一下
二维码便可将本文分享至朋友圈。
下面这样就可以了
kubectl taint nodes kube-gpu-8c31g nvidia.com/gpu=:NoSchedule