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
ESPECIALISTA
A_J
feita há 4 meses147 visualizações
2 Respostas
2
Resposta aceita
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
ESPECIALISTA
A_J
respondido há 4 meses
profile picture
ESPECIALISTA
avaliado há 3 meses
1
profile picture
respondido há 4 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas