Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Query-Interface/cflite

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CFLite

Goal

In this project, I want to study how a PaaS like Cloud Foundry can be implemented to be deployed in Kubernetes. It will allow to put in practice my learnings on k8s and give some answers to questions regarding k8s in regards to Cloud Foundry which I often use.

For a real project, have a look at The Cloud Foundry for Kubernetes that have been announced recently.

Some details

In the scope of this project, I plan to reuse the Cloud Foundry CLI to upload an application to the Kubernetes cluster, compile the source and create a Docker image. This image will be pushed into a private registry. Then the a deployment will be created to deploy this image and it will be exposed with a service.

Cloud foundry architecture diagram

List of components that will be developed:

  • minimal UAA components to create a valid auth token
  • some cloud controller features to respond to supported cf cli command
  • blob store to store application code packages
  • diego cells equivalent will be implement using buildpacks.io and k8s features
  • services will be implemented to allow developers to provision and bind a service to an application. For example, a database service may be provided
  • for observality an equivalent of the loggregator and metrics collector will be developed.

Cli commands to support:

  • login: provide an authentication token
  • organizations: list of organizations
  • spaces: list of spaces
  • apps: list of application
  • app: detail on an application
  • push: deploy an application
  • start: start an application
  • stop: stop an application
  • logs: display logs of an application
  • service: bind a service to an application

Current development state and plans

  • REST APIs for UAA and Cloud Controller to respond to CF cli commands: api, login, organizations, spaces (some with mocked repsonses)
  • kpack will be used to compile code with buidpacks.io
  • minio will be used as blob storage

About

mimiking cf on k8s

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.