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
專家
A_J
已提問 4 個月前檢視次數 146 次
2 個答案
2
已接受的答案
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
專家
A_J
已回答 4 個月前
profile picture
專家
已審閱 3 個月前
1
profile picture
已回答 4 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南