Kops: Add spot label

Created on 17 Jun 2020  路  9Comments  路  Source: kubernetes/kops

1. Describe IN DETAIL the feature/behavior/change you would like to see.
I would like to be able to monitor the number of spot instances running inside the cluster without using the AWS SDK.

The way I expect to do it is by using kube-state-metrics which exposes the nodes labels.
Today I have no label indicating the node is a spot, while the information exists in AWS under node description lifecycle

2. Feel free to provide a design supporting your feature request.

lifecyclrotten

Most helpful comment

That feature was backed out of 1.17. It is in 1.18.

All 9 comments

Kops 1.17 automatically labels spot instances with node-role.kubernetes.io/spot-worker=true, are you using Kops 1.17?

@rifelpet Yes.

That feature was backed out of 1.17. It is in 1.18.

Should we add it back in? I think we rushed a bit with that revert.

The feature will go out with 1.18. I'm not so sure about backporting.

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

This one has been implemented, so we can close this now
/close

@olemarkus: Closing this issue.

In response to this:

This one has been implemented, so we can close this now
/close

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

justinsb picture justinsb  路  4Comments

chrislovecnm picture chrislovecnm  路  3Comments

pluttrell picture pluttrell  路  4Comments

DocValerian picture DocValerian  路  4Comments

drewfisher314 picture drewfisher314  路  4Comments