Skip to content

Extend restart feature #40

@dkrizic

Description

@dkrizic

We need to extend the restart feature. The goal is, that the deployment type and name is preconfigured using environment variables:

  • RESTART_ENABLED=true/false
  • RESTART_TYPE=deployment/statefulset/daemonset
  • RESTART_NAME=name_of_deployment

In the helm chart the values should be

service:
  restart:
    enabled: true
    type: deployment
    name: yasm-frontend

The gRPC interface should be extended with the following methods:

  • restart: Run the restart in the service
  • info: Get info about the service including the information if it is enabled and the name of the service, e.g. "yasm-frontend"

The ui should only display a single button named after the service.name and clicking this button simply calls the restart grpc method.

Also the CLI should have two new commands

  • info: Getting service info
  • restart: Restart the service (if enabled)

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions