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 issue
pull/619/head
Nightreaver 2020-11-19 07:09:47 +09:00 committed by GitHub
parent ca96371e4d
commit 3474f608e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 \\