nais postgres update

nais postgres update POSTGRES [flags]

Compare configured values with the requested changes before updating provided fields. Current resource values are configured requests, not effective runtime resources or SQL readiness. A subsequent nais apply may overwrite API updates on manifest-managed Postgres.

Options

--cpu
Requested CPU, e.g. 100m.
--disk-size
Requested disk size, e.g. 10Gi.
--high-availability
Enable or disable high availability (true or false).
--memory
Requested memory, e.g. 512Mi.
-y, --yes
Confirm without a prompt.

Inherited options

--config
Specify the PATH to the configuration file.
-e, --environment
Specify the ENVIRONMENT to use for this command. Overrides the default environment from configuration.
--no-colors
Disable colors in the output.
-t, --team
Specify the TEAM to use for this command. Overrides the default team from configuration.
-v, --verbose
Set verbosity level. Use -v for verbose, -vv for debug, -vvv for trace.

Examples

# Change requested CPU and memory.
$ nais postgres update my-postgres -t my-team -e dev-gcp --cpu 200m --memory 1Gi

# Disable high availability.
$ nais postgres update my-postgres -t my-team -e dev-gcp --high-availability false