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

Make labels for the remote resources equal local ones #381

Open
qurname2 opened this issue Oct 31, 2024 · 0 comments
Open

Make labels for the remote resources equal local ones #381

qurname2 opened this issue Oct 31, 2024 · 0 comments
Assignees

Comments

@qurname2
Copy link
Collaborator

Right now when one creates remoteData/Tablet/Exec nodes, the new statefulset has incorrect map of labels, specifically
ytsaurus.tech/cluster-name and app.kubernetes.io/part-of.
Examples:
local dataNode:

labels:
    app.kubernetes.io/component: yt-data-node-dn-rack1
    app.kubernetes.io/managed-by: ytsaurus-k8s-operator
    app.kubernetes.io/name: yt-data-node
    app.kubernetes.io/part-of: yt-clusterA
    yt_component: clusterA-yt-data-node-dn-rack1
    ytsaurus.tech/cluster-name: clusterA

remoteDataNode in the same cluster:

labels:
    app.kubernetes.io/component: yt-data-node-r-rack2
    app.kubernetes.io/managed-by: ytsaurus-k8s-operator
    app.kubernetes.io/name: yt-data-node
    app.kubernetes.io/part-of: yt-remote-data-node-clusterA-rack2
    yt_component: remote-data-node-clusterA-rack2-yt-data-node-r-rack2
    ytsaurus.tech/cluster-name: remote-data-node-clusterA-rack2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant