Add note on upgrading cluster by kubeadm.

pull/8/head
xiangpengzhao 2018-03-29 15:22:06 +08:00
parent 30a8f7d1bd
commit 43b0f5855d
1 changed files with 33 additions and 0 deletions

View File

@ -230,6 +230,39 @@ kind: KubeProxyConfiguration
** SupportIPVSProxyMode: true**
```
If your cluster was installed by kubeadm, you should edit the `featureGates` field in the `kubeadm-config` ConfigMap. You can do this using `kubectl -n kube-system edit cm kubeadm-config` before upgrading. For example:
kubeadm-config Before:
```
apiVersion: v1
kind: ConfigMap
metadata:
name: kubeadm-config
data:
MasterConfiguration: |
kubeProxy:
config:
featureGates: "SupportIPVSProxyMode=true"
```
kubeadm-config After:
```
apiVersion: v1
kind: ConfigMap
metadata:
name: kubeadm-config
data:
MasterConfiguration: |
kubeProxy:
config:
featureGates:
SupportIPVSProxyMode: true
```
If no featureGates was specified in `kubeadm-config`, just change `featureGates: ""` to `featureGates: {}`.
([#57962](https://github.com/kubernetes/kubernetes/pull/57962), [@xiangpengzhao](https://github.com/xiangpengzhao))
* The `kubeletconfig` API group has graduated from alpha to beta, and the name has changed to `kubelet.config.k8s.io`. Please use `kubelet.config.k8s.io/v1beta1`, as `kubeletconfig/v1alpha1` is no longer available. ([#53833](https://github.com/kubernetes/kubernetes/pull/53833), [@mtaufen](https://github.com/mtaufen))