This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.7.7. Tagging a RHEL worker node as owned or shared
A cluster uses the value of the kubernetes.io/cluster/<clusterid>,Value=(owned|shared) tag to determine the lifetime of the resources related to the AWS cluster.
-
The
ownedtag value should be added if the resource should be destroyed as part of destroying the cluster. -
The
sharedtag value should be added if the resource continues to exist after the cluster has been destroyed. This tagging denotes that the cluster uses this resource, but there is a separate owner for the resource.
Procedure
-
With RHEL compute machines, the RHEL worker instance must be tagged with
kubernetes.io/cluster/<clusterid>=ownedorkubernetes.io/cluster/<cluster-id>=shared.
注意
Do not tag all existing security groups with the kubernetes.io/cluster/<name>,Value=<clusterid> tag, or the Elastic Load Balancing (ELB) will not be able to create a load balancer.