Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set a Kubernetes Node's name in EKS

I'm not having any luck in changing the name of a worker node in AWS EKS. I have not been able to find any documentation regarding how the node is named by default.

Currently my nodes are named as follows, for example

NAME                                           STATUS   ROLES            AGE     VERSION
ip-10-241-111-216.us-west-2.compute.internal   Ready                     44m     v1.14.7-eks-1861c5

I've tried passing in --hostname-override through the user data but it didn't seem to have any effect.

like image 370
grbonk Avatar asked Oct 18 '25 13:10

grbonk


1 Answers

This is a known limitation in AWS EKS in-tree cloud provider. It's discussed in this GitHub issue and it's still open.

Edit:- The AWS Out-of-tree cloud provider behaviour is documented here

like image 95
Ansil Avatar answered Oct 20 '25 14:10

Ansil



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!