Closed raushan2016 closed 4 years ago
kubectl describe pvc
Name: etcd-data-dir-etcd-0
Namespace: default
StorageClass: standard
Status: Pending
Volume:
Labels: app=etcd
Annotations: volume.beta.kubernetes.io/storage-class: standard
Finalizers: [kubernetes.io/pvc-protection]
Capacity:
Access Modes:
VolumeMode: Filesystem
Events:
Type Reason Age From Message
Warning ProvisioningFailed 6m34s (x52 over 106m) persistentvolume-controller storageclass.storage.k8s.io "standard" not found Mounted By: etcd-0
I am using Azure Kubernetes Cluster here.
kubectl get storageclasses --all-namespaces
NAME PROVISIONER AGE default (default) kubernetes.io/azure-disk 25h managed-premium kubernetes.io/azure-disk 25h
Finally got it working by adding storageClassName: "managed-premium"
instead of having annotation Annotations: volume.beta.kubernetes.io/storage-class: standard
in the volumeClaimTemplates:
for the etcd deployment.
We need some kind of documentation around this.
i think this issue is platform-specific. the "managed-premium"
storage-class is provided/injected by Azure as vendor settings. it's probably out of scope of this project, server-sdk/code-generator for developing your aggregated apiservers..
Agreed. But if we document this somewhere, it would be helpful for people who are trying out on different platform. Just like other project like knative..
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle rotten
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen
.
Mark the issue as fresh with /remove-lifecycle rotten
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /close
@fejta-bot: Closing this issue.
etcd container is failing with the error
pod has unbound immediate PersistentVolumeClaims (repeated 3 times)
Using the latest version
v1.12.alpha.4
Here is the part of the generated yaml file :-