UPGRADE FAILED: cannot patch "keycloak-http" with kind Service: Service "keycloak-http" is invalid: [spec.ports[0].nodePort: Forbidden: may not be usedwhen `type` is 'ClusterIP', spec.
我可以用NodePort或LoadBalancer定义一个服务,但是当我尝试使用ClusterIP时,Terraform会给我这样的消息
Failed to update service: Service"hello-service" is invalid: spec.ports[0].nodePort: Forbidden: may not be usedwhen `type` is
,我应该能够在端口部分为服务types=NodePort或LoadBalancer指定"nodePort“:The port on each node on which thisservice is exposed whentype=NodePort or
LoadBalancer.Note that this Service will be visible as both <NodeIP>:spec.ports[*].<
然而,当我创建作为数据消费者的火花应用程序和作为生产者的卡夫卡,他们无法连接到卡夫卡service0。我使用minikube (而不是节点ip)作为主机和服务NodePort端口。Broker may not be available.Broker may not be available.Broker may not be available. type: NodePortdef kafkaParams() =