mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-08-10 16:37:34 +00:00
Fix VirtioFS note, cri-socket, componentstatuses, ES version and typo
This commit is contained in:
@@ -242,7 +242,8 @@ kubeadm join 192.168.199.100:6443 --token cz81zt.orsy9gm9v649e5lf \
|
||||
|
||||
```bash
|
||||
$ kubeadm join 192.168.199.100:6443 --token cz81zt.orsy9gm9v649e5lf \
|
||||
--discovery-token-ca-cert-hash sha256:5edb316fd0d8ea2792cba15cdf1c899a366f147aa03cba52d4e5c5884ad836fe
|
||||
--discovery-token-ca-cert-hash sha256:5edb316fd0d8ea2792cba15cdf1c899a366f147aa03cba52d4e5c5884ad836fe \
|
||||
--cri-socket unix:///var/run/cri-dockerd.sock
|
||||
```
|
||||
|
||||
### 14.2.7 查看服务
|
||||
|
||||
@@ -240,8 +240,10 @@ $ kubectl config set-context --current --namespace=my-namespace
|
||||
# 显示集群信息
|
||||
$ kubectl cluster-info
|
||||
|
||||
# 显示完整的集群状态(包括所有组件)
|
||||
# 显示完整的集群状态(注:componentstatuses 自 1.19 起已弃用,建议使用下方替代命令)
|
||||
$ kubectl get componentstatuses
|
||||
# 推荐替代:
|
||||
$ kubectl get --raw='/readyz?verbose'
|
||||
```
|
||||
|
||||
### 14.8.15 version
|
||||
|
||||
Reference in New Issue
Block a user