-
Notifications
You must be signed in to change notification settings - Fork 810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
topology.kubernetes.io/zone label on pv #675
Comments
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
/close |
@nirroz93: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
It doesn't work on my env, have you verified it? @nirroz93 |
Don't remember if I verified it, I probably didn't, and before marking non stale checked PRs and saw the one I mentioned (that I thought fixed the issue) |
I don't think #773 addresses this request, it instead tells CSI to honour the existing label on the node, which might have changed the value of
from Edit: From the following comment, it looks like it didn't change the |
@nirroz93 This is also not working in my environment. None of the persistent volumes that are dynamically provisioned by the CSI driver have these topology AZs in the
|
/reopen Not sure I can do this, but the request has not been fulfilled. |
@TBBle: You can't reopen an issue/PR unless you authored it or you are a collaborator. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/reopen Sorry if issues are getting closed prematurely, there are a couple issues open about this and I haven't triaged all yet, but I will pick one to track (whichever is oldest) then close the others as a duplicate. Basically to give an update, at the moment it is intended that the CSI driver uses its own custom labels. We reverted the change to use the GA labels. The Controller component (the one creating the PVs with topology label) and the Node component (the one populating Nodes with the topology label) must agree on a label. Otherwise, imagine a scenario where the controller component creates PVs with topology requirements that no Nodes can satisfy because the label keys don't match. At the moment the easiest way to guarantee this is by using a custom label The driver could switch to the standard label Ideal scenario: On Nodes:
On PVs created by older driver v1.4.0:
On PVs created by newer driver v1.x.0:
|
@wongma7: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Is your feature request related to a problem?/Why is this needed
Hi!
In the in-tree provisioner it used to add a label failure-domain.beta.kubernetes.io/zone or topology.kubernetes.io/zone label on the PV itself.
It will nice to have the label to easily see all volumes in AZ and such (instead of parsing the nodeAffinity)
Describe the solution you'd like in detail
I know the CSI adds similar label in nodeSelectorTerms but it's nice to have the standard label on the volume metadata as well (or the topology.ebs.csi.aws.com/zone label).
Is there a way to do it (some flag I'm missing?) if not, this feature will be nice.
The only workaround I see is to run a pod that will add the label post-creation. But I think it should be created by the driver (common label+no harm can be done by this)
Example
Using provisioner version 0.7.1 (helm chart 0.6.2)
Should be with the label of topology.kubernetes.io/zone
P.S
According to https://kubernetes.io/docs/reference/kubernetes-api/labels-annotations-taints/#topologykubernetesiozone the label should be on the PV in any topology-aware volume provisioners
The text was updated successfully, but these errors were encountered: