Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Commit 0530b2d

Browse files
pidahjackfrancis
authored andcommitted
update ApiServerConfig customization/override example (#2201)
1 parent 008a76d commit 0530b2d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/clusterdefinition.md

+13
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,19 @@ Below is a list of cloud-controller-manager options that are *not* currently use
284284
}
285285
}
286286
```
287+
Or perhaps you want to customize/override the set of admission-control flags passed to the API Server by default, you can omit the options you don't want and specify only the ones you need as follows:
288+
289+
```
290+
"orchestratorProfile": {
291+
"orchestratorType": "Kubernetes",
292+
"orchestratorRelease": "1.8",
293+
"kubernetesConfig": {
294+
"apiServerConfig": {
295+
"--admission-control": "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,ResourceQuota,AlwaysPullImages"
296+
}
297+
}
298+
}
299+
```
287300

288301
See [here](https://kubernetes.io/docs/reference/generated/kube-apiserver/) for a reference of supported apiserver options.
289302

0 commit comments

Comments
 (0)