Open
Description
atest
could install as a Linux or macOS service according to the OS until v0.0.12. See also the following output. See the code lines of this sub-command
# atest service
Error: not support action: ''
Usage:
atest service [flags]
Aliases:
service, s
Flags:
-a, --action string The action of service, support actions: install, start, stop, restart, status
-h, --help help for service
--script-path string The service script file path
atest
could run in Docker or Kubernetes as well. So, it's good to support installing in Docker and Kubernetes. You could find the Kubernetes manifest files.
In order to specify the target environment, we could add a new flag --target
. For example:
atest service install --target (os | docker | kubernetes)
Considering the compatibility, we could make the default value of --target
to be os
.