dosubot[bot] commented on issue #7808:
URL: 
https://github.com/apache/incubator-devlake/issues/7808#issuecomment-2261561546

   <!-- Answer -->
   To check the PVC (Persistent Volume Claim) configuration in Helm for your 
MySQL database in DevLake, you need to look at the `mysql.storage` parameters 
in the Helm chart's `values.yaml` file or the equivalent settings you have 
applied during the Helm installation. Here are the relevant parameters:
   
   ```yaml
   | Parameter                  | Description                          | 
Default             |
   
|----------------------------|--------------------------------------|---------------------|
   | mysql.storage.type         | storage type, pvc or hostpath        | pvc    
             |
   | mysql.storage.class        | storage class for mysql's volume     | ""     
             |
   | mysql.storage.size         | volume size for mysql's data         | 5Gi    
             |
   | mysql.storage.hostPath     | the host path if mysql.storage.type is 
hostpath | /devlake/mysql/data |
   ```
   
   To ensure the PVC is correctly set up, you should verify the following:
   
   1. **Storage Type**: Ensure `mysql.storage.type` is set to `pvc`.
   2. **Storage Class**: If you have a specific storage class, set 
`mysql.storage.class` accordingly.
   3. **Storage Size**: Ensure `mysql.storage.size` is set to the desired 
volume size (e.g., `5Gi`).
   
   Here is an example of how you might set these values in your Helm command:
   
   ```shell
   helm install devlake devlake/devlake \
     --set mysql.storage.type=pvc \
     --set mysql.storage.class=standard \
     --set mysql.storage.size=10Gi \
     --set lake.encryptionSecret.secret=$ENCRYPTION_SECRET
   ```
   
   This configuration ensures that the MySQL database uses a PVC with a storage 
class of `standard` and a size of `10Gi`.
   
   For more detailed instructions on installing DevLake via Helm, you can refer 
to the [Apache DevLake Helm Setup 
documentation](https://apache.github.io/incubator-devlake-helm-chart/docs/GettingStarted/HelmSetup)
 or the [official 
documentation](https://github.com/apache/incubator-devlake-helm-chart) 
<sup>[[1]](https://github.com/apache/incubator-devlake-website/blob/main/docs/GettingStarted/HelmSetup.md)</sup><sup>[[2]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v0.18/GettingStarted/HelmSetup.md)</sup><sup>[[3]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v0.19/GettingStarted/HelmSetup.md)</sup><sup>[[4]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v0.21/GettingStarted/HelmSetup.md)</sup><sup>[[5]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v0.20/GettingStarted/HelmSetup.md)</sup>.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@devlake.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to