From 3474f608e49f5f19a98d09f37d9424a89618833c Mon Sep 17 00:00:00 2001 From: Nightreaver Date: Thu, 19 Nov 2020 07:09:47 +0900 Subject: [PATCH] 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 --- docs/08-bootstrapping-kubernetes-controllers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/08-bootstrapping-kubernetes-controllers.md b/docs/08-bootstrapping-kubernetes-controllers.md index e64e8a2..964f107 100644 --- a/docs/08-bootstrapping-kubernetes-controllers.md +++ b/docs/08-bootstrapping-kubernetes-controllers.md @@ -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 \\