Having issues with nifi-cronjob pod hosted in AKS

Reddy  Chakri 0 Reputation points
2024-09-04T17:27:36.9266667+00:00

I have deployed Nifi-cronjob in AKS and having issues. Need guidance to fix it

Events:

Type Reason Age From Message


Warning FailedAttachVolume 3m19s (x19 over 61m) attachdetach-controller AttachVolume.Attach failed for volume "iic-blob-pv" : timed out waiting fo

r external-attacher of blob.csi.azure.com CSI driver to attach volume iicdevnifiblobst_epresentment

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,141 questions
Azure Kubernetes Service Edge Essentials
Azure Kubernetes Service Edge Essentials
An on-premises implementation of Azure Kubernetes Service that automates running containerized apps at scale on lightweight PC-class devices.
5 questions
{count} votes

2 answers

Sort by: Most helpful
  1. akinbade abiola 18,130 Reputation points
    2024-09-04T21:14:11.7533333+00:00

    Hello Reddy  Chakri,

    Thanks for your question.

    This seems related to a volume attachment failure with the CSI driver. Try the solution here.

    See: https://video2.skills-academy.com/en-us/troubleshoot/azure/azure-kubernetes/storage/fail-to-mount-azure-disk-volume#cause-disk-and-node-hosting-pod-are-in-different-zones

    You can mark it 'Accept Answer' and 'Upvote' if this helped you

    Regards,

    Abiola

    0 comments No comments

  2. Mounika Reddy Anumandla 590 Reputation points Microsoft Vendor
    2024-09-05T03:42:34.7866667+00:00

    Hi Reddy  Chakri,

    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

    As akinbade abiola suggested, the issue might be related to the disk and node hosting the pod being in different zones. Have you checked the zone configuration for your AKS cluster and Azure storage account?

    Additionally, you can follow the below troubleshooting steps:
    1.Check if the Azure Blob CSI driver is installed in your AKS cluster by running the following command:
    kubectl get deployments -n kube-system | grep azure-blob-csi
    2.Verify that the CSI driver is running by checking the pod status:
    kubectl get pods -n kube-system | grep azure-blob-csi
    This command should return a pod named azure-blob-csi-controller-xxxxx or similar, with a status of Running.
    3.Check the CSI driver logs for any error messages using the command kubectl logs -f -n kube-system azure-blob-csi-controller-xxxxx.
    4.Verify that the Azure storage account and container are correctly configured and accessible from the AKS cluster.

    For more information on CSI : https://video2.skills-academy.com/en-us/azure/aks/csi-storage-drivers
    https://video2.skills-academy.com/en-us/azure/aks/azure-blob-csi?tabs=NFS

    If you have any further queries, do let us know.

    If the answer is helpful, please click "Accept Answer" and "Upvote it."

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.