如果在OpenShift集群中部署了Trident、则不会为Windows节点创建Trident Pod
适用场景
- NetApp Astra Trident 24.06或24.10
- 具有Linux和Windows工作节点的RedHat OpenShift容器平台(OCP) 4.X
问题描述
- 在新的OpenShift集群中部署Trident时、不会在Windows工作节点中创建Trident Pod
- 在Trident节点-windows演示中的事件中可能会出现以下错误:
Error creating pods "trident-node-windows-" is forbbiden: unable to validate against any security context constraint: [spec.volumes[0]: Invalid value: "hostPath volumes are not allowed to be used, spec.volumes[2]: Invalid value: "hostPath": hostPath volumes are not allowed to be used, spec.volumes[3]: Invalid value: "hostPath" : hostPath volumes are not allowed to be used, spec.volumes[4]: Invalid value: "hostPath": hostPath volumes are not allowed to be used: spec.volumes[5]: Invalid value: "hostPath": hostPath volumes are not allowed to be used: spec.volumes[6]: Invalid value: "hostPath": hostPath volumes are not allowed to be used: spec.volumes[7]: Invalid value: "hostPath": hostPath volumes are not allowed to be used: spec.volumes[8]: Invalid value: "hostPath": hostPath volumes are not allowed to be used