habitat icon indicating copy to clipboard operation
habitat copied to clipboard

`hab svc edit` command for manipulating a loaded service's Spec

Open reset opened this issue 6 years ago • 2 comments

When a service is loaded an operator is given the time to pass flags which will describe how the service behaves such as --topology, --strategy, and --bind. These flags are translated into a definition called a Service Spec which is then written to disk. We currently have no way of updating a Service Spec without completely restarting a service.

We should consider adding a hab svc edit <service> command which will allow an operator to modify the Service Spec to, for example, add or subtract a service bind or change the service's update strategy. We will need to be careful to ensure that any changes to the Service Spec do not cause the service to be restarted. We will want to avoid causing an outage by making these modifications.

This is especially required if a service updates and has a new required bind. This particular case relates to #5197.

reset avatar Jun 13 '18 23:06 reset

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.

stale[bot] avatar Apr 02 '20 22:04 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.

stale[bot] avatar Aug 13 '22 19:08 stale[bot]

This issue has been automatically closed after being stale for 400 days. We still value your input and contribution. Please re-open the issue if desired and leave a comment with details.

stale[bot] avatar May 22 '23 01:05 stale[bot]