spring-attic / spring-cloud-kubernetes-connector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spring-cloud-kubernetes-connector is no longer actively maintained by VMware, Inc.

Spring Cloud Connector for Kubernetes

Build Status

The Spring Cloud Connector project provides an abstraction to discover services at runtime and register them as Spring beans.

This project provides support to discover Redis and RabbitMQ servers running on Kubernetes. The mechanism by which it performs the discovery is to look for a Kubernetes service whose name is redis or rabbitmq along with a label that has a key named spirng-cloud-service. Here is an example taken from the redis-service.yml definition used in the Spring Cloud DataFlow Kubernetes getting started project.

metadata:
  name: redis
  labels:
    spring-cloud-service: redis

A standard kubernetes style service discovery mechanism, that does not require the use of labels is an open issue.

Building

./mvnw clean package

About

License:Apache License 2.0


Languages

Language:Java 100.0%