How to Resolve Malfunction of EKS Cluster Turn-Off/On Tag

0

Issue :- I tried to turn off a preprod environment eks cluster from turnoff="false" turnoff="true" but after saving the changes, it continues to display as 'false.' To validate the AWS Support Team replicated this in their test environment and they confirmed the issue.

To validate this behavior, I replicated the setup in my test environment-

  1. Selected Tags>Add new tag key: turnoff value: true

Saved the changes

  1. Select Manage tags in console edited the value field key: turnoff value: false

After saving changes, I noticed that the value is not updated and it still shows 'true' like you observed in your cluster.

profile picture
EXPERT
asked 3 months ago107 views
2 Answers
2
Accepted Answer
Resolution :- 

In order to edit/update the tags, I used the Tag editor- https://us-east-1.console.aws.amazon.com/resource-groups/tag-editor/find-resources?region=us-east-1

I performed the following steps to apply the changes to the tags after opening the Tag Editor-

  1. select the region of the cluster
  2. select AWS::EKS::Cluster
  3. select "Search resources"
  4. select the checkbox of the required cluster in "Resource search results" section
  5. select "Manage tags of selected resources"
  6. In the "Edit tags of all selected resources" section, make the required changes and select "Review and apply tag changes"

After a couple of minutes, go back to the EKS console, select the refresh button and I saw that the "turnoff" tag was set to false or true based on if you want to turn on/off the cluster.. Let me know if you are able to make the changes using the above steps.

The current functionality of Manage Tags on AWS EKS console includes only Adding and Removing tags. Rest assured, I provided the feedback to the internal team about the edit/update functionality feature for Tags on EKS console and they are looking into it.

For now, I recommend you to use the Tag Editor service in the AWS Management Console to edit/update the tags, which provides a unified way to manage your tags-[2]

References

[1]https://us-east-1.console.aws.amazon.com/resource-groups/tag-editor/find-resources?region=us-east-1

[2]https://docs.aws.amazon.com/tag-editor/latest/userguide/tag-editor.html


The purpose of this on/off  is to save cost for example on weekend when no one using your preprod environment eks clusters.

##Do not do this in production Environment #####
profile picture
EXPERT
answered 3 months ago
profile picture
EXPERT
reviewed 2 months ago
1
profile picture
answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions