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

Deployment events over websockets #21

Open
david-castaneda opened this issue Dec 8, 2020 · 1 comment
Open

Deployment events over websockets #21

david-castaneda opened this issue Dec 8, 2020 · 1 comment
Labels
enhancement New feature or request
Projects

Comments

@david-castaneda
Copy link
Member

david-castaneda commented Dec 8, 2020

Implement a solution for emitting deployment events over websockets.

It should emit events for the different steps of a deployment providing clients (ie. CLI) current deployment details via events.

There is a branch with an early implementation of emitting deployment events, most of the websocket part is done, the business logic is what needs to be defined

Example:

$ krane deploy -f ./deployment.json
Pulling biensupernice/soulector...
Creating 3 containers...
Starting 3 containers...
Checking containers health...
Deployment successfully completed
@david-castaneda david-castaneda added the enhancement New feature or request label Dec 8, 2020
@david-castaneda david-castaneda added this to To do in Krane via automation Dec 8, 2020
@david-castaneda
Copy link
Member Author

Implementation for event emitters can be found here https://github.com/krane/krane/blob/master/internal/deployment/events.go#L39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Krane
  
To do
Development

No branches or pull requests

1 participant