-
Notifications
You must be signed in to change notification settings - Fork 382
Binding to an existing resource #2789
Comments
I think what you're describing is a "user-provided" service. User-provided services are a concept that originated in the Cloud Foundry world and essentially allow a user to bind to a "external" service instance (i.e. an instance that has not been explicitely provisioned through the marketplace / service-catalog). For the case you're describing you would provision a database for the prod and dev environmnet through service-catalog, then create a user-provided service to be able to access the dev database from the test environment. AFAIK there's no way to do this built into service-catalog, but it does come with the ups-broker. In theory you could deploy the For example:
However it seems like the ups-broker is only used for testing inside the service-catalog repo, so I'm not sure if it would be suitable for use in "real world" deployments. |
Hi There was an idea to replace the ups-broker with a built-in functionality in Service Catalog: #2189 Unfortunately it wasn't implemented but if you are interested then the pull-request is more than welcome 👍 AFAIK currently the ups-broker is the only way, am I right @jberkhahn? |
I wish I had the skills! My Go is very poor. Is there any documentation or code for the ups-broker? I can't seem to find it. |
the docs for the ups-broker are in the chart dir: https://github.com/kubernetes-sigs/service-catalog/tree/master/charts/ups-broker the code for the ups broker is in the contrib dir: https://github.com/kubernetes-sigs/service-catalog/tree/master/contrib Note that the ups broker in it's current state is pretty much a toy, it's useful for testing purposes but I would not recommend using it in a production environment. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This is not a bug report, but a request for clarification.
It's often common to have several environments such as dev, test prod.
In this case, prod has a dedicated database, but dev and test share a single database.
I can use the Service Catalog to provision a database in prod and dev.
But how can I use the Service Catalog to bind the test environment to an existing database?
I tried to look into the docs, but I could find anything related to it.
Is there a property or object designed to bind to an existing resource in the cloud provider?
The text was updated successfully, but these errors were encountered: