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
전문가
질문됨 3달 전125회 조회
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
전문가
답변함 3달 전
profile picture
전문가
검토됨 2달 전
1
profile picture
답변함 3달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠