Add service list to magnum
Add "magnum service-list" to magnum so that user can check all service status in magnum for trouble shooting. Note that Service resources are used for the Kubernetes bay type. Services are Kubernetes' way of routing IP connections from clients to pools of containers in pods.
Blueprint information
- Status:
- Complete
- Approver:
- Adrian Otto
- Priority:
- Medium
- Drafter:
- Guangya Liu (Jay Lau)
- Direction:
- Approved
- Assignee:
- Surojit Pathak
- Definition:
- Approved
- Series goal:
- Accepted for liberty
- Implementation:
- Implemented
- Milestone target:
- liberty-2
- Started by
- Surojit Pathak
- Completed by
- Surojit Pathak
Related branches
Related bugs
Sprints
Whiteboard
------- suro-patz 09/04/2015
As per the last conclusion on this, following are the breakdowns of the work -
1. Move existing service-* commands to coe-service-* (WIP)
https:/
2. Update documentation for 'magnum coe-service-*'
https:/
3. Implement backend support for service model
https:/
4. Implement API layer support for the same
https:/
5. Implement CLI for 'magnum service-list' modelling after 'nova service-list'
https:/
6. Update documentation for 'magnum service-list'
https:/
------- suro-patz 09/04/2015
My original thinking is want to add "magnum service-list" to show the status of magnum-api and magnum-conductor just like other projects such as "nova service-list" etc. But now the command line "magnum service-list" will show k8s service list, is it possible that we change all commands related to k8s as "magnum k8s-service-list", "magnum k8s-pod-list", "magnum pod-rc-list" etc so as to distinguish with "magnum service-list" which want to list the status of all magnum related services? --jay-lau-513 2015-07-06513 2015-07-06
In Vancouver summit, it was concluded to have support for native clients. Do we need these set of commands (magnum k8s-*-list), any more? Would it not be sufficient enough to expose the service endpoints and use the native tool using with the service end-points? -- suro-patz 2015-07-09
Thanks Suro. I recalled that we should support both: via endpoint and magnum, you can also refer to https:/
------------
Thanks Jay! 'magnum service-list' [And so do pod/rc-list] is actually independent of the COE, at this moment, as it fetches the list/details from the backend DB[1]. Are you proposing to change this behavior and provide per-COE-
- suro-patz 2015-07-20
[1] - https:/
------------
----------- update by suro-patz on 2015-08-04
As we discussed over the ML[A], the requirement boils down to following -
1. 'magnum service-list' should change to 'magnum coe-service-list'.
2. 'magnum service-list' should be implemented after the model of 'nova service-list'
[A] - http://
-----------
Gerrit topic: https:/
Addressed by: https:/
Doc update for 'magnum coe-service-*'
Gerrit topic: https:/
Addressed by: https:/
Backend support for magnum service healthcheck
Gerrit topic: https:/
Addressed by: https:/
Documentation update for 'magnum service-list'
Gerrit topic: https:/
Addressed by: https:/
Adding API support for magnum service