Closed MirzaMerdovic closed 5 years ago
I am just a fellow user of Ambassador but check your service selector and verify it to your pod’s label, they do not match.
@Baykonur thanks a bunch! I was blind, fixing the selector.app to selector.name works.
Closing this, sorry for spamming.
Hi,
Goal
I'd like avoid using NodePort configuration for every gRPC service I have hosted on Kubernetes, so I am trying to configure the Amabassador (Kubernetes service type=NodePort) as an gateway and that way I will only have one port value to take care of.
Problem
I am receiving error: 'Status(StatusCode=Unavailable, Detail="upstream request timeout")' when I try to consume gRCP service hosted in local Kubernetes setup. When I just expose the k8s service with "NodePort" everything works fine.
On K8s dashboars when I go to Ambassador pods logs all I can find is this:
So I am not sure where I have the problem: Ambassador, Kubernetes or somewhere else.
Setup
Kuberentes (kubectl v1.13) install through Docker for Windows. Ambassador installed following the official guide gRCP services are code in C# .NET Core 2.0 and are running in Linux containers
YAML Configurations
Pod:
Service:
I apologize if this is not a correct place to write this kind of inquiry in that case please direct me to a proper channel and just delete this. I thought about going to gitter but it felt to hard to explain my problem on a general chat :/
Thanks!