Skip to content

Commit 0048245

Browse files
committed
tweaks to verbiage
1 parent 3f29cb2 commit 0048245

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

articles/aks/faq.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,24 @@ AKS supports the following [admission controllers][admission-controllers]:
9393

9494
Currently, you can't modify the list of admission controllers in AKS.
9595

96-
## Do Kubernetes admission controllers impact kube-system?
96+
## Can I use admission controller webhooks on AKS?
9797

98-
No, to help prevent issues, by default admission controllers use a namespace selector to ignore any actions from the MutatingAdmissionWebhook and ValidatingAdmissionWebhook to the kube-system namesapce. You can override this behavior by adding a label of "admissions.enforcer/disabled": "true" or an annotation of "admissions.enforcer/disabled": true.
98+
Yes, you may use admission controller webhooks on AKS. It is recommended you exclude internal AKS namespaces which are marked with the **control-plane label.** For example, by adding the below to the webhook configuration:
99+
100+
```
101+
namespaceSelector:
102+
matchExpressions:
103+
- key: control-plane
104+
operator: DoesNotExist
105+
```
106+
107+
## Can admission controller webhooks impact kube-system and internal AKS namespaces?
108+
109+
To protect the stability of the system and prevent custom admission controllers from impacting internal services in the kube-system, namespace AKS has an **Admissions Enforcer**, which automatically excludes kube-system and AKS internal namespaces. This service ensures the custom admission controllers don't affect the services running in kube-system.
110+
111+
If you have a critical use case for having something deployed on kube-system (not recommended) which you require to be covered by your custom admission webhook, you may add the below label or annotation so that Admissions Enforcer ignores it.
112+
113+
Label: ```"admissions.enforcer/disabled": "true"``` or Annotation: ```"admissions.enforcer/disabled": true```
99114

100115
## Is Azure Key Vault integrated with AKS?
101116

0 commit comments

Comments
 (0)