Update database
Written by
Updated at July 24, 2026
Once a ClickHouse® database is created, you cannot change any of the spec fields.
Using the CLI
- Get the list of databases in the project:
kubectl get clickhousedatabase -n <project_name>. - View the current configuration:
kubectl get clickhousedatabase <resource_name> -n <project_name> -o yaml.
To change a comment or database name, delete the resource and create a new one.
Using the management console
- If you have not opened a project yet, select one.
- In the left-hand menu, select ClickHouse® Clusters.
- Select a cluster.
- Navigate to the Databases tab.
- Click the database name to open its card. To view the resource manifest, go to the YAML tab.
After you create a comment, it cannot be edited. To specify a different comment, delete the database and create a new one with a new value in the Comment field.