Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using persistent volume (Azure File Share/ Azure Disk) on AKS Cluster, the application failed to read the Git hub data. #101

Closed
mmsajidcloud opened this issue Nov 16, 2021 · 4 comments

Comments

@mmsajidcloud
Copy link

Hello Awesome Team,

Describe the bug

When using persistent volume (Azure File Share/ Azure Disk) on AKS Cluster,
the application failed to read the Git hub data, it kept on synchronizing but never loaded any data.

However if we deploy the application on AKS, with out any external volume mount, it works fine.

To Reproduce

SetUp

  1. Create a Storage class (Azure File Share) on AKS Cluster

  2. Create a PVC (Persistent Volume Claim)

  3. Create a deployment and mount the /data/db on the above created PVC

  4. Create a load balancer service for accessing the application.

  5. Access the application using load balancer IP,

  6. Create a new project and configure with GITHUB repo using PAT tokens.

Expected behavior

The application would have loaded the GITHUB data and display the charts.

Screenshots

image

image

Cluster Information

K8s Version : 1.20.7
Cloud Provider : Azure
Persistent Volume : Azure File Share / Azure Disk

@mba484
Copy link

mba484 commented Nov 19, 2021

Any inputs on this will be appreciated

@hyrepo
Copy link
Collaborator

hyrepo commented Nov 23, 2021

Hi @mmsajidcloud and @mba484, I think this may be caused by some data writing issue. After data sync, data will be written into the database, and it will be retrieved for calculation. So If data can't be written into DB then there will be no data shown in the page.

I'm not sure what happened since we don't have AKS, but you may try to check the access control of the PVC as mentioned in here, the access issue happens sometimes.

@mba484
Copy link

mba484 commented Dec 24, 2021

Hi @hyrepo,

Thanks for coming back, we have managed to fix this by giving permission
in the persistent storage class.

image

@hyrepo
Copy link
Collaborator

hyrepo commented Dec 27, 2021

Hi @mba484 , glad to hear that, closing this issue

@hyrepo hyrepo closed this as completed Dec 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants