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

Create a operations manager for CrateKube-managed resources #62

Open
pdgrenon opened this issue May 29, 2020 · 1 comment · May be fixed by cratekube/operations-service#4
Open

Create a operations manager for CrateKube-managed resources #62

pdgrenon opened this issue May 29, 2020 · 1 comment · May be fixed by cratekube/operations-service#4
Assignees

Comments

@pdgrenon
Copy link
Contributor

pdgrenon commented May 29, 2020

Problem to solve

CrateKube's one-click cloud provisioning only covers the operations cluster. Without an end-to-end solution, the customer would need to:

  1. Use CrateKube automation to spin up the management cluster
  2. Manually execute API calls to the cloud management service to create AWS hardware
  3. Manually execute API calls to the cluster management service to create a Kubernetes cluster

Because steps 2 and 3 are manual, the customer needs to have knowledge of our system to reach the end goal of using a Kubernetes cluster.

Proposal

We should use the design created in #55 to implement a service that automates the creation of a Kubernetes cluster for users of CrateKube.

During the initial bootstrap of the platform, this service will need to leverage the cloud management and cluster management services to automate the creation of a "customer" Kubernetes cluster where a user of CrateKube could run workloads. After the initial bootstrap, the operations management service should coordinate between the cluster and cloud management services to provide the ability to create or delete a cluster with a single API call.

Intended users

This service will be a core component of the CrateKube system. It will be used by all users who adopt the full platform, and will provide the primary interaction point for users.

Further details

None.

Permissions and Security

As with all management services, we need to ensure that we do not expose any secrets or internal data. Additionally, we will need authentication/authorization around this service to ensure that users are permitted to execute potentially harmful/costly operations such as:

  • Creating new AWS hosts
  • Deleting existing clusters

Documentation

This service will need a README for now. Eventually, this service will need documentation in the CrateKube user docs.

How can we measure success?

N/A

When is this feature complete?

This feature is complete when:

  • A usable Kubernetes cluster is created during CrateKube bootstrapping
  • The operations management service can create Kubernetes clusters and all required AWS resources from scratch with a single API call
  • The operations management service can delete Kubernetes clusters and all associated AWS resources with a single API call
  • Tests exist for the implementation of the operations management service

Links / references

None.

@danielfoglio
Copy link
Contributor

blocked by cratekube/cloud-mgmt-service#37

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

Successfully merging a pull request may close this issue.

2 participants