doc(readme): add instructions for cluster scaling and anonymous auth enabling
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
b450a86083
commit
3e8e02bf15
@ -48,4 +48,12 @@ Using `sysctl -p` to make kernel params effect.
|
||||
|
||||
## How to use ?
|
||||
|
||||
TODO
|
||||
### Cluster Scaling
|
||||
|
||||
If you want to scale nodes in cluster, you can execute script `upgrade-cluster.sh` after environment initialized.
|
||||
|
||||
#### Tips - ANONYMOUS AUTH ENABLING BEFORE SCALE
|
||||
|
||||
`kubeadm` using bootstrap token to join newly added nodes into cluster, which means we need **enable anonymous authentication** for `kube-apiserver` temporally.
|
||||
|
||||
You need edit `/etc/kubernetes/manifests/kube-apiserver.yaml` on master-01 node and set `--anonymous-auth=true` and you must recovery it to `false` when cluster has been scaled.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user