https://rancher.com/ logo
h

happy-sugar-34991

03/13/2023, 6:59 PM
Where would I find info about admission controllers in k3s? I understand these for vanilla k8s, but the k3s docs talk about “admission control plugins”. I haven’t found where these are documented yet. Could someone point me in the right direction?
h

happy-sugar-34991

03/13/2023, 7:11 PM
That would be for K8s, yes. In K8s, you activate an AdmissionController web hook in an argument to kube-apiserver. K3s, if I’m understanding right, uses a different mechanism for configuring the API server process. Where does K3s document this for admission control?
c

creamy-pencil-82913

03/13/2023, 7:30 PM
we use the same mechanism, its just embedded in the main K3s process. If you look at the k3s logs, you’ll see an entry about “running kube-apiserver” with all the apiserver flags that are being used all printed out. You can also add you own flags with the --kube-apiserver-arg option.
h

happy-sugar-34991

03/13/2023, 7:31 PM
Thanks. I’l try that out. Now I need to find the k3s logs 🙂
6 Views