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 which will cause the apiserver so fail
removed the single quotes from
--runtime-config
in kube-apiserver.serviceIssue
current version will create a service file with
--runtime-config='api/all=true'
inside, which will interpreted by kubernetes asNov 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
which will cause the apiserver so failremoving the single quotes will solve this issue