romil
04/12/2022, 6:11 AMapiVersion: "v1"
kind: "Service"
metadata:
name: "spicedb"
labels:
app: "spicedb"
spec:
selector:
app: "spicedb"
type: "LoadBalancer"
ports:
- name: "grpc"
port: 50051
protocol: "TCP"
** targetPort: 50051
** - name: "internal"
port: 50053
protocol: "TCP"
targetPort: 50053
- name: "http"
port: 8443
protocol: "TCP"
targetPort: 8443
-------
spec:
dnsPolicy: "ClusterFirst"
restartPolicy: "Always"
terminationGracePeriodSeconds: 30
containers:
- name: "spicedb"
image: "quay.io/authzed/spicedb"
imagePullPolicy: "IfNotPresent"
command: ["spicedb", "serve"]
args:
- grpc-no-tls
- --http-enabled
- --dispatch-upstream-addr=kubernetes:///spicedb.authz:50051
------
I assume these are internal port that needs to be configured and not the one expose .
Any view why the error still coming ?