Configuration CLI#

Use osmo config show to inspect the configuration currently loaded by the service. It is the only command under osmo config in 6.4.

Configuration management#

OSMO 6.4 loads service configuration from a validated ConfigMap snapshot. To change configuration, update the unified chart’s configuration Helm values and redeploy through your deployment workflow. Use GitOps for change history, diffs, and rollbacks. Configuration changes take effect as replacement pods start; a read during a rollout reflects the snapshot loaded by the responding API pod.

The former update, set, delete, list, history, diff, rollback, and tag commands, and TYPE:revision syntax, are removed. To list current objects of a type, use commands such as osmo config show POOL or osmo config show ROLE.

Supported configuration types#

show accepts SERVICE, WORKFLOW, BACKEND, POOL, POD_TEMPLATE, GROUP_TEMPLATE, RESOURCE_VALIDATION, BACKEND_TEST, and ROLE. Optional names and indices select nested values. For pools, --verbose includes resolved pod templates, group templates, and resource validations.

osmo config show#

Show the current GitOps-managed configuration

usage: osmo config show [-h] [--verbose] config_type [names ...]

Positional Arguments#

config_type#

Possible choices: BACKEND, BACKEND_TEST, GROUP_TEMPLATE, POD_TEMPLATE, POOL, RESOURCE_VALIDATION, ROLE, SERVICE, WORKFLOW

Current config to show in format <CONFIG_TYPE>; revisions are retired in 6.4

names#

Optional names/indices to index into the config. Can be used to show a named config.

Named Arguments#

--verbose, -v#

Show verbose output including parsed pod templates, group templates, and resource validations. Only applicable when CONFIG_TYPE is POOL.

Default: False

Available config types (CONFIG_TYPE): BACKEND, BACKEND_TEST, GROUP_TEMPLATE, POD_TEMPLATE, POOL, RESOURCE_VALIDATION, ROLE, SERVICE, WORKFLOW

Examples#

Show a service configuration in JSON format:

osmo config show SERVICE

Show the default_cpu resource validation rule:

osmo config show RESOURCE_VALIDATION default_cpu

Show a pool configuration with parsed pod templates, group templates, and resource validations:

osmo config show POOL --verbose

osmo config show POOL my-pool --verbose