Open Nuru opened 1 year ago
This issue is currently awaiting triage.
SIG Docs takes a lead on issue triage for this website, but any Kubernetes member can accept issues by applying the triage/accepted
label.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
(Updated list) Pages reported in issue:
/language en
/sig storage
After further research, based on https://github.com/kubernetes/kubernetes/pull/110559, I believe the correct documentation is:
Prior to Kubernetes 1.26, if more than one StorageClass is marked as default, a PersistentVolumeClaim without
storageClassName
explicitly specified cannot be created. In Kubernetes 1.26 and later, if more than one StorageClass is marked as default, the last one created will be used.
Please have someone with detailed knowledge confirm, and then update the documentation accordingly.
/assign
@dipesh-rawat Please amend this Issue to note the following pages are also affected:
@Affan-7 This is not a duplicate of #42176, it is a superset of it, and will not be completely fixed by #42177.
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
/remove-lifecycle rotten
@Affan-7 Please note that you are incorrect in marking this a duplicate of #42176. Although the subject matter is the same, the specific piece of documentation that needs to be revised is different, and still incorrect even after #42177 has been applied.
@Affan-7 Please note that you are incorrect in marking this a duplicate of #42176. Although the subject matter is the same, the specific piece of documentation that needs to be revised is different, and still incorrect even after #42177 has been applied.
Sure I have deleted the comment.
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
/remove-lifecycle stale
Also see https://github.com/kubernetes/website/issues/47297#issuecomment-2255754589
… https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/#defaulting-behavior
"Note that if you set the storageclass.kubernetes.io/is-default-class annotation to true on more than one StorageClass in your cluster, and you then create a PersistentVolumeClaim with no storageClassName set, Kubernetes uses the most recently created default StorageClass."
Contributors are welcome to work on this issue. See https://k8s.io/docs/contribute/docs/ for a guide on getting started, if that's helpful.
/assign
The documentation page "Change the default Storage Class" has a significant inconsistency regarding having more than one StorageClass marked as default.
"Changing the default StorageClass -> Mark a StorageClass as default" says:
The above is wrong as far as I know, and it is also contradicted by Storage Classes, which says:
See also https://github.com/kubernetes/website/issues/42413
Update
Also in need of updating:
I believe this was correct for Kubernetes 1.25 (and several earlier versions) but is wrong as of Kubernetes 1.26. See https://github.com/kubernetes/kubernetes/pull/110559
DefaultStorageClass
admission plugin):Which again I believe is wrong as of Kubernetes 1.26.
Summary of Affected pages
The following are links to the current documentation page and the v1.26 version of pages affected by the issue and therefore in need of updating. Likely all versions in between also need to be updated.
Administration Tasks
Admission Controllers
Persistent volumes