Modifying Volume Paths
Use the following instructions to modify volume paths for CCC and database components based on your deployment environment (Podman, Kubernetes, or Helm).
Ensure that all source and destination paths are valid, accessible, and appropriate for the target container or orchestration environment before applying the changes.
CCC Volume Paths
This section explains how to modify volume paths used by CCC across different deployment environments.
Podman Users
Use the following steps to modify CCC volume paths when deploying CCC using Podman.
Locate the ccc_config.env file in the Podman directory.
Open the ccc_config.env file for editing.
Locate the CCC_BASE_DIR variable.
Update the value of CCC_BASE_DIR to reflect the desired base directory for CCC volumes.
Save the changes to the ccc_config.env file.
Restart the Podman containers to apply the updated configuration.
Kubernetes Users
Use the following steps to modify CCC volume paths in a Kubernetes deployment.
Locate the relevant YAML file (for example, deployment.yaml, lunalogs-volume.yaml, packages-volume.yaml, or serverlogs-volume.yaml) in the Kubernetes directory.
Open the selected YAML file for editing.
Locate the hostPath section and identify the path field.
Update the path value to the required volume location.
Save the changes to the YAML file.
Restart the affected Kubernetes pods to apply the updated configuration.
Helm Charts Users
Use the following steps to modify CCC volume paths when deploying CCC using Helm charts.
Locate the values.yaml file in the Helm directory.
Open the values.yaml file for editing.
Identify the keys corresponding to CCC volume paths (for example, certificates, lunalogs, packages, or ccclogs).
Update the values associated with these keys to the required volume paths.
Save the changes to the values.yaml file.
Upgrade or redeploy the Helm release to apply the updated configuration.
Database Volume Paths
This section explains how to modify database-related volume paths for CCC deployments.
Podman Users
Use the following steps to modify database volume paths when using Podman.
Locate the pg_config.env file in the Podman directory.
Open the pg_config.env file for editing.
Locate the DB_BASE_DIR variable.
Update the value of DB_BASE_DIR to reflect the desired base directory for database volumes.
Save the changes to the pg_config.env file.
Restart the Podman containers to apply the updated configuration.
Kubernetes Users
Use the following steps to modify database volume paths in a Kubernetes deployment.
Locate the pv-pvc.yaml file in the Kubernetes directory.
Open the YAML file for editing.
Locate the path field under the hostPath section.
Update the path value to the required database volume location.
Save the changes to the YAML file.
Restart the affected Kubernetes pods to apply the updated configuration.
Helm Charts Users
Use the following steps to modify database volume paths when deploying using Helm charts.
Locate the pv-pvc.yaml file in the Helm directory.
Open the file for editing.
Identify the keys related to the database volume paths.
Update the values associated with these keys to the required database volume locations.
Save the changes to the pv-pvc.yaml file.
Upgrade or redeploy the Helm release to apply the updated configuration.