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

[ROOT VOLUME] Missing labels on root volumes on Nodes #16908

Open
dannyeuu opened this issue Oct 18, 2024 · 3 comments
Open

[ROOT VOLUME] Missing labels on root volumes on Nodes #16908

dannyeuu opened this issue Oct 18, 2024 · 3 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@dannyeuu
Copy link
Contributor

/kind feature

1. Describe IN DETAIL the feature/behavior/change you would like to see.
On our FINOPS reports, the EBS of root volumes on all nodes is missing labels. The EBS of CSIs has labels right, but the root does not. We use kOps on AWS with SpotInst.

2. Feel free to provide a design supporting your feature request.
Apply the same nodelabels to root volume, and add a feature like rootvolumelabels on instance groups to add others labels

@k8s-ci-robot k8s-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Oct 18, 2024
@hakman
Copy link
Member

hakman commented Nov 4, 2024

FYI @yehielnetapp

@vitaliyf
Copy link
Contributor

If I understand you correctly, cloudLabels will do what you are missing:

apiVersion: kops.k8s.io/v1alpha2
kind: InstanceGroup
metadata:
  labels:
    kops.k8s.io/cluster: k8s.our.cluster.name
  name: control-plane-aws-region-1
spec:
  cloudLabels:
    Environment: production
    Role: k8s
    Something: else
  role: Master
  other: values-here

This will add Environment/Role/Something tags to the instance and its volumes for this instancegroup, including even etcd's EBS volumes.

@dannyeuu
Copy link
Contributor Author

Hi @vitaliyf I have the cloud labels ,everything has the correct labels, Except the ROOT-EBS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

4 participants