HC
Но этот же сервис крутиться в другом энве (без Istio) и на обычный "curl —http2" отвечает без проблем.
Size: a a a
HC
HC
AS
HC
HC
HC
AS
apiVersion: v1
kind: Namespace
metadata:
labels:
istio-injection: enabled
name: grpcbin
---
apiVersion: v1
kind: Service
metadata:
name: grpcbin
namespace: grpcbin
labels:
app: grpcbin
spec:
ports:
- name: grpc
port: 82
targetPort: 9000
selector:
app: grpcbin
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: grpcbin
namespace: grpcbin
spec:
replicas: 2
template:
metadata:
annotations:
sidecar.istio.io/inject: "true"
labels:
app: grpcbin
version: v1
spec:
containers:
- image: moul/grpcbin
imagePullPolicy: IfNotPresent
name: grpcbin
ports:
- containerPort: 9000
name: grpc
---
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: grpcbin-gateway
namespace: grpcbin
spec:
selector:
istio: ingressgateway
servers:
- port:
number: 82
name: grpc
protocol: GRPC
hosts:
- "*"
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: grpcbin
namespace: grpcbin
spec:
hosts:
- "grpcbin.dev.mesh.mydomain.ru"
gateways:
- grpcbin-gateway
http:
- match:
route:
- destination:
host: grpcbin
port:
number: 82
HC
$ grpcurl -plaintext pod_ip:9000 list
addsvc.Add
grpc.gateway.examples.examplepb.ABitOfEverythingService
grpc.reflection.v1alpha.ServerReflection
grpcbin.GRPCBin
hello.HelloService
HC
HC
HC
$ grpcurl -plaintext pod_ip:9000 list
addsvc.Add
grpc.gateway.examples.examplepb.ABitOfEverythingService
grpc.reflection.v1alpha.ServerReflection
grpcbin.GRPCBin
hello.HelloService
HC
HC