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

PoC - Migrate Service Catalog from api-server to CRD #2610

Closed
PK85 opened this issue Feb 6, 2019 · 1 comment
Closed

PoC - Migrate Service Catalog from api-server to CRD #2610

PK85 opened this issue Feb 6, 2019 · 1 comment
Assignees
Labels
area/service-management Issues or PRs related to service management Epic kind/feature Categorizes issue or PR as related to a new feature.

Comments

@PK85
Copy link
Contributor

PK85 commented Feb 6, 2019

Description

When the Service Catalog project was started, Kubernetes didn’t have the concept of Custom Resource Definitions (CRDs), which is a way to extend the Kubernetes API without having to write your own API server.

The Service Catalog, instead, implements an aggregated API server, which requires writing an API server from scratch and maintaining its code. Using CRDs would allow the Service Catalog to only own the Controller implementation and to benefit from the implementation improvements of the general API machinery and the CRDs tools.

As the service catalog roadmap towards 1.0.0 includes a point about using CRDs instead of api-server we'd like to implement that change and remove custom api-server and etcd.

Reasons

  • We and other entities using Service Catalog facing issues with crashing often api-server, controller components also caused by etcd default configuration which doesn't fit a requested usage from controller. When etcd is down, api-server is down, all service catalog CRD and CR instances disappear. Then for example, we are able to delete a given namespace and when api-server is back we see have a state where for example service instances are assigned to not existing namespace (previously deleted)
  • As the k8s community going towards CRDs only as a way to expose k8s APIs

Acceptance Criteria

Attachments

@PK85 PK85 added kind/feature Categorizes issue or PR as related to a new feature. area/service-management Issues or PRs related to service management labels Feb 6, 2019
@PK85 PK85 added this to the Sprint_Gopher_11 milestone Feb 6, 2019
@PK85 PK85 added the Epic label Feb 11, 2019
@adamwalach
Copy link
Contributor

adamwalach commented Feb 20, 2019

Status update:

@mszostok mszostok assigned adamwalach and mszostok and unassigned adamwalach and mszostok Feb 22, 2019
@klaudiagrz klaudiagrz modified the milestones: Sprint_Gopher_11, Sprint_Gopher_12 Feb 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/service-management Issues or PRs related to service management Epic kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

4 participants