Hello; I think there is a problem with question 8 of mooc exam 1 I created the . . .

Abdul Rahim barry:
Hello;
I think there is a problem with question 8 of mooc exam 1

I created the file /etc/admission-controllers/admission-configuration.yaml
Then added the options in the kube-apiserver

     - --enable-admission-plugins=NodeRestriction,ImagePolicyWebhook
     - --admission-control-config-file=/etc/admission-controllers/admission-configuration.yaml

After the kube-apiserver no longer started

What I notice by just adding the ImagePolicyWebhook plugin and without adding the parameter --admission-control-config-file the kube-apiser is dead

On examining this risky question to fail all the worked performs on this cluster

Thanks for your help




unnivkn:
https://github.com/kodekloudhub/certified-kubernetes-security-specialist-cks-course/blob/main/docs/08-Mock-Exams/02-Mock-Exam-1.md

Abdul Rahim barry:
Thank you I will test

Giom:
I add the exact same issue and think I found out what was the problem.
When copy/pasting from kubernetes docs, the AdmissionConfiguration is set with defaultAllow: true , which seem to conflict with something else.

After setting it up to false , everything is working again.