Update 08-bootstrapping-kubernetes-controllers.md
removed the single quotes from `--runtime-config` in kube-apiserver.service **issue** current version will create a service file with `--runtime-config='api/all=true'` inside, which will interpreted by kubernetes as `Nov 18 22:55:28 controller-1.maas kube-apiserver[15474]: I1118 22:55:28.734101 15474 flags.go:33] FLAG: --runtime-config="'api/all=true'"` which will fail with `Nov 18 22:55:28 controller-1.maas kube-apiserver[15474]: Error: unknown api groups 'api` removing single quotes will solve the issuepull/619/head
parent
ca96371e4d
commit
3474f608e4
|
@ -93,7 +93,7 @@ ExecStart=/usr/local/bin/kube-apiserver \\
|
|||
--kubelet-client-certificate=/var/lib/kubernetes/kubernetes.pem \\
|
||||
--kubelet-client-key=/var/lib/kubernetes/kubernetes-key.pem \\
|
||||
--kubelet-https=true \\
|
||||
--runtime-config='api/all=true' \\
|
||||
--runtime-config=api/all=true \\
|
||||
--service-account-key-file=/var/lib/kubernetes/service-account.pem \\
|
||||
--service-cluster-ip-range=10.32.0.0/24 \\
|
||||
--service-node-port-range=30000-32767 \\
|
||||
|
|
Loading…
Reference in New Issue