我正在尝试安装带舵手。
安装崩溃是因为端口30777已经在集群上繁忙:
Error: INSTALLATION FAILED: Service "portainer" is invalid: spec.ports[0].nodePort: Invalid value: 30777: provided port is already allocated因此,我运行以下命令来覆盖端口值:
helm install -n sandbox-guiops portainer portainer/portainer --set spec.ports[0].nodePort=40777但无论如何,我还是会犯同样的错误。
我猜想这是因为我没有正确地调用参数"nodePort“,但还是这样:
helm show values portainer/portainer | grep -i port
# Default values for portainer.
repository: portainer/portainer-ee
repository: portainer/portainer-ce
name: portainer-sa-clusteradmin
# Set the httpNodePort and edgeNodePort only if the type is NodePort
type: NodePort
httpPort: 9000
httpsPort: 9443
httpNodePort: 30777
httpsNodePort: 30779
edgePort: 8000
edgeNodePort: 30776无论我使用"httpNodePort“还是其他任何东西,无论发生什么,我仍然会收到相同的错误消息。
发布于 2021-12-07 18:57:34
https://stackoverflow.com/questions/70264749
复制相似问题