unikraft services
unikraft services edit
Edit a service group.
Codeunikraft services edit <target> [flags]
Examples
Add a new service port:
Codeunikraft service edit demo-service --service 8443:8080/tls
Options
Code--add <name>=<value> Key-value pairs to add to the service. --add-file <name>=<filename> Files containing key-value pairs to add to the service. --autokill <key>=<value> Autokill options. time: time the group must stay empty before it is deleted --cmd CMD Run a command to edit fields (receives YAML on stdin, outputs edited YAML on stdout). --del <name>=<value> Keys to delete from the service. --del-file <name>=<filename> Files containing keys to delete from the service. --domain fqdn Service domain. --dry-run Print patches without applying them. -f, --field FIELD Specify which fields to include in the output. --hard-limit n Hard limit. --load LOAD Load fields from a YAML file. -o, --output OUTPUT Output format. One of: kv, table, json, yaml, raw, quiet, template. --save FILE Save editable fields as YAML to a file (use - for stdout). --service <src>:<dest>[/<handlers>] Service port. --set <name>=<value> Key-value pairs to set on the service. --set-file <name>=<filename> Files containing key-value pairs to set on the service. --soft-limit n Soft limit. --visual Open an editor to modify fields visually.
Options inherited from parent commands
Code--config file Path to the configuration file. --log-level level Set the logging level. (default info) --log-type type Set the log type. (default text) --profile name Set the current profile. --telemetry Toggle usage analytics. (default true) --timeout duration Set a deadline for the command (e.g. 30s, 5m, 1h).
See Also
unikraft services: Manage Unikraft Cloud services.
Last modified on