mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-12-18 18:58:56 +03:00
update the node name
This commit is contained in:
@@ -50,7 +50,7 @@ INTERNAL_IP=$(curl -s -H "Metadata-Flavor: Google" \
|
||||
http://metadata.google.internal/computeMetadata/v1/instance/network-interfaces/0/ip)
|
||||
```
|
||||
|
||||
Each etcd member must have a unique name within an etcd cluster. Set the etcd name to match the hostname of the current compute instance:
|
||||
Each etcd member must have a unique name within an etcd cluster. Set the etcd name to match the hostname of the current controller instance:
|
||||
|
||||
```
|
||||
ETCD_NAME=$(hostname -s)
|
||||
|
||||
Reference in New Issue
Block a user