Update doc for 1.20.0
also selected the safe subnets for pods and services according to RFC6598pull/645/head
parent
ca96371e4d
commit
86e69d582e
|
@ -127,7 +127,7 @@ Documentation=https://github.com/kubernetes/kubernetes
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/local/bin/kube-controller-manager \\
|
ExecStart=/usr/local/bin/kube-controller-manager \\
|
||||||
--bind-address=0.0.0.0 \\
|
--bind-address=0.0.0.0 \\
|
||||||
--cluster-cidr=10.200.0.0/16 \\
|
--cluster-cidr=100.64.0.0/20 \\
|
||||||
--cluster-name=kubernetes \\
|
--cluster-name=kubernetes \\
|
||||||
--cluster-signing-cert-file=/var/lib/kubernetes/ca.pem \\
|
--cluster-signing-cert-file=/var/lib/kubernetes/ca.pem \\
|
||||||
--cluster-signing-key-file=/var/lib/kubernetes/ca-key.pem \\
|
--cluster-signing-key-file=/var/lib/kubernetes/ca-key.pem \\
|
||||||
|
@ -135,7 +135,7 @@ ExecStart=/usr/local/bin/kube-controller-manager \\
|
||||||
--leader-elect=true \\
|
--leader-elect=true \\
|
||||||
--root-ca-file=/var/lib/kubernetes/ca.pem \\
|
--root-ca-file=/var/lib/kubernetes/ca.pem \\
|
||||||
--service-account-private-key-file=/var/lib/kubernetes/service-account-key.pem \\
|
--service-account-private-key-file=/var/lib/kubernetes/service-account-key.pem \\
|
||||||
--service-cluster-ip-range=10.32.0.0/24 \\
|
--service-cluster-ip-range=100.128.0.0/20 \\
|
||||||
--use-service-account-credentials=true \\
|
--use-service-account-credentials=true \\
|
||||||
--v=2
|
--v=2
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
@ -158,7 +158,7 @@ Create the `kube-scheduler.yaml` configuration file:
|
||||||
|
|
||||||
```
|
```
|
||||||
cat <<EOF | sudo tee /etc/kubernetes/config/kube-scheduler.yaml
|
cat <<EOF | sudo tee /etc/kubernetes/config/kube-scheduler.yaml
|
||||||
apiVersion: kubescheduler.config.k8s.io/v1alpha1
|
apiVersion: kubescheduler.config.k8s.io/v1beta1
|
||||||
kind: KubeSchedulerConfiguration
|
kind: KubeSchedulerConfiguration
|
||||||
clientConnection:
|
clientConnection:
|
||||||
kubeconfig: "/var/lib/kubernetes/kube-scheduler.kubeconfig"
|
kubeconfig: "/var/lib/kubernetes/kube-scheduler.kubeconfig"
|
||||||
|
|
Loading…
Reference in New Issue