Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Meta] Investigate adding CF-compat API to Steward #27

Closed
slack opened this issue Aug 1, 2016 · 7 comments
Closed

[Meta] Investigate adding CF-compat API to Steward #27

slack opened this issue Aug 1, 2016 · 7 comments

Comments

@slack
Copy link
Member

slack commented Aug 1, 2016

In this instance, Steward would be registered as to a CF cloud controller as a broker. Which would let Steward expose Kubernetes-native services back out to a CF consumer.

@arschles
Copy link
Member

arschles commented Aug 1, 2016

A few considerations:

  • Since each running steward can service a subset of the cluster-global catalog, each will return their own serviceable subset
  • As a result of the previous, stewards cannot be run behind a k8s service, as each request will be routed to a random steward

@arschles
Copy link
Member

arschles commented Aug 2, 2016

Issue for the provisioning API: #28

@arschles
Copy link
Member

arschles commented Aug 2, 2016

Issue for binding API: #31

@arschles
Copy link
Member

arschles commented Aug 2, 2016

Issue for listing steward IPs in the service catalog: #32

@arschles arschles changed the title Investigate adding CF-compat API to Steward [Meta] Investigate adding CF-compat API to Steward Aug 2, 2016
@arschles
Copy link
Member

arschles commented Aug 5, 2016

@slack three of the four bullet points in the PR description are complete. However, I want to get more details on the meaning of this one: Would expose all ServicePlans found in namespaces it was watching

Currently, steward does the below steps on startup. Do these fulfill the requirements in that bullet point? :

  • Calls /v2/catalog on the backing CF broker
  • Converts the response to a list of ServiceCatalogEntrys (ServiceCatalogEntry is the 3PR representing the catalog)
  • Writes each ServiceCatalogEntry into the steward namespace

Note that steward does not currently watch any namespaces until #17 and related issues are resolved.

@slack
Copy link
Member Author

slack commented Aug 8, 2016

That was covering the scenario where an SB client is talking to a steward in CF mode. The CF-mode steward's /v2/catalog response would be a collection of all of the ServicePlans 3PRs that the Steward could "see". That deployment scenario would expose all of the services currently registered in the cluster to a consumer off-cluster.

Our proxy mode is subtly different, and I think we can strike that requirement.

@arschles
Copy link
Member

This has been finished by all PRs referenced herein

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants