envoy gateway gatewayClass

 

Envoy gateway supports one GatewayClass (one load balancer per K8s) but sometimes there could be more scenario where you have more than one GatewayClass - 2 or more load balancer) then you might need to instantiate that in a namespace. 

Troubleshooting gateway issues

kubectl get gatewayclass 

If your gatewayclass works correctly, then its column "Accepted" would be true - as shown below. My Product gatewayClass has issue as it has a status "Unknown".



Also you can do a kubectl logs on the envoy proxy controller in the envoy-gateway-system. It should shows a huge bunch of logs about reconciling gateway classes. 

In my scenario, I have multiple gateway class.

If you do a kubectl get gateway  -A, you should see PROGRAMMED = true if your gateway is running correctly. 

Since I created another gateway class in marketing namespace, it also create a Load Balancer service and if you look at the diagram above, i have it bind to localhost:8080.  So all I need to do is to hit  the following url 

curl --verbose --header "Host: www.marketing.example.com" http://localhost:8080/get



 


Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm