我在Pod A中部署了一个应用程序,在Pod B中部署了另一个应用程序
apiVersion: v1
kind: Service
metadata:
name: product
spec:
type: ClusterIP
ports:
- port: 80
targetPort: 80
protocol: TCP
name: http
selector:
app: product-api
apiVersion: v1
kind: Service
metadata:
name: webbff
spec:
type: ClusterIP
ports:
- port: 80
targetPort: 80
protocol: TCP
name: http
selector:
app: webbff-api
在webbff服务中,我已经写了URL http://product来访问产品服务。但是我无法访问