An open API service indexing awesome lists of open source software.

https://github.com/salaboy/s1p_gateway

SpringOne 2018: Gateway
https://github.com/salaboy/s1p_gateway

docker helm java kubernetes spring-boot spring-cloud

Last synced: about 2 months ago
JSON representation

SpringOne 2018: Gateway

Awesome Lists containing this project

README

        

# S1P :: Gateway
Based on the new Spring Cloud Gateway, configured to use the Spring Cloud Kubernetes Discovery and Config modules to automatically register routes to (k8s) services matching with the following SPEL Filter:
**metadata.labels['s1p'] = true**

Only if the services contain this label will be automatically registered and the gateway will forward requests to them.

```

org.springframework.cloud
spring-cloud-starter-gateway


org.springframework.cloud
spring-cloud-kubernetes-discovery


org.springframework.cloud
spring-cloud-kubernetes-config

```

You can also find inside the [charts/s1p-gateway/templates](charts/s1p-gateway/templates) directory the descriptors
needed to deploy this gateway and to grant access to the Kubernetes APIs. The Role, RoleBinding and Services accounts
are configured to enable the deployed container to access the Kubernetes APIs from inside a Pod.