Skip to content
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

location-labels does not support Backslash symbols #1588

Closed
xiaojingchen opened this issue Jun 20, 2019 · 3 comments · Fixed by #1595
Closed

location-labels does not support Backslash symbols #1588

xiaojingchen opened this issue Jun 20, 2019 · 3 comments · Fixed by #1595
Assignees
Labels
component/schedule Scheduling logic. type/enhancement The issue belongs to an enhancement.

Comments

@xiaojingchen
Copy link

xiaojingchen commented Jun 20, 2019

  1. What did you do?
    When I deploy TiDB cluster by TiDB operator on K8s, I want to use the labels which have been set in K8s node, but current PD does not support label which contains \.
    e.g:failure-domain.beta.kubernetes.io/region

  2. What did you expect to see?
    PD supports the label which matches K8s's label style.
    ref: https://kubernetes.io/docs/reference/kubernetes-api/labels-annotations-taints/

@xiaojingchen xiaojingchen changed the title location-labels does not support Backslash symbols location-labels does not support Backslash symbols Jun 20, 2019
@shafreeck shafreeck self-assigned this Jun 21, 2019
@shafreeck
Copy link
Contributor

Thanks for your feedback, I will check about this.

@nolouch nolouch added component/schedule Scheduling logic. type/enhancement The issue belongs to an enhancement. labels Jun 21, 2019
@shafreeck
Copy link
Contributor

related: #1154

shafreeck added a commit to shafreeck/pd that referenced this issue Jun 24, 2019
Signed-off-by: Shafreeck Sea <shafreeck@gmail.com>

Closes tikv#1588
@shafreeck
Copy link
Contributor

sre-bot pushed a commit to sre-bot/pd that referenced this issue Jan 7, 2020
Signed-off-by: Shafreeck Sea <shafreeck@gmail.com>

Closes tikv#1588
sre-bot pushed a commit to sre-bot/pd that referenced this issue Jan 7, 2020
Signed-off-by: Shafreeck Sea <shafreeck@gmail.com>

Closes tikv#1588
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/schedule Scheduling logic. type/enhancement The issue belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants