AKS diskEncryptionSetID disk encryption error 'pod has unbound immediate PersistentVolumeClaims'

Porsche Me 136 Reputation points
2021-02-20T18:59:37.577+00:00

kubernetesVersion: 1.19.7
agentPoolProfiles.vmSize: Standard_D3_v2
K8S Charts: https://github.com/sunkararp/IgniteChart

We followed Link to setup diskEncryptionSetID.

Pods are not getting deployed; stuck with error 'pod has unbound immediate PersistentVolumeClaims'

k describe pod cohortstore-0 -n ayushman  
Name:           cohortstore-0  
Namespace:      ayushman  
Priority:       0  
Node:           <none>  
Labels:         app=cohortstore  
                controller-revision-hash=cohortstore-6ccbc89bc6  
                statefulset.kubernetes.io/pod-name=cohortstore-0  
Annotations:    <none>  
Status:         Pending  
IP:  
IPs:            <none>  
Controlled By:  StatefulSet/cohortstore  
Containers:  
  ignite:  
    Image:       apacheignite/ignite:2.9.1  
    Ports:       11211/TCP, 47100/TCP, 47500/TCP, 49112/TCP, 10800/TCP, 8080/TCP, 10900/TCP  
    Host Ports:  0/TCP, 0/TCP, 0/TCP, 0/TCP, 0/TCP, 0/TCP, 0/TCP  
    Environment:  
      IGNITE_QUIET:  false  
      JVM_OPTS:      -Djava.net.preferIPv4Stack=true  
      OPTION_LIBS:   ignite-kubernetes,ignite-rest-http  
    Mounts:  
      /opt/ignite/apache-ignite/config from config-volume (rw)  
      /persistence from ignite-persistence (rw)  
      /var/run/secrets/kubernetes.io/serviceaccount from cohortstore-com-token-hk6kn (ro)  
      /wal from ignite-wal (rw)  
Conditions:  
  Type           Status  
  PodScheduled   False  
Volumes:  
  ignite-persistence:  
    Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)  
    ClaimName:  ignite-persistence-cohortstore-0  
    ReadOnly:   false  
  ignite-wal:  
    Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)  
    ClaimName:  ignite-wal-cohortstore-0  
    ReadOnly:   false  
  config-volume:  
    Type:      ConfigMap (a volume populated by a ConfigMap)  
    Name:      cohortstore-configmap  
    Optional:  false  
  cohortstore-com-token-hk6kn:  
    Type:        Secret (a volume populated by a Secret)  
    SecretName:  cohortstore.com-token-hk6kn  
    Optional:    false  
QoS Class:       BestEffort  
Node-Selectors:  <none>  
Tolerations:     node.kubernetes.io/not-ready:NoExecute op=Exists for 300s  
                 node.kubernetes.io/unreachable:NoExecute op=Exists for 300s  
Events:  
  Type     Reason            Age                From               Message  
  ----     ------            ----               ----               -------  
  Warning  FailedScheduling  3s (x12 over 12m)  default-scheduler  0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims.  
Azure Disk Encryption
Azure Disk Encryption
An Azure service for virtual machines (VMs) that helps address organizational security and compliance requirements by encrypting the VM boot and data disks with keys and policies that are controlled in Azure Key Vault.
174 questions
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 Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
642 questions
{count} votes

1 answer

Sort by: Most helpful
  1. prmanhas-MSFT 17,906 Reputation points Microsoft Employee
    2021-02-24T08:17:34.607+00:00

    @Porsche Me Apologies for the delay in response and all the inconvenience caused because of the issue.

    You can refer to below similar threads which might be beneficial in your use case:

    https://github.com/Azure/AKS/issues/1169

    https://github.com/MicrosoftDocs/azure-docs/issues/37789

    https://stackoverflow.com/questions/62215795/pod-has-unbound-immediate-persistentvolumeclaims-repeated-3-times

    Hope it helps!!!

    Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.

    1 person found this answer helpful.

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.