节点名字

This commit is contained in:
huanqing.shao
2019-08-20 22:21:51 +08:00
parent 94bee4c324
commit aaf0bdafbb

View File

@ -51,12 +51,14 @@
::: :::
## 检查 centos 版本 ## 检查 centos / hostname
``` sh ``` sh
# 在 master 节点和 worker 节点都要执行 # 在 master 节点和 worker 节点都要执行
cat /etc/redhat-release cat /etc/redhat-release
# 此处 hostname 的输出将会是该机器在 Kubernetes 集群中的节点名字
hostname
``` ```
**操作系统兼容性** **操作系统兼容性**