Open BJWRD opened 1 year ago
Same exact issue with me running Kubernetes 1.27 and latest vault-helm version.
Update: This is not an issue connected to the Vault Helm Chart.
An ebs csi controller
is required to be installed upon the cluster prior to the Vault deployment. This resolves the scheduling issues.
can you please share detailed steps to fix this issue..
i am using k8s version 1.28 and trying to install vault using helm chart..
NAME READY STATUS RESTARTS AGE vault-prod-0 0/1 Pending 0 25m vault-prod-1 0/1 Pending 0 25m vault-prod-2 0/1 Pending 0 25m vault-prod-3 0/1 Pending 0 25m vault-prod-4 0/1 Pending 0 25m vault-prod-agent-injector-c7b4d46b8-hc8xl 1/1 Running 0 25m
kube@k8s-master1:/opt/vault/vault-production$ kubectl describe pvc data-vault-prod-0 -n vault
Name: data-vault-prod-0
Namespace: vault
StorageClass:
Status: Pending
Volume:
Labels: app.kubernetes.io/instance=vault-prod
app.kubernetes.io/name=vault
component=server
Annotations:
Normal FailedBinding 14m (x62 over 30m) persistentvolume-controller no persistent volumes available for this claim and no storage class is set Normal FailedBinding 3m57s (x26 over 10m) persistentvolume-controller no persistent volumes available for this claim and no storage class is set kube@k8s-master1:/opt/vault/vault-production$
This error also occurs on microk8s. It works on minikube, though.
Is there any solution to this?
I had the exact same issue. so for all you other guys asking for detailed steps...
you need to:
storageclass.kubernetes.io/is-default-class=true
(or create a new 1 with the annotation if you need a different onethen you can install vault or any other app that requires persistent volumes (the above is for using EBS, but is true for EFS or other data storages as well)
I have had the same issue, but in my case I had override-values.yaml and the storageClass
of pvc was different from my pv setup on NFS. After correcting the storageClass
everything went just fine
Describe the bug Upon Helm deployment using the values referenced below, there doesn't appear to be a PV being deployed alongside the PVC (not bound). This is resulting in the Vault pod being stuck in a pending state.
To Reproduce Any deployment including the following Helm values -
Other useful info:
Pod -
vault-0
PVC -
data-vault-0
PV
Expected behavior Vault PV being provisioned during the Helm deployment. Resulting in the Vault pod
vault-0
not being stuck inpending
status and being accessible.Environment EKS - 1.25
vault-helm version: version: "0.25.0"
Chart values: