diff --git a/content/kubernetes/reference/db-options.md b/content/kubernetes/reference/db-options.md index 7ea16eda527..330443e283f 100644 --- a/content/kubernetes/reference/db-options.md +++ b/content/kubernetes/reference/db-options.md @@ -15,6 +15,16 @@ aliases: [ The database options are specified in the `spec` section of the database custom resource. These options include options that you can change and options that are created by the controller for applications or developers. For example, the database connection information is stored in a secret. +### `databasePort` + +Manually sets the TCP port on which the database is available. If the port number is not specified, it will be automatically generated. + +{{}} +`databasePort` cannot be added, removed, or changed after database creation. +{{}} + +If the admission controller is installed and configured, it will run validity checks before the REDB creation. If the port is not available, you'll get an error for "port is unavailable." If the port is not valid, you'll get an error for "change databasePort is not allowed." + ### `databaseSecretName` A string containing the name of a secret that contains the desired database password.