Spring Cloud Kubernetes, Gateway Route Mapping Spring Cloud Kubernetes, Gateway Route Mapping kubernetes kubernetes

Spring Cloud Kubernetes, Gateway Route Mapping


I am Still working on fixing the Spring Cloud Gateway project of main but following has worked for me. I have configured the routes via Zuul so make sure your dependencies and configuration related to it matches :-

<dependencies>    <dependency>        <groupId>org.springframework.cloud</groupId>        <artifactId>spring-cloud-starter-netflix-zuul</artifactId>    </dependency>    <dependency>        <groupId>org.springframework.cloud</groupId>        <artifactId>spring-cloud-starter-kubernetes-all</artifactId>    </dependency>    <dependency>        <groupId>org.springframework.cloud</groupId>        <artifactId>spring-cloud-starter-sleuth</artifactId>    </dependency>**Config :: application.yaml ::**    zuul:      routes:        shopping-cart-service:          path: "/shopping-cart-service/**"        item-service:          path: "/item-service/**"