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
- Host: GitHub
- URL: https://github.com/salaboy/s1p_gateway
- Owner: salaboy
- License: apache-2.0
- Created: 2018-08-20T09:13:42.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-11T13:59:05.000Z (about 6 years ago)
- Last Synced: 2025-03-24T22:43:03.263Z (2 months ago)
- Topics: docker, helm, java, kubernetes, spring-boot, spring-cloud
- Language: Makefile
- Size: 85 KB
- Stars: 47
- Watchers: 6
- Forks: 30
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.